|
The MediaWiki namespace is one of the 16 standard namespaces in the database structure of the MediaWiki software.
OverviewThe MediaWiki namespace is a mechanism allowing administrators to customise or translate the MediaWiki web interface. It is enabled by default in recent mediawiki versions, $wgUseDatabaseMessages = true enables them. 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: @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 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 than other namespaces. ProtectionBy default, all messages are protected. This is necessary for a number of reasons:
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. Technical detailsThe namespace number of MediaWiki messages is 8, with a corresponding MediaWiki_talk namespace 9 to discuss individual messages. Some projects offer templates like en:Template:editprotected (backlinks, edit) to propose modifications, others have a page like Meta:Requests for help from a sysop or bureaucrat for this purpose.
Each message in the 'confirmprotect' => 'Confirm protection', To this corresponds the page MediaWiki:Confirmprotect, and {{ Inclusion
However many messages are not suited for inclusion, because they contain $1 and similar parameters not evaluated by the template parser, or raw CSS and XHTML markup not permitted on normal pages. Interlanguage linksInterlanguage links in MediaWiki messages typically won't work as expected. Adding <noinclude> isn't good enough, because something has to evaluate it, as it's the case for messages included like ordinary templates, but not [clarify] for messages used internally as system messages. Instead, one can use in-page interlanguage links on the talk pages, m:Template:ilm (backlinks, edit) does this for some major projects. Strings exclusive to language fileSome text strings cannot be customised using this feature, and so can only be changed by editing the language file. These include:
See alsoWikipedia-specific helpAt the moment m:MediaWiki:Edit on Meta and w:MediaWiki:Edit on Wikpedia are different. It's possible to use the MediaWiki talk namespace to discuss this. This page is a copy of the master help page at Meta (for general help information all Wikimedia projects can use), with two Wikipedia-specific templates inserted. To update the main text, edit the master help page for all projects at m:Help:MediaWiki namespace. For Wikipedia-specific issues, use Template:Ph:MediaWiki namespace (the extra text at the bottom of this page) or Template:Phh:MediaWiki namespace for a Wikipedia-specific lead (text appears at the top of this page). You are welcome to replace the full wikitext of this page with that of the master page at Meta at any time. To view this page in other languages see the master page at Meta. Página espejo de la WikipediaDirectorio de Enlaces Directorio dmoz Directorio espejo dmoz Pedro Bernardo |