Made the reference to the MediaWiki namespace symbolic in "SpecialAllmessages.php".
authorNicholas Pisarro, Jr <npassoc@users.mediawiki.org>
Mon, 1 Mar 2004 20:02:50 +0000 (20:02 +0000)
committerNicholas Pisarro, Jr <npassoc@users.mediawiki.org>
Mon, 1 Mar 2004 20:02:50 +0000 (20:02 +0000)
Fixed up messages that form the title and opening text of Special:Allmessages page.

includes/SpecialAllmessages.php
languages/Language.php

index f805af2..923e3ec 100644 (file)
@@ -3,9 +3,9 @@
 function wfSpecialAllmessages()
 {
        global $wgUser, $wgOut, $wgAllMessagesEn, $wgServer, $wgScript, $wgLang;
-       $fname = "wfSpecialAllmessages";
        
        $talk = $wgLang->getNsText( NS_TALK );
+       $mwnspace = $wgLang->getNsText( NS_MEDIAWIKI );
        $mwtalk = $wgLang->getNsText( NS_MEDIAWIKI_TALK );
        $mwMsg =& MagicWord::get( MAG_MSG );
        $navText = str_replace( "$1", "allmessagestext", $mwMsg->getSynonym( 0 ) );
@@ -36,10 +36,10 @@ function wfSpecialAllmessages()
                $message = wfEscapeWikiText( $message );
                $mw = wfEscapeWikiText( $mw );
                
-# [$wgServer$wgScript?title=MediaWiki:$title&action=edit $key]<br>
+# [$wgServer$wgScript?title=$mwnspace:$title&action=edit $key]<br>
                $navText .= 
 "<tr$colorIt><td>
-  [[MediaWiki:$title|$key]]<br>
+  [[$mwnspace:$title|$key]]<br>
   [[$mwtalk:$title|$talk]]
 </td><td>
   $message
index 2b1022b..fee3b6a 100644 (file)
@@ -1386,8 +1386,8 @@ amusement.",
 
 # Namespace 8 related
 
-"allmessages"  => "All_messages",
-"allmessagestext"      => "This is a list of all messages available in the MediaWiki: namespace",
+"allmessages"  => "All system messages",
+"allmessagestext"      => "This is a list of all system messages available in the MediaWiki: namespace.",
 
 # Thumbnails