Help:MediaWiki help policy
From Wikipedia, the free encyclopedia
What follows demonstrates how links work here on copies of Help pages from Meta.
To ensure that this wiki that has help pages imported from Meta does not have broken links, the following templates are present:
- Template:H:ml (backlinks, edit), a copy of m:Template:H:ml (backlinks, edit)
- Template:H:mlm (backlinks, edit)
- Template:H:mlw (backlinks, edit), a copy of m:Template:H:mlw (backlinks, edit)
Using these we can have the following links (this is a copy of part of m:Help:MediaWiki help policy):
Link to another help page:
- Use internal link style, e.g. Help:Section; on another wiki this links to the local copy of that help page.
Link to a section of a help page:
- {{h:ml|Help:Administration|Protection|Protecting pages}} gives Protecting pages ; on Meta, due to m:Template:H:ml (backlinks, edit), it produces, e.g. on m:Help:Editing , a link in internal link style and also a "hidden external link", to allow a backlink [1], which, unlike Special:Whatlinkshere/Help:Administration, is specific for the target section; on another wiki with a copy of the template, e.g. Template:H:ml (backlinks, edit), the copy of the source page, in this case Help:Editing , has a link to the corresponding section of the corresponding local help page, in this case Help:Administration#Protection (on that wiki it is a link in internal link style). The backlinks are produced by [2].
Link to a page, or section of a page, in another namespace on Meta:
- {{h:mlm|translation}} gives m:Translation ; on Meta this is due to m:Template:H:mlm (backlinks, edit), which redirects to m:Template:H:ml (backlinks, edit); it produces an internal link and also a "hidden external link", to allow a backlink [3]; on other wikis a copy of Template:H:mlm (backlinks, edit) is used, an adapted version of the template; this produces an interwiki link to the same page on Meta, provided that interwiki link m: to Meta has been set up in the wiki.
Link to a page, or section of a page, on the English Wikipedia:
- {{h:mlw|HTML element|Links and anchors|HTML element "a"}} gives HTML element "a" ; on Meta, due to m:Template:H:mlw (backlinks, edit), it produces a link in interwiki link style and also a "hidden external link", to allow a backlink [4]; on the English Wikipedia the corresponding template, Template:h:mlw (backlinks, edit), redirects to Template:H:ml and produces a link in internal link style to the same page with backlink [5]; on other wikis, with a copy of m:Template:H:mlw on Meta, a link in interwiki link style is produced, provided that interwiki link w: has been set to point to the English Wikipedia, as is the case for English-language Wikimedia projects (replace "w:" with "w:en:" on non-English projects).
See m:Help:MediaWiki help policy for the full page.