From 0ca36d006e2383f28d8c27000a3a3c24c8c8e54f Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 22 Apr 2011 21:05:47 +0000 Subject: [PATCH] Use wfMsgExt() instead of wfMsgReal() --- includes/Skin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index 08b238a035..45fcaa2397 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1527,7 +1527,7 @@ abstract class Skin { if ( !is_null( $tooltip ) ) { # Bug 25462: undo double-escaping. $tooltip = Sanitizer::decodeCharReferences( $tooltip ); - $attribs['title'] = wfMsgReal( 'editsectionhint', array( $tooltip ), true, $lang ); + $attribs['title'] = wfMsgExt( 'editsectionhint', array( 'language' => $lang, 'parsemag' ), $tooltip ); } $link = Linker::link( $nt, wfMsgExt( 'editsection', array( 'language' => $lang ) ), $attribs, @@ -1539,7 +1539,7 @@ abstract class Skin { # we can rid of it someday. $attribs = ''; if ( $tooltip ) { - $attribs = htmlspecialchars( wfMsgReal( 'editsectionhint', array( $tooltip ), true, $lang ) ); + $attribs = wfMsgExt( 'editsectionhint', array( 'language' => $lang, 'parsemag', 'escape' ), $tooltip ); $attribs = " title=\"$attribs\""; } $result = null; -- 2.20.1