WikiIndex:Redirect: Difference between revisions
Zhuyifei1999 (talk | contribs) No edit summary |
MarkDilley (talk | contribs) (with a tiny note near the upper left & The '''Wikiinfo''' will be a link back to the the redirect page: and minor formatting edits) |
||
Line 4: | Line 4: | ||
That puts | That puts | ||
<nowiki>#REDIRECT [[Destination Page]]</nowiki> | <nowiki> #REDIRECT [[Destination Page]] </nowiki> | ||
on the page. | on the page. | ||
(Or you could manually type that in yourself -- it makes no difference). | (Or you could manually type that in yourself -- it makes no difference). | ||
the redirect ''keyword'' is case-<u>insensitive</u> (but the target page ''is'' case-sensitive), you can also write | the redirect ''keyword'' is case-<u>insensitive</u> (but the target page ''is'' case-sensitive), you can also write | ||
<nowiki>#redirect [[Destination Page]]</nowiki> | <nowiki> #redirect [[Destination Page]] </nowiki> | ||
Make sure that this line is at the TOP of the edit box -- it will not work if even a single blank line or space comes before it in the edit box. | Make sure that this line is at the TOP of the edit box -- it will not work if even a single blank line or space comes before it in the edit box. | ||
Line 16: | Line 16: | ||
You can also add a [[Special:Categories|category]] to the redirect page, and it will then be listed in said category – but will be displayed in ''italics''. | You can also add a [[Special:Categories|category]] to the redirect page, and it will then be listed in said category – but will be displayed in ''italics''. | ||
Chained redirects (also known as 'DoubleRedirects') will not function automatically. The first redirect will execute correctly, but any subsequent redirects - the process stops after one step. The next page, containing another redirect, is shown as a link. The user must click on the link to follow the chain. So, each redirect should be constructed to point directly to the proper ultimate target page (see also the list at [[Special:DoubleRedirects]] -- pitch in and help us get these cleaned up). | Chained redirects (also known as 'DoubleRedirects') will not function automatically. The first redirect will execute correctly, but any subsequent redirects - the process stops after one step. The next page, containing another redirect, is shown as a link. The user must click on the link to follow the chain. So, each redirect should be constructed to point directly to the proper ultimate target page (see also the list at [[Special: DoubleRedirects]] -- pitch in and help us get these cleaned up). | ||
:I can do that automatically with a [[:Category:User Bot|bot]] script, so we never need to worry about it. — <span style="font-family: Kristen ITC, Arial;">[[User:Sean Fennel]][[User talk:Sean Fennel|@]]</span> 16:00, 6 February 2007 (PST) | : I can do that automatically with a [[:Category:User Bot|bot]] script, so we never need to worry about it. — <span style="font-family: Kristen ITC, Arial;"> [[User:Sean Fennel]][[User talk:Sean Fennel|@]]</span> 16:00, 6 February 2007 (PST) | ||
::He's not online anymore. I think I will try to make a bot script, but I have never succeed. --[[User:Zhuyifei1999|Zhuyifei1999]] ([[User talk:Zhuyifei1999|talk]]) 03:12, 14 April 2013 (PDT) | :: He's not online anymore. I think I will try to make a bot script, but I have never succeed. --[[User:Zhuyifei1999|Zhuyifei1999]] ([[User talk:Zhuyifei1999|talk]]) 03:12, 14 April 2013 (PDT) | ||
For an example of a properly-done redirect, see [[wikiinfo]]. That mis-spelling takes you to the (properly-spelled) "Wikinfo | For an example of a properly-done redirect, see [[wikiinfo]]. That mis-spelling, <nowiki>wikiinfo</nowiki>, takes you to the (properly-spelled) "Wikinfo" page, with a tiny note near the upper left -> "(Redirected from Wikiinfo)". The '''Wikiinfo''' will be a link back to the the redirect page: [http://wikiindex.org/index.php?title=wikiinfo&redirect=no This is what it looks.] | ||
;See also | ;See also |
Revision as of 04:29, 11 September 2015
If you want to redirect one page to another existing page:
Click the word "REDIRECT" at the bottom of the edit screen (below the edit summary box), then put the target page to be redirected to inside the square brackets.
That puts
#REDIRECT [[Destination Page]]
on the page. (Or you could manually type that in yourself -- it makes no difference).
the redirect keyword is case-insensitive (but the target page is case-sensitive), you can also write
#redirect [[Destination Page]]
Make sure that this line is at the TOP of the edit box -- it will not work if even a single blank line or space comes before it in the edit box.
(It may technically "work" if you add a few lines after it -- comments or categories -- but why would you put that information on the redirect page, where no one will see it, rather than on the destination page?)
You can also add a category to the redirect page, and it will then be listed in said category – but will be displayed in italics.
Chained redirects (also known as 'DoubleRedirects') will not function automatically. The first redirect will execute correctly, but any subsequent redirects - the process stops after one step. The next page, containing another redirect, is shown as a link. The user must click on the link to follow the chain. So, each redirect should be constructed to point directly to the proper ultimate target page (see also the list at Special: DoubleRedirects -- pitch in and help us get these cleaned up).
- I can do that automatically with a bot script, so we never need to worry about it. — User:Sean Fennel@ 16:00, 6 February 2007 (PST)
- He's not online anymore. I think I will try to make a bot script, but I have never succeed. --Zhuyifei1999 (talk) 03:12, 14 April 2013 (PDT)
For an example of a properly-done redirect, see wikiinfo. That mis-spelling, wikiinfo, takes you to the (properly-spelled) "Wikinfo" page, with a tiny note near the upper left -> "(Redirected from Wikiinfo)". The Wikiinfo will be a link back to the the redirect page: This is what it looks.
- See also