* (bug 34528) Don't parse section name in edit section tooltips
This commit is contained in:
parent
d97561461c
commit
f1bee1219c
2 changed files with 3 additions and 2 deletions
1
HISTORY
1
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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue