r61835 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61834‎ | r61835 | r61836 >
Date:00:19, 2 February 2010
Author:catrope
Status:deferred
Tags:
Comment:
wmf-deployment: UsabilityInitiative: Add _alpha suffix to some $wgExtensionMessagesFiles keys
Modified paths:
  • /branches/wmf-deployment/extensions/UsabilityInitiative_alpha/ClickTracking/ClickTracking.php (modified) (history)
  • /branches/wmf-deployment/extensions/UsabilityInitiative_alpha/ClickTracking/SpecialClickTracking.php (modified) (history)
  • /branches/wmf-deployment/extensions/UsabilityInitiative_alpha/OptIn/OptIn.hooks.php (modified) (history)
  • /branches/wmf-deployment/extensions/UsabilityInitiative_alpha/OptIn/OptIn.php (modified) (history)
  • /branches/wmf-deployment/extensions/UsabilityInitiative_alpha/OptIn/SpecialOptIn.php (modified) (history)
  • /branches/wmf-deployment/extensions/UsabilityInitiative_alpha/PrefStats/PrefStats.php (modified) (history)
  • /branches/wmf-deployment/extensions/UsabilityInitiative_alpha/PrefStats/SpecialPrefStats.php (modified) (history)
  • /branches/wmf-deployment/extensions/UsabilityInitiative_alpha/UsabilityInitiative.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/extensions/UsabilityInitiative_alpha/UsabilityInitiative.php
@@ -40,9 +40,9 @@
4141 dirname( __FILE__ ) . "/UsabilityInitiative.hooks.php";
4242
4343 // Adds Internationalized Messages
44 -$wgExtensionMessagesFiles['UsabilityInitiative'] =
 44+$wgExtensionMessagesFiles['UsabilityInitiative_alpha'] =
4545 dirname( __FILE__ ) . "/UsabilityInitiative.i18n.php";
4646
4747 // Registers Hooks
4848 $wgHooks['BeforePageDisplay'][] = 'UsabilityInitiativeHooks::addResources';
49 -$wgHooks['MakeGlobalVariablesScript'][] = 'UsabilityInitiativeHooks::addJSVars';
\ No newline at end of file
 49+$wgHooks['MakeGlobalVariablesScript'][] = 'UsabilityInitiativeHooks::addJSVars';
Index: branches/wmf-deployment/extensions/UsabilityInitiative_alpha/ClickTracking/SpecialClickTracking.php
@@ -16,7 +16,7 @@
1717
1818 function __construct() {
1919 parent::__construct( 'ClickTracking' , 'clicktrack' );
20 - wfLoadExtensionMessages( 'ClickTracking' );
 20+ wfLoadExtensionMessages( 'ClickTracking_alpha' );
2121 UsabilityInitiativeHooks::initialize();
2222 UsabilityInitiativeHooks::addStyle( 'ClickTracking/SpecialClickTracking.css' );
2323 UsabilityInitiativeHooks::addScript( 'ClickTracking/SpecialClickTracking.js' );
@@ -661,4 +661,4 @@
662662 }
663663
664664
665 -}
\ No newline at end of file
 665+}
Index: branches/wmf-deployment/extensions/UsabilityInitiative_alpha/ClickTracking/ClickTracking.php
@@ -65,5 +65,5 @@
6666 $wgGroupPermissions['sysop']['clicktrack'] = true;
6767
6868 // Adds Internationalized Messages
69 -$wgExtensionMessagesFiles['ClickTracking'] = $dir . 'ClickTracking.i18n.php';
70 -$wgExtensionAliasesFiles['ClickTracking'] = $dir . 'ClickTracking.alias.php';
 69+$wgExtensionMessagesFiles['ClickTracking_alpha'] = $dir . 'ClickTracking.i18n.php';
 70+$wgExtensionAliasesFiles['ClickTracking_alpha'] = $dir . 'ClickTracking.alias.php';
Index: branches/wmf-deployment/extensions/UsabilityInitiative_alpha/OptIn/OptIn.php
@@ -148,11 +148,11 @@
149149 dirname( __FILE__ ) . '/OptIn.hooks.php';
150150
151151 // Adds Internationalized Messages
152 -$wgExtensionMessagesFiles['OptInLink'] =
 152+$wgExtensionMessagesFiles['OptInLink_alpha'] =
153153 dirname( __FILE__ ) . '/OptInLink.i18n.php';
154 -$wgExtensionMessagesFiles['OptIn'] =
 154+$wgExtensionMessagesFiles['OptIn_alpha'] =
155155 dirname( __FILE__ ) . '/OptIn.i18n.php';
156 -$wgExtensionAliasesFiles['OptIn'] =
 156+$wgExtensionAliasesFiles['OptIn_alpha'] =
157157 dirname( __FILE__ ) . '/OptIn.alias.php';
158158
159159 $wgSpecialPages['OptIn'] = 'SpecialOptIn';
Index: branches/wmf-deployment/extensions/UsabilityInitiative_alpha/OptIn/SpecialOptIn.php
@@ -57,7 +57,7 @@
5858
5959 public function __construct() {
6060 parent::__construct( 'OptIn' );
61 - wfLoadExtensionMessages( 'OptIn' );
 61+ wfLoadExtensionMessages( 'OptIn_alpha' );
6262 }
6363
6464 public function execute( $par ) {
Index: branches/wmf-deployment/extensions/UsabilityInitiative_alpha/OptIn/OptIn.hooks.php
@@ -41,7 +41,7 @@
4242 return true;
4343
4444 // Loads opt-in messages
45 - wfLoadExtensionMessages( 'OptInLink' );
 45+ wfLoadExtensionMessages( 'OptInLink_alpha' );
4646
4747 $fromquery = array();
4848 if ( !( $wgRequest->wasPosted() ) ) {
Index: branches/wmf-deployment/extensions/UsabilityInitiative_alpha/PrefStats/PrefStats.php
@@ -84,9 +84,9 @@
8585 $wgSpecialPageGroups['PrefStats'] = 'wiki';
8686
8787 // Adds Internationalized Messages
88 -$wgExtensionMessagesFiles['PrefStats'] =
 88+$wgExtensionMessagesFiles['PrefStats_alpha'] =
8989 dirname( __FILE__ ) . '/PrefStats.i18n.php';
90 -$wgExtensionAliasesFiles['PrefStats'] =
 90+$wgExtensionAliasesFiles['PrefStats_alpha'] =
9191 dirname( __FILE__ ) . '/PrefStats.alias.php';
9292
9393 // Registers Hooks
Index: branches/wmf-deployment/extensions/UsabilityInitiative_alpha/PrefStats/SpecialPrefStats.php
@@ -9,7 +9,7 @@
1010 class SpecialPrefStats extends SpecialPage {
1111 function __construct() {
1212 parent::__construct( 'PrefStats' );
13 - wfLoadExtensionMessages( 'PrefStats' );
 13+ wfLoadExtensionMessages( 'PrefStats_alpha' );
1414 }
1515
1616 function execute( $par ) {

Status & tagging log