Changes - Warhammer 40k - Lexicanum

Changes

From Warhammer 40k - Lexicanum
Jump to: navigation, search

Warhammer 40k - Lexicanum:Redirect

2,215 bytes added, 17:34, 15 April 2020
m
no edit summary
A '''Redirect''' is a tool that when included on a wiki page automatically sends the reader to another page (or a section thereof).
 
''Example:''<br>
If you type in "PDF" in the search box or in an article click on the link [[PDF]] you will automatically be sent to the page [[Planetary Defence Forces]].
 
If you have been sent to another page via a ''Redirect'' this is displayed under the page name of the page you were sent to (see screenshot: ''"Redirected from..."'').
 
[[File:Redirect notice.jpg|thumb|300px|centre|Redirect notice]]
 
==When to use Redirects==
 
 
Redirects are useful when you have multiple names for the same article. This is especially obvious when the name has more than one word in it.
==When would a redirect be good?==
The way in which the MediaWiki software works is that all variations in a name can lead to a new article. A number of examples follow:
*Articles should always try and have the correct capitalisation and follow the spellings as produced by Games Workshop
==PracticeHow to use Redirects==So, when To include a ''Redirect'' on a page you have your article, to include the code '''<nowiki>#redirect[[Target pagename]]</nowiki>''' on the chosen page. For example:<br>If you may find that there are other ways want to redirect to the page entitled ''"Planetary Defense Forces":''<br> '''Code:'''<pre>#redirect[[Planetary Defence Forces]]</pre> <br>You can also ''redirect'' to a specific section of a page instead of writing to the same thing, page as we saw abovesuch. To overcome this, create For example if you want to redirect from a page to a new article in section of another page (which must exist of course!) you have to include the code '''<nowiki>#redirect[[Target pagename#Section name ]]</nowiki>''' on the chosen page. For example:<br>If you want to redirect to the section entitled ''"System_Defence_Forces"'' which you wish is a section on the page [[Planetary Defense Forces]]:<br> '''Code:'''<pre>#redirect[[Planetary Defence Forces#System Defence Forces]]</pre> ==Double Redirects==A ''Double Redirect'' is a ''Redirect'' sending the reader to yet another ''Redirect''. Such constructions should be avoided at all costs and replaced by "normal" Redirects that point directly to the correct title and type intended target page. The reason for this is simple: the Mediawiki software used by the ''Lexicanum'' does not support this. Or in other words: It will not send you further than to the following codefirst target pages (which only displays a ''redirect'' instruction, see screenshot below). [[File:DoubleRedirect.jpg|thumb|center|300px|A Double Redirect]]
<pre>#redirect In this concrete ''Double Redirect'' example there is a ''Redirect'' from [[XYZAdministrator]]</pre>to [[Administratum]] that in turn redirects to [[Adeptus Administratum]]. A reader entering "Administrator" into the search box or clicking on the link [[Administrator]] gets stuck on the page [[Administratum]] instead of ending up on the page [[Adeptus Administratum]] as intended. Therefore the ''Redirect'' on the page [[Administrator]] would have to be fixed to point directly to [[Adeptus Administratum]] instead of to [[Administratum]] as in this example.
So if you wanted Cats and Dog An automatically generated list of ''Double Redirects'' to redirect the visitor to Cats and Dogs, you would create the article Cats and Dog and put fix is available [[Special:DoubleRedirects|here]]. The reason for the code <nowiki>#redirect existence of such ''Double Redirects'' most often are unforeseen consequences of a [[Cats and DogsWarhammer 40k - Lexicanum:Move|page move]]</nowiki>.
==Other AbilitiesSee also==You More on the ''Redirect'' Wikimedia tool can also be found [[LexicanumWikipedia:Wikipedia:CategoriesRedirect|categorisehere]] redirect pages in the usual way and they will appear in the category list, though a visitor won't know they are a redirect until they click on the link!.
[[Category:Lexicanum Help|RedirectingRedirect]]
[[de:Redirect]]
[[fr:Lexicanum:Redirection]]