Editing Help:Magic words

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 21: Line 21:
  
 
== Behavior switches ==
 
== Behavior switches ==
: ''For documentation, see the [[mw:Help:Magic words#Behavior switches|Behavior switches]] section of the MediaWiki page, unless otherwise stated.''
+
{{Hatnote|For documentation, see the [[mw:Help:Magic words#Behavior switches|Behavior switches]] section of the MediaWiki page, unless otherwise stated.}}
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 37: Line 37:
 
|-
 
|-
 
  | <code><nowiki> __NOEDITSECTION__ </nowiki></code>
 
  | <code><nowiki> __NOEDITSECTION__ </nowiki></code>
  | Hides the "edit" links normally beside all headings on the page. To hide the edit link beside a particular heading, specify the heading using e.g. an HTML tag such as '''<nowiki><h2>[Heading]</h2></nowiki>''' rather than with the usual wiki equals-signs syntax (e.g. '''== [Heading] ==''').
+
  | Hides the "edit" links normally beside all headings on the page. To hide the edit link beside a particular heading, specify the heading using e.g. an [[HTML element|HTML tag]] such as {{tag|h2|content=[Heading]}} rather than with the usual wiki equals-signs syntax (e.g. {{nowrap|1=<code>== [Heading] ==</code>}}{{thinsp}}).
 
|-
 
|-
 
  | <code><nowiki> __NEWSECTIONLINK__ </nowiki></code>
 
  | <code><nowiki> __NEWSECTIONLINK__ </nowiki></code>
Line 49: Line 49:
 
|-
 
|-
 
  | <code><nowiki> __HIDDENCAT__ </nowiki></code>
 
  | <code><nowiki> __HIDDENCAT__ </nowiki></code>
  | Makes a category [[Categorization#Hiding_categories|hidden]] when included on that category's page.
+
  | Makes a category [[WP:HIDDENCAT|hidden]] when included on that category's page.
 
|-
 
|-
 
  | <code><nowiki> __INDEX__ </nowiki></code>
 
  | <code><nowiki> __INDEX__ </nowiki></code>
  | Instructs search engines to index the page.
+
  | Instructs [[Web search engine|search engine]]s to index the page.
 
|-
 
|-
 
  | <code><nowiki> __NOINDEX__ </nowiki></code>
 
  | <code><nowiki> __NOINDEX__ </nowiki></code>
Line 61: Line 61:
 
|-
 
|-
 
  | <code><nowiki> __DISAMBIG__ </nowiki></code>
 
  | <code><nowiki> __DISAMBIG__ </nowiki></code>
  | Marks a page as a [[help:disambiguation|disambiguation page]], adds it to [[Special:DisambiguationPages]] and places inward links in [[Special:DisambiguationPageLinks]]. (See [[mw:Extension:Disambiguator]].)
+
  | Marks a page as a [[WP:DAB|disambiguation page]], adds it to [[Special:DisambiguationPages]] and places inward links in [[Special:DisambiguationPageLinks]]. (See [[mw:Extension:Disambiguator]].)
 
|-
 
|-
  | <code><nowiki>{{DEFAULTSORT:</nowiki></code>''sortkey''<code><nowiki>}}</nowiki></code>
+
  | {{wikivar|DISPLAYTITLE|''title''}}
  | Sets the default sort key (the index) under which the page is categorised.
+
| Used to amend the [[WP:DISPLAYTITLE|displayed form]] of the page's title.
 +
|-
 +
| {{wikivar|DEFAULTSORT|''sortkey''}}
 +
  | Sets the default [[WP:SORTKEY|key]] (the index) under which the page is categorised.
 +
|-
 +
| {{wikivar|NOEXTERNALLANGLINKS}}
 +
| (equivalent to {{wikivar|NOEXTERNALLANGLINKS|*}}{{thinsp}}) Suppresses the automated inclusion of [[Wikidata:Help:Linking Wikipedia pages|Wikidata]] [[Help:Interlanguage links|interlanguage links]] on the lefthand side of the page. Links to particular rather than all languages may be suppressed by using {{wikivar|NOEXTERNALLANGLINKS|''list''}}, where ''list'' a [[Vertical bar|pipe]]-[[Delimiter|delimited]] list of [[language code]]s (e.g. {{wikivar|NOEXTERNALLANGLINKS|fr{{pipe}}es{{pipe}}ja}} to suppress the French ("fr"), Spanish ("es") and Japanese ("ja") interlanguage links). (See [[mw:Extension:Wikibase Client#noexternallanglinks]].)
 
|}
 
|}
  

Please note that all contributions to Gunsopedia 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 Gunsopedia:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox