Changes

Jump to navigation Jump to search

Pensapedia:Shortcut

4,367 bytes added, 02:38, 7 March 2007
no edit summary
{{shortcut|[[SHC]]<br />[[SHORT]]}}

'''Shortcuts''' in Pensapedia are a specialized type of [[Help:Redirect|redirection]] page that can be used to get to a Pensapedia reference page more quickly. Lists of available Pensapedia shortcuts can be found at [[LOSC]] (itself a shortcut for [[Pensapedia:List of shortcuts]]). This is a feature borrowed from Wikipedia that will likely not see widespread implementation until Pensapedia has grown much larger.

== Procedures ==
*Shortcut class redirects should be tagged with {{Lts|R from shortcut}} so they will auto-categorize in [[:Category:Redirects from shortcut]].{{i}}The template should be added on the same line as the <b> <nowiki>#redirect [[Pagename]]</nowiki></b> as with all the ''{{tlx|R from ...}} templates.

<br>
<u>Example</u>:<big> '''<nowiki>#redirect [[Pagename]] {{R from shortcut}}</nowiki>'''.</big>

==How to use pensapedia shortcuts==
A shortcut can be entered into the search box to quickly bring you to a reference page. <br>
For example, you can type "R" into the search box and click the "Go" button to get to the "Redirect" reference page, instead of having to type "Help:Redirect".

Alternatively, you can use the shortcut in the URL (web address). For example, you are currently viewing the Pensapedia:Shortcut. The URL for the English-language page is:
:{{fullurl:pensapedia:Shortcut}}
You could get from here to the [[Help:Redirect]] project reference page by replacing "pensapedia:Shortcut" with "R" in the URL (web address) field (followed by "Enter").

Shortcuts are presented in all capital letters ("All-Caps"), but the search box is case-insensitive.
For example, in the search box, you can type "r" instead of "R".

However, using the URL method typically requires that you match the capitalization of the shortcut itself.

==Adding shortcut link boxes==
A shortcut link box can be added to a page by placing {{Tlx|Shortcut|[&#91;WP:&lt;x&gt;&#93;]}}
at the top of the text while editing. A note from the "[[Template:Shortcut|shortcut template]]" page:

:''Please '''do not use''' this template on other templates, e.g. to state that the shortcut to [[Template:Foo]] is in fact <nowiki>{{Foo}}</nowiki>. There's no need to state the obvious like that, '''each''' template uses its own name as a shortcut, by default.''

[[Pensapedia:Guideline|Guideline]]s with shortcuts pointing to them typically use {{Tlx|guideline|[&#91;WP:&lt;x&gt;&#93;]}} instead of {{Tlx|Shortcut}}, for an example see above.
Another example is {{Tlx|Style-guideline|[&#91;WP:&lt;x&gt;&#93;]}}, see also [[:Category:Pensapedia header templates|Pensapedia header templates]].

== How to create a shortcut ==
For an existing page like [[Pensapedia:Template Standardisation]] create the desired '''new''' [[TS]] page with a
single line: ''(example, this shortcut already exists)''

<tt><nowiki>#REDIRECT[[Pensapedia:Template Standardisation]] {{R from shortcut}}</nowiki></tt>

Many shortcuts are acronyms while others are abbreviations, but technically they are [[Help:Redirect|redirections]].

== Changing shortcuts ==
Technically that's easy, click on the shortcut wherever it is, on the page it leads to (a shortcut is a redirect) click on the "redirected from" link (forcing <tt>&amp;redirect=no</tt>), edit the target <tt>#REDIRECT [&#91;Pensapedia:Whatever&#93;]</tt>, then add {{Tlx|R from shortcut}} if that expression doesn't already appear.
But there are some potential traps and pitfalls:
#If the shortcut is already listed on [[PP]] or a similar list like [[WT]] please update that entry showing the new target page.
#If the old target page mentions its shortcut, then that also should be updated, typically in {{Tlx|Shortcut}} or similar [[:Category:Pensapedia header templates|Pensapedia header templates]].
#Above all check the shortcut backlinks with "what links here"; changing a shortcut used elsewhere can be highly disruptive.
#If it has no backlink folks might still use it directly with search forms, if you're not 100% sure that the old target is unused; so ask about it on the shortcut's talk page.
#For controversial cases there is a "redirects for deletion" procedure [[RFD]].

==List of shortcuts==
An incomplete list of shortcuts can be found at [[Pensapedia:List of shortcuts]], and as expected this page has itself various shortcuts like [[LOSC]], [[CUTS]], or just [[PP]].

Navigation menu