Wmat has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/150447

Change subject: Replacing deprecated wfMsg* functions.
......................................................................

Replacing deprecated wfMsg* functions.

Replace deprecated wfMsg* functions with wfMessage.

Change-Id: Ic90ec208d6fbe882b7482420dd8996639348f189
Signed-off-by: Bill Traynor <[email protected]>
---
M AddThis.body.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/AddThis 
refs/changes/47/150447/1

diff --git a/AddThis.body.php b/AddThis.body.php
index e3ab970..a4abc23 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', 'escape' );
 
                # Output AddThis widget
                $output ='<!-- AddThis Button BEGIN -->
@@ -70,7 +70,7 @@
                }
 
                # Localisation for "Share"
-               $share = wfMsgExt( 'addthis', 'escape' );
+               $share = wfMessage( 'addthis', 'escape' );
 
                # 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: newchange
Gerrit-Change-Id: Ic90ec208d6fbe882b7482420dd8996639348f189
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/AddThis
Gerrit-Branch: master
Gerrit-Owner: Wmat <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to