* (bug 34528) Don't parse section name in edit section tooltips
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 25 Feb 2012 15:23:45 +0000 (15:23 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 25 Feb 2012 15:23:45 +0000 (15:23 +0000)
HISTORY
includes/Skin.php

diff --git a/HISTORY b/HISTORY
index f2ca52e..03c6559 100644 (file)
--- a/HISTORY
+++ b/HISTORY
@@ -9,6 +9,7 @@ Change notes from older releases. For current info see RELEASE-NOTES-1.20.
   parameter without setting the text parameter.
 * UserMailer could potentially throw a fatal error when a MailAddress object had
   an empty email address.
+* (bug 34528) Edit section tooltips show correction section name again
 
 === MediaWiki 1.18.1 ===
 2012-01-11
index dae9657..7fc4a5c 100644 (file)
@@ -1499,7 +1499,7 @@ abstract class Skin extends ContextSource {
                if ( !is_null( $tooltip ) ) {
                        # Bug 25462: undo double-escaping.
                        $tooltip = Sanitizer::decodeCharReferences( $tooltip );
-                       $attribs['title'] = wfMsgExt( 'editsectionhint', array( 'language' => $lang, 'parsemag' ), $tooltip );
+                       $attribs['title'] = wfMsgExt( 'editsectionhint', array( 'language' => $lang, 'parsemag', 'replaceafter' ), $tooltip );
                }
                $link = Linker::link( $nt, wfMsgExt( 'editsection', array( 'language' => $lang ) ),
                        $attribs,
@@ -1511,7 +1511,7 @@ abstract class Skin extends ContextSource {
                # we can rid of it someday.
                $attribs = '';
                if ( $tooltip ) {
-                       $attribs = wfMsgExt( 'editsectionhint', array( 'language' => $lang, 'parsemag', 'escape' ), $tooltip );
+                       $attribs = wfMsgExt( 'editsectionhint', array( 'language' => $lang, 'parsemag', 'escape', 'replaceafter' ), $tooltip );
                        $attribs = " title=\"$attribs\"";
                }
                $result = null;