Index: trunk/phase3/includes/Skin.php |
— | — | @@ -1527,7 +1527,7 @@ |
1528 | 1528 | if ( !is_null( $tooltip ) ) { |
1529 | 1529 | # Bug 25462: undo double-escaping. |
1530 | 1530 | $tooltip = Sanitizer::decodeCharReferences( $tooltip ); |
1531 | | - $attribs['title'] = wfMsgReal( 'editsectionhint', array( $tooltip ), true, $lang ); |
| 1531 | + $attribs['title'] = wfMsgExt( 'editsectionhint', array( 'language' => $lang, 'parsemag' ), $tooltip ); |
1532 | 1532 | } |
1533 | 1533 | $link = Linker::link( $nt, wfMsgExt( 'editsection', array( 'language' => $lang ) ), |
1534 | 1534 | $attribs, |
— | — | @@ -1539,7 +1539,7 @@ |
1540 | 1540 | # we can rid of it someday. |
1541 | 1541 | $attribs = ''; |
1542 | 1542 | if ( $tooltip ) { |
1543 | | - $attribs = htmlspecialchars( wfMsgReal( 'editsectionhint', array( $tooltip ), true, $lang ) ); |
| 1543 | + $attribs = wfMsgExt( 'editsectionhint', array( 'language' => $lang, 'parsemag', 'escape' ), $tooltip ); |
1544 | 1544 | $attribs = " title=\"$attribs\""; |
1545 | 1545 | } |
1546 | 1546 | $result = null; |