* (bug 5659) Change grammar hacks for Bosnian Wikimedia namespaces.
This sort of special casing should be removed and fixed properly.
* Remove useless whitespace from Special:Brokenredirects header
+* Treat "allmessagesnotsupporteddb" as wikitext when echoing; change default text
== Compatibility ==
global $wgOut, $wgAllMessagesEn, $wgRequest, $wgMessageCache, $wgTitle;
global $wgUseDatabaseMessages;
- if(!$wgUseDatabaseMessages) {
- $wgOut->addHTML(wfMsg('allmessagesnotsupportedDB'));
+ # The page isn't much use if the MediaWiki namespace is not being used
+ if( !$wgUseDatabaseMessages ) {
+ $wgOut->addWikiText( wfMsg( 'allmessagesnotsupportedDB' ) );
return;
}
'allmessagesname' => 'Name',
'allmessagesdefault' => 'Default text',
'allmessagescurrent' => 'Current text',
-'allmessagestext' => 'This is a list of system messages available in the MediaWiki: namespace.',
+'allmessagestext' => 'This is a list of system messages available in the MediaWiki namespace.',
'allmessagesnotsupportedUI' => 'Your current interface language <b>$1</b> is not supported by Special:Allmessages at this site.',
-'allmessagesnotsupportedDB' => 'Special:Allmessages cannot be used because wgUseDatabaseMessages is off.',
+'allmessagesnotsupportedDB' => '\'\'\'Special:Allmessages\'\'\' cannot be used because \'\'\'$wgUseDatabaseMessages\'\'\' is switched off.',
'allmessagesfilter' => 'Message name filter:',
'allmessagesmodified' => 'Show only modified',