<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=Help%3AMagic_words</id>
	<title>Help:Magic words - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=Help%3AMagic_words"/>
	<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Help:Magic_words&amp;action=history"/>
	<updated>2026-05-01T01:18:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.0</generator>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=Help:Magic_words&amp;diff=22855&amp;oldid=prev</id>
		<title>DoggoBit: Created page with &quot;&#039;&#039;&#039;Magic words&#039;&#039;&#039; are strings of text that have special meaning within the wiki context. This page explains the commonly used magic words on the NixOS Wiki. For a comprehensive list of magic words available on a MediaWiki installation, see [https://www.mediawiki.org/wiki/Help:Magic_words the MediaWiki help page]; for developer documentation related to adding a new magic word, see [https://www.mediawiki.org/wiki/Manual:Magic_words the MediaWiki manual page]....&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Help:Magic_words&amp;diff=22855&amp;oldid=prev"/>
		<updated>2025-06-10T13:46:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Magic words&amp;#039;&amp;#039;&amp;#039; are strings of text that have special meaning within the &lt;a href=&quot;/wiki/MediaWiki&quot; title=&quot;MediaWiki&quot;&gt;wiki&lt;/a&gt; context. This page explains the commonly used magic words on the NixOS Wiki. For a comprehensive list of magic words available on a MediaWiki installation, see [https://www.mediawiki.org/wiki/Help:Magic_words the MediaWiki help page]; for developer documentation related to adding a new magic word, see [https://www.mediawiki.org/wiki/Manual:Magic_words the MediaWiki manual page]....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Magic words&amp;#039;&amp;#039;&amp;#039; are strings of text that have special meaning within the [[MediaWiki|wiki]] context. This page explains the commonly used magic words on the NixOS Wiki. For a comprehensive list of magic words available on a MediaWiki installation, see [https://www.mediawiki.org/wiki/Help:Magic_words the MediaWiki help page]; for developer documentation related to adding a new magic word, see [https://www.mediawiki.org/wiki/Manual:Magic_words the MediaWiki manual page].&lt;br /&gt;
&lt;br /&gt;
There are three main types of magic words available on this wiki:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Behaviour switches&amp;#039;&amp;#039;&amp;#039; that change the display of a page;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Variables&amp;#039;&amp;#039;&amp;#039;, which might look like [[Help:Templates|templates]] when invoked;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Parser functions&amp;#039;&amp;#039;&amp;#039;, which take parameters and return a value. They also resemble templates; for a more comprehensive overview see [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions the ParserFunctions extension].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
 ! Magic Word&lt;br /&gt;
 ! Description&lt;br /&gt;
 |-&lt;br /&gt;
 ! colspan=&amp;quot;2&amp;quot; | Articles&lt;br /&gt;
 |-&lt;br /&gt;
 | &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;__NOTOC__&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 | Hides the table of contents on a page&lt;br /&gt;
 |-&lt;br /&gt;
 | &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;__NOEDITSECTION__&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 | Hides the edit link besides a section&amp;#039;s header&lt;br /&gt;
 |-&lt;br /&gt;
 | &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;__NEWSECTIONLINK__&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 | Adds a new link at the top of the page, next to the &amp;quot;Edit&amp;quot; link, to add a new section to the page, similar to how new threads are added in [[Help:Talk pages|talk pages]]&lt;br /&gt;
 |-&lt;br /&gt;
 | &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;__NONEWSECTIONLINK__&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 | Removes the add a new section link next to &amp;quot;Edit&amp;quot; link in talk pages&lt;br /&gt;
 |-&lt;br /&gt;
 ! colspan=&amp;quot;2&amp;quot; | Categories&lt;br /&gt;
 |-&lt;br /&gt;
 | &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;__NOGALLERY__&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 | Used in [[Help:Categories|category pages]], removes thumbnails and provides regular links.&lt;br /&gt;
 |-&lt;br /&gt;
 | &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;__HIDDENCAT__&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 | Hides the category from being displayed at the end of the articles in this category. Useful for maintenance categories.&lt;br /&gt;
 |-&lt;br /&gt;
 | &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;__EXPECTUNUSEDCATEGORY__&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 | When used on a category, removes it from [[Special:UnusedCategories]] even when it&amp;#039;s empty.&lt;br /&gt;
 |-&lt;br /&gt;
 ! colspan=&amp;quot;2&amp;quot; | Miscellaneous&lt;br /&gt;
 |-&lt;br /&gt;
 | &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;__INDEX__&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 | Tells search engines to index this page, regardless of wiki-wide settings. Note: robots.txt and the sitemap would still need to be configured, this shouldn&amp;#039;t be used manually 99% of the time&lt;br /&gt;
 |-&lt;br /&gt;
 | &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;__NOINDEX__&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 | Tells search engines not to index this page&lt;br /&gt;
 |-&lt;br /&gt;
 | &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;__STATICREDIRECT__&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 | On redirect pages, prevents the redirect link from being updated when the user moves the page.&lt;br /&gt;
 |-&lt;br /&gt;
 | &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;__EXPECTUNUSEDTEMPLATE__&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 | Removes the template from [[Special:UnusedTemplates]] even if no page includes it.&lt;br /&gt;
 |}&lt;/div&gt;</summary>
		<author><name>DoggoBit</name></author>
	</entry>
</feed>