From: Alexandre Emsenhuber Date: Sat, 25 Feb 2012 15:23:45 +0000 (+0000) Subject: * (bug 34528) Don't parse section name in edit section tooltips X-Git-Tag: 1.31.0-rc.0~24518 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=f1bee1219c5846acb3ada0f9d82a4e2a129a4ff3;p=lhc%2Fweb%2Fwiklou.git * (bug 34528) Don't parse section name in edit section tooltips --- diff --git a/HISTORY b/HISTORY index f2ca52e796..03c6559af7 100644 --- 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 diff --git a/includes/Skin.php b/includes/Skin.php index dae965710a..7fc4a5ccae 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -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;