r113450 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113449‎ | r113450 | r113451 >
Date:01:45, 9 March 2012
Author:tstarling
Status:ok
Tags:
Comment:
MFT r112395: Don't parse section name in edit section tooltips
Modified paths:
  • /branches/wmf/1.19wmf1/includes/Skin.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.19wmf1/includes/Skin.php
@@ -1499,7 +1499,7 @@
15001500 if ( !is_null( $tooltip ) ) {
15011501 # Bug 25462: undo double-escaping.
15021502 $tooltip = Sanitizer::decodeCharReferences( $tooltip );
1503 - $attribs['title'] = wfMsgExt( 'editsectionhint', array( 'language' => $lang, 'parsemag' ), $tooltip );
 1503+ $attribs['title'] = wfMsgExt( 'editsectionhint', array( 'language' => $lang, 'parsemag', 'replaceafter' ), $tooltip );
15041504 }
15051505 $link = Linker::link( $nt, wfMsgExt( 'editsection', array( 'language' => $lang ) ),
15061506 $attribs,
@@ -1511,7 +1511,7 @@
15121512 # we can rid of it someday.
15131513 $attribs = '';
15141514 if ( $tooltip ) {
1515 - $attribs = wfMsgExt( 'editsectionhint', array( 'language' => $lang, 'parsemag', 'escape' ), $tooltip );
 1515+ $attribs = wfMsgExt( 'editsectionhint', array( 'language' => $lang, 'parsemag', 'escape', 'replaceafter' ), $tooltip );
15161516 $attribs = " title=\"$attribs\"";
15171517 }
15181518 $result = null;
Property changes on: branches/wmf/1.19wmf1/includes/Skin.php
___________________________________________________________________
Added: svn:mergeinfo
15191519 Merged /branches/REL1_15/phase3/includes/Skin.php:r51646
15201520 Merged /branches/wmf/1.18wmf1/includes/Skin.php:r97508,111667
15211521 Merged /branches/sqlite/includes/Skin.php:r58211-58321
15221522 Merged /trunk/phase3/includes/Skin.php:r111029,111034,111067,111085,111128,111144,111251,111397,111427,111571,111574,111597,111658,111673,111695,111697,111750,111827,111965-111967,112021,112045-112046,112049,112061-112063,112065-112066,112070-112071,112079,112128,112132-112133,112152,112184,112259,112290,112347,112374,112378,112381,112383,112395,112397,112408,112474,112526,112534,112563,112700,112839-112840,112843,112855,112866,112951
15231523 Merged /branches/new-installer/phase3/includes/Skin.php:r43664-66004
15241524 Merged /branches/wmf-deployment/includes/Skin.php:r53381
15251525 Merged /branches/JSTesting/includes/Skin.php:r100352-107913

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112395* (bug 34528) Don't parse section name in edit section tooltipsialex15:23, 25 February 2012

Status & tagging log