From: Nicholas Pisarro, Jr Date: Mon, 1 Mar 2004 20:02:50 +0000 (+0000) Subject: Made the reference to the MediaWiki namespace symbolic in "SpecialAllmessages.php". X-Git-Tag: 1.3.0beta1~886 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=40dc5960971fe0de53dcd7623b31c95738140607;p=lhc%2Fweb%2Fwiklou.git Made the reference to the MediaWiki namespace symbolic in "SpecialAllmessages.php". Fixed up messages that form the title and opening text of Special:Allmessages page. --- diff --git a/includes/SpecialAllmessages.php b/includes/SpecialAllmessages.php index f805af2549..923e3ec3f9 100644 --- a/includes/SpecialAllmessages.php +++ b/includes/SpecialAllmessages.php @@ -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]
+# [$wgServer$wgScript?title=$mwnspace:$title&action=edit $key]
$navText .= " - [[MediaWiki:$title|$key]]
+ [[$mwnspace:$title|$key]]
[[$mwtalk:$title|$talk]] $message diff --git a/languages/Language.php b/languages/Language.php index 2b1022b94c..fee3b6acf6 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -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