Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Encyclopedia:Redirect
(section)
Project page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Technical notes == A Wikipedia redirect is not the same as an [[HTTP redirect]]βit does not generate an [[HTTP 302]] (or other 30{{var|x}}) response. Instead, a page with almost the same content as the target of the redirect is generated by the MediaWiki software, differing in that a small-text note appears below the title of the page, identifying the name of the redirect used to get there (and linking to it in such a way that it can be accessed without the redirect, e.g. so it can be changed). When a user clicks on a redirect such as [[housecat]], the page URL initially will be https://en.wikipedia.org/wiki/Housecat, but the URL shown by the browser will change to https://en.wikipedia.org/wiki/Cat after the page loads. On one hand, this allows links like [[housecat#Anatomy]] to work as expected, but it also requires redirects to anchors to be implemented as a piece of JavaScript that jumps to an appropriate section after the page has loaded. For example, [[second-stage boot loader]], which is rendered as the URL https://en.wikipedia.org/wiki/Second-stage_boot_loader, is a page defined as a #REDIRECT to [[Booting#SECOND-STAGE]]. "SECOND-STAGE", in this case, is a manually defined anchor (using the markup "<syntaxhighlight lang="wikitext" inline>=== Second-stage boot loader === {{anchor|SECOND-STAGE}}</syntaxhighlight>") that will persist even if the section is renamed. However, whether a redirect points to a manually defined anchor, or an anchor defined implicitly via a section name, the behavior will be the same: the page will automatically be scrolled down to the pointed-to anchor only after the page finishes loading (at which point the URL bar will also change to reflect the redirected-to URL, including "#{{var|anchor}}" portion, rather than the redirected-from URL). <!-- https://phabricator.wikimedia.org/T37045 -->
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Encyclopedia:Redirect
(section)
Add topic