Index: trunk/phase3/includes/SpecialAllmessages.php |
— | — | @@ -12,8 +12,9 @@ |
13 | 13 | global $wgOut, $wgAllMessagesEn, $wgRequest, $wgMessageCache, $wgTitle; |
14 | 14 | global $wgUseDatabaseMessages; |
15 | 15 | |
16 | | - if(!$wgUseDatabaseMessages) { |
17 | | - $wgOut->addHTML(wfMsg('allmessagesnotsupportedDB')); |
| 16 | + # The page isn't much use if the MediaWiki namespace is not being used |
| 17 | + if( !$wgUseDatabaseMessages ) { |
| 18 | + $wgOut->addWikiText( wfMsg( 'allmessagesnotsupportedDB' ) ); |
18 | 19 | return; |
19 | 20 | } |
20 | 21 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -114,6 +114,7 @@ |
115 | 115 | * (bug 5659) Change grammar hacks for Bosnian Wikimedia namespaces. |
116 | 116 | This sort of special casing should be removed and fixed properly. |
117 | 117 | * Remove useless whitespace from Special:Brokenredirects header |
| 118 | +* Treat "allmessagesnotsupporteddb" as wikitext when echoing; change default text |
118 | 119 | |
119 | 120 | == Compatibility == |
120 | 121 | |
Index: trunk/phase3/languages/Messages.php |
— | — | @@ -1441,9 +1441,9 @@ |
1442 | 1442 | 'allmessagesname' => 'Name', |
1443 | 1443 | 'allmessagesdefault' => 'Default text', |
1444 | 1444 | 'allmessagescurrent' => 'Current text', |
1445 | | -'allmessagestext' => 'This is a list of system messages available in the MediaWiki: namespace.', |
| 1445 | +'allmessagestext' => 'This is a list of system messages available in the MediaWiki namespace.', |
1446 | 1446 | 'allmessagesnotsupportedUI' => 'Your current interface language <b>$1</b> is not supported by Special:Allmessages at this site.', |
1447 | | -'allmessagesnotsupportedDB' => 'Special:Allmessages cannot be used because wgUseDatabaseMessages is off.', |
| 1447 | +'allmessagesnotsupportedDB' => '\'\'\'Special:Allmessages\'\'\' cannot be used because \'\'\'$wgUseDatabaseMessages\'\'\' is switched off.', |
1448 | 1448 | 'allmessagesfilter' => 'Message name filter:', |
1449 | 1449 | 'allmessagesmodified' => 'Show only modified', |
1450 | 1450 | |