(bug 17751) The message for bad titles in WantedPages is now localized
authorChad Horohoe <demon@users.mediawiki.org>
Thu, 5 Mar 2009 15:36:24 +0000 (15:36 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Thu, 5 Mar 2009 15:36:24 +0000 (15:36 +0000)
RELEASE-NOTES
includes/specials/SpecialWantedpages.php
languages/messages/MessagesEn.php
maintenance/language/messages.inc

index f2430b1..501d468 100644 (file)
@@ -241,6 +241,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 17722) Fix regression where users are unable to change temporary passwords
 * (bug 17799) Special:Random no longer throws a database error when a non-
   namespace is given, silently falls back to NS_MAIN
+* (bug 17751) The message for bad titles in WantedPages is now localized
 
 == API changes in 1.15 ==
 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
index 6f7e727..7307b33 100644 (file)
@@ -85,7 +85,7 @@ class WantedPagesPage extends QueryPage {
                        return wfSpecialList( $pageLink, $this->makeWlhLink( $title, $skin, $result ) );
                } else {
                        $tsafe = htmlspecialchars( $result->title );
-                       return "Invalid title in result set; {$tsafe}";
+                       return wfMsg( 'wantedpages-badtitle', $tsafe );
                }
        }
 
index 7c311f6..5a7f7e4 100644 (file)
@@ -2127,6 +2127,7 @@ Each row contains links to the first and second redirect, as well as the target
 'wantedcategories-summary'        => '', # do not translate or duplicate this message to other languages
 'wantedpages'                     => 'Wanted pages',
 'wantedpages-summary'             => '', # do not translate or duplicate this message to other languages
+'wantedpages-badtitle'            => 'Invalid title in result set: $1',
 'wantedfiles'                     => 'Wanted files',
 'wantedfiles-summary'             => '', # do not translate or duplicate this message to other languages
 'wantedtemplates'                 => 'Wanted templates',
index 83ae613..e4af057 100644 (file)
@@ -1395,6 +1395,7 @@ $wgMessageStructure = array(
                'wantedcategories-summary',
                'wantedpages',
                'wantedpages-summary',
+               'wantedpages-badtitle',
                'wantedfiles',
                'wantedfiles-summary',
                'wantedtemplates',