Alex Monk has submitted this change and it was merged. Change subject: Replacing deprecated wfMsg* functions. ......................................................................
Replacing deprecated wfMsg* functions. Replace deprecated wfMsg* functions with wfMessage. Fixed escaped. Change-Id: Ic90ec208d6fbe882b7482420dd8996639348f189 Signed-off-by: Bill Traynor <[email protected]> --- M AddThis.body.php 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Alex Monk: Verified; Looks good to me, approved diff --git a/AddThis.body.php b/AddThis.body.php index e3ab970..5112777 100644 --- a/AddThis.body.php +++ b/AddThis.body.php @@ -29,7 +29,7 @@ global $wgAddThis, $wgAddThispubid, $wgAddThisHServ, $wgAddThisBackground, $wgAddThisBorder; # Localisation for "Share" - $share = wfMsgExt( 'addthis', 'escape' ); + $share = wfMessage( 'addthis' )->escaped(); # Output AddThis widget $output ='<!-- AddThis Button BEGIN --> @@ -70,7 +70,7 @@ } # Localisation for "Share" - $share = wfMsgExt( 'addthis', 'escape' ); + $share = wfMessage( 'addthis' )->escaped(); # Output AddThis widget $wgOut->addHTML('<!-- AddThis Button BEGIN --> -- To view, visit https://gerrit.wikimedia.org/r/150447 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic90ec208d6fbe882b7482420dd8996639348f189 Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/AddThis Gerrit-Branch: master Gerrit-Owner: Wmat <[email protected]> Gerrit-Reviewer: Alex Monk <[email protected]> Gerrit-Reviewer: Varnent <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
