r110357 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110356‎ | r110357 | r110358 >
Date:04:28, 31 January 2012
Author:varnent
Status:deferred
Tags:
Comment:
improved use of escape and fixed reddit setting
Modified paths:
  • /trunk/extensions/AddThis/AddThis.body.php (modified) (history)
  • /trunk/extensions/AddThis/AddThis.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AddThis/AddThis.body.php
@@ -29,7 +29,7 @@
3030 global $wgAddThis, $wgAddThispubid, $wgAddThisHServ, $wgAddThisBackground, $wgAddThisBorder;
3131
3232 # Localisation for "Share"
33 - $share = wfMsgExt( 'addthis', escape );
 33+ $share = wfMsgExt( 'addthis', 'escape' );
3434
3535 # Output AddThis widget
3636 $output ='<!-- AddThis Button BEGIN -->
@@ -70,7 +70,7 @@
7171 }
7272
7373 # Localisation for "Share"
74 - $share = wfMsgExt( 'addthis', escape );
 74+ $share = wfMsgExt( 'addthis', 'escape' );
7575
7676 # Output AddThis widget
7777 $wgOut->addHTML('<!-- AddThis Button BEGIN -->
Index: trunk/extensions/AddThis/AddThis.php
@@ -171,7 +171,7 @@
172172 'service' => 'stumbleupon',
173173 ),
174174 array(
175 - 'service' => 'digg',
 175+ 'service' => 'reddit',
176176 ),
177177 array(
178178 'service' => 'email',