<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.lensovet.net/~sysadmin/w/index.php?action=history&amp;feed=atom&amp;title=Help%3AMediaWiki_namespace</id>
	<title>Help:MediaWiki namespace - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.lensovet.net/~sysadmin/w/index.php?action=history&amp;feed=atom&amp;title=Help%3AMediaWiki_namespace"/>
	<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:MediaWiki_namespace&amp;action=history"/>
	<updated>2026-05-03T23:41:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Help:MediaWiki_namespace&amp;diff=1702&amp;oldid=prev</id>
		<title>Wadmin: 1 revision(s)</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:MediaWiki_namespace&amp;diff=1702&amp;oldid=prev"/>
		<updated>2006-07-19T05:34:33Z</updated>

		<summary type="html">&lt;p&gt;1 revision(s)&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 05:34, 19 July 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Wadmin</name></author>
		
	</entry>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Help:MediaWiki_namespace&amp;diff=1701&amp;oldid=prev</id>
		<title>Omniplex: most stuff is in Messages.php, no idea where the old example now is</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:MediaWiki_namespace&amp;diff=1701&amp;oldid=prev"/>
		<updated>2006-06-13T10:33:31Z</updated>

		<summary type="html">&lt;p&gt;most stuff is in Messages.php, no idea where the old example now is&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{h:h|moderator toc}}&lt;br /&gt;
&lt;br /&gt;
The '''MediaWiki namespace''' is one of the 16 standard [[Help:namespace|namespaces]] in the database structure of the MediaWiki software.&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
The '''MediaWiki namespace''' is a mechanism allowing [[Help:Administration|administrator]]s to [[MediaWiki localization|customise or translate the MediaWiki web interface]]. It is enabled by default in recent mediawiki versions, {{h:mwg|UseDatabaseMessages}} = true enables them.&lt;br /&gt;
&lt;br /&gt;
All messages defined can be viewed at [[Special:Allmessages]] with some nice features. Because this displays '''all''' system messages (over 1 MB) some users might prefer to view these messages alphabetically:&lt;br /&gt;
[{{fullurl:Special:Allpages|from=MediaWiki:%21}} @] [[Special:Prefixindex/MediaWiki:A|A]] [[Special:Prefixindex/MediaWiki:B|B]] [[Special:Prefixindex/MediaWiki:C|C]] [[Special:Prefixindex/MediaWiki:D|D]] [[Special:Prefixindex/MediaWiki:E|E]] [[Special:Prefixindex/MediaWiki:F|F]] [[Special:Prefixindex/MediaWiki:G|G]] [[Special:Prefixindex/MediaWiki:H|H]] [[Special:Prefixindex/MediaWiki:I|&amp;lt;small&amp;gt;&amp;amp;#160;&amp;lt;/small&amp;gt;I&amp;lt;small&amp;gt;&amp;amp;#160;&amp;lt;/small&amp;gt;]] [[Special:Prefixindex/MediaWiki:J|J]] [[Special:Prefixindex/MediaWiki:K|K]] [[Special:Prefixindex/MediaWiki:L|L]] [[Special:Prefixindex/MediaWiki:M|M]] [[Special:Prefixindex/MediaWiki:N|N]] [[Special:Prefixindex/MediaWiki:O|O]] [[Special:Prefixindex/MediaWiki:P|P]] [[Special:Prefixindex/MediaWiki:Q|Q]] [[Special:Prefixindex/MediaWiki:R|R]] [[Special:Prefixindex/MediaWiki:S|S]] [[Special:Prefixindex/MediaWiki:T|T]] [[Special:Prefixindex/MediaWiki:U|U]] [[Special:Prefixindex/MediaWiki:V|V]] [[Special:Prefixindex/MediaWiki:W|W]] [[Special:Prefixindex/MediaWiki:X|X]] [[Special:Prefixindex/MediaWiki:Y|Y]] [[Special:Prefixindex/MediaWiki:Z|Z]]&lt;br /&gt;
&lt;br /&gt;
The contents of the MediaWiki namespace pages override any corresponding settings in the language files, i.e., the static version of messages. Using the MediaWiki namespace is a bit slower.&lt;br /&gt;
&lt;br /&gt;
==Protection==&lt;br /&gt;
&lt;br /&gt;
By default, all messages are protected. This is necessary for a number of reasons:&lt;br /&gt;
&lt;br /&gt;
* Many messages are in plain HTML, hence users could insert malicious scripts&lt;br /&gt;
* Vandalism of some messages would be extremely disruptive, for example changes to the text of the links in the sidebar would immediately be visible to all users&lt;br /&gt;
* A few messages can in theory cause the software to stop working if they are changed, for example [[MediaWiki:Linktrail]]. In practice the software ignores the database contents for [[MediaWiki:Linktrail]], taking the regular expression straight out of the message files, for performance and stability reasons.&lt;br /&gt;
&lt;br /&gt;
If an administrator wishes to allow general editing of a MediaWiki page, a method is to place the message on a template, and then transclude the template back onto the MediaWiki page.&lt;br /&gt;
&lt;br /&gt;
==Technical details==&lt;br /&gt;
&lt;br /&gt;
The namespace number of {{ns:8}} messages is '''8''', with a corresponding {{ns:9}} namespace '''9''' to discuss individual messages.&lt;br /&gt;
Some projects offer templates like {{tiw|en|editprotected}} to propose modifications, others have a page like&lt;br /&gt;
[[m:Meta:Requests for help from a sysop or bureaucrat|Meta:Requests for help from a sysop or bureaucrat]] for this purpose.&lt;br /&gt;
&lt;br /&gt;
;Links to MediaWiki messages work like links to ordinary pages, examples&amp;amp;#58;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;[[MediaWiki:Edit]]&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; [[MediaWiki:Edit]],&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;[[w:de:MediaWiki:Edit]]&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; [[w:de:MediaWiki:Edit]],&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;[{{fullurl:m:MediaWiki:Edit|action=render}} demo]&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; [{{fullurl:m:MediaWiki:Edit|action=render}} demo].&lt;br /&gt;
&lt;br /&gt;
Each message in the &amp;lt;code&amp;gt;$wgAllMessagesEn&amp;lt;/code&amp;gt; array in [http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/languages/Messages.php Messages.php] corresponds to a page in the MediaWiki namespace. For example, there is a line in the php file:&lt;br /&gt;
&lt;br /&gt;
 'confirmprotect' =&amp;amp;gt; 'Confirm protection',&lt;br /&gt;
&lt;br /&gt;
To this corresponds the page [[MediaWiki:Confirmprotect]], and {{evaldemo|int:Confirmprotect}}. When this page is edited the new message is automatically used for say {{fullurl:m:Main page|action=protect}}. Similarly [[w:fr:MediaWiki:Confirmprotect]] has the content &amp;lt;em&amp;gt;Confirmer la protection&amp;lt;/em&amp;gt;, note that the page name itself is not translated.&lt;br /&gt;
&lt;br /&gt;
===Inclusion===&lt;br /&gt;
;Inclusion of MediaWiki messages can make sense, as noted below historically these messages also covered the function of templates.&lt;br /&gt;
:{{evaldemo|MediaWiki:Edit|&amp;amp;#61;}}, see {{tim|Ed}}.&lt;br /&gt;
:{{evaldemo|int:Edit|&amp;amp;#61;}}, [[Help:colon function|colon function]] '''int:''' is a shorthand for '''MediaWiki:'''.&lt;br /&gt;
:{{evaldemo|int:Erehwon|&amp;amp;#61;}}, but only as far as the message exists.&lt;br /&gt;
:{{evaldemo|MediaWiki:Erehwon|&amp;amp;#61;}} doesn't exist.&lt;br /&gt;
&lt;br /&gt;
However many messages are not suited for inclusion, because they contain '''$1''' and similar parameters not evaluated by the&lt;br /&gt;
template parser, or raw [[w:Cascading Style Sheets|CSS]] and [[w:en:XHTML|XHTML]] markup not permitted on normal pages.&lt;br /&gt;
&lt;br /&gt;
===Interlanguage links===&lt;br /&gt;
[[Help:Interwiki linking|Interlanguage link]]s in MediaWiki messages typically won't work as expected. Adding &amp;lt;tt&amp;gt;&amp;amp;lt;noinclude&amp;amp;gt;&amp;lt;/tt&amp;gt; isn't good enough, because something has to evaluate it, as it's the case for messages [[#Inclusion|included]] like ordinary templates, but not {{unclear}} for messages used internally as system messages.&lt;br /&gt;
&lt;br /&gt;
Instead, one can use in-page interlanguage links on the talk pages, {{tim|ilm}} does this for some major projects.&lt;br /&gt;
&lt;br /&gt;
===Strings exclusive to language file===&lt;br /&gt;
Some text strings cannot be customised using this feature, and so can only be changed by editing the language file. These include:&lt;br /&gt;
&lt;br /&gt;
* The namespace titles &amp;quot;User&amp;quot;, &amp;quot;Wikipedia&amp;quot;, &amp;quot;Image&amp;quot;, etc.&lt;br /&gt;
* The names of the special pages&lt;br /&gt;
* Month and days-of-the-week names&lt;br /&gt;
* A number of items in [[Special:Preferences]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[m:Help:MediaWiki namespace/old|MediaWiki namespace in version 1.26]]&lt;br /&gt;
*[[w:Wikipedia:MediaWiki namespace]]&lt;br /&gt;
&lt;br /&gt;
{{h:f|enname=MediaWiki namespace}}&lt;/div&gt;</summary>
		<author><name>Omniplex</name></author>
		
	</entry>
</feed>