WikiIndex:Redirect: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
m (Redirect moved to WikIndex:Redirect: this is part of the WikiIndex project - basically a help page)
m (Text replacement - "User Bot" to "User bot")
Tags: mobile edit mobile web edit
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
If you want to redirect one page to another,
Here on '''{{tag|WikiIndex}}''', if you want to '''[[redirect]]''' one page to another (ideally) existing page, the information below will {{tag|help}} you through this simple process:


Click the word "REDIRECT" at the bottom of the edit screen, then put the page to be redirected to inside the brackets.
Click the word <nowiki>#REDIRECT</nowiki> at the bottom of the edit screen (immediately above the [[Wikipedia:Help:Edit summary|edit summary]] box), then put the target page to be redirected to inside the double-square brackets.


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-insensitive, you can also write
The 'redirect' ''{{tag|Wiki syntax|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 single line is the only thing on the page -- it doesn't work if even a single blank line or space comes before it in the edit box.
Make sure that this line (with the 'hash redirect', etc) is always at the TOP of the [[edit box]] — it will <u>not</u> 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?)''
''(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?)''


Chained redirects do not function automatically.  The first redirect will execute, but 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 page (see also the list at [[Special:DoubleRedirects]] -- pitch in and help us get these cleaned up).
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''.
:I can do that automatically with a bot script, so we never need to worry about it. &mdash;&nbsp;<span style="font-family: Kristen ITC, Arial;">[[User:Sean Fennel]][[User talk:Sean Fennel|@]]</span> 16:00, 6 February 2007 (PST)


For an example of a properly-done redirect, see [[wikiinfo]].
Chained redirects (also known as 'double redirects') will <u>not</u> function automatically.  The first redirect will execute correctly, in that at will open the first redirected page, but any subsequent redirects will not be carried out – the process stops after the one initial step.  This next displayed page, containing another redirect, is merely shown as a link; the user must then click on that 'redirect' link to follow the chain to the ultimate target page.  Therefore, 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).
That mis-spelling takes you to the (properly-spelled) "Wikinfo.org" page, with a tiny note "(Redirected from Wikiinfo)".
:I can do that automatically with a [[:Category:User bot|bot]] script, so we never need to worry about it. &mdash;&nbsp;<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)


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, displaying the following URL: http://wikiindex.org/index.php?title=wikiinfo&redirect=no .


[[category:help]]
;See also
[[category:FAQ]]
*[[Special:ListRedirects]]
 
{{DEFAULTSORT:Redirect}}
[[Category:FAQ]]
[[Category:Glossary]]
[[Category:Glossary]]
[[Category:Terms]]
[[Category:Terms]]

Latest revision as of 23:04, 31 May 2024

Here on WikiIndex, if you want to redirect one page to another (ideally) existing page, the information below will help you through this simple process:

Click the word #REDIRECT at the bottom of the edit screen (immediately above the edit summary box), then put the target page to be redirected to inside the double-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 (with the 'hash redirect', etc) is always 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 'double redirects') will not function automatically. The first redirect will execute correctly, in that at will open the first redirected page, but any subsequent redirects will not be carried out – the process stops after the one initial step. This next displayed page, containing another redirect, is merely shown as a link; the user must then click on that 'redirect' link to follow the chain to the ultimate target page. Therefore, 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, displaying the following URL: http://wikiindex.org/index.php?title=wikiinfo&redirect=no .

See also