(bug 14511) MediaWiki:Delete-legend is no longer double escaped
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 12 Jun 2008 12:02:28 +0000 (12:02 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 12 Jun 2008 12:02:28 +0000 (12:02 +0000)
RELEASE-NOTES
includes/Article.php

index 96e595d..c5e948c 100644 (file)
@@ -366,6 +366,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   fail due to database permission or other error
 * (bug 14500) Site feed (Recentchanges) no longer shows up on the actual
   recent changes page.
+* (bug 14511) MediaWiki:Delete-legend is no longer double escaped
 
 === API changes in 1.13 ===
 
index d709f62..2038359 100644 (file)
@@ -2178,7 +2178,7 @@ class Article {
 
                $form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->mTitle->getLocalURL( 'action=delete' . $par ), 'id' => 'deleteconfirm' ) ) .
                        Xml::openElement( 'fieldset', array( 'id' => 'mw-delete-table' ) ) .
-                       Xml::element( 'legend', null, wfMsg( 'delete-legend' ) ) .
+                       Xml::tags( 'legend', null, wfMsgExt( 'delete-legend', array( 'parsemag', 'escapenoentities' ) ) ) .
                        Xml::openElement( 'table' ) .
                        "<tr id=\"wpDeleteReasonListRow\">
                                <td align='$align'>" .