r59217 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59216‎ | r59217 | r59218 >
Date:21:10, 18 November 2009
Author:catrope
Status:ok
Tags:
Comment:
wmf-deployment: Forgot some files in the last merge
Modified paths:
  • /branches/wmf-deployment/extensions/UsabilityInitiative/EditToolbar/EditToolbar.hooks.php (modified) (history)
  • /branches/wmf-deployment/extensions/UsabilityInitiative/EditToolbar/EditToolbar.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/extensions/UsabilityInitiative/EditToolbar/EditToolbar.hooks.php
@@ -17,7 +17,7 @@
1818 public static function addToolbar( &$toolbar ) {
1919 global $wgUser, $wgEditToolbarGlobalEnable;
2020 global $wgEditToolbarUserEnable, $wgEditToolbarCGDGlobalEnable;
21 - global $wgEditToolbarCGDUserEnable;
 21+ global $wgEditToolbarCGDUserEnable, $wgWikiEditorIconVersion;
2222
2323 // Only proceed if some specific conditions are met
2424 if ( $wgEditToolbarGlobalEnable || ( $wgEditToolbarUserEnable && $wgUser->getOption( 'usebetatoolbar' ) ) ) {
@@ -28,7 +28,8 @@
2929 'EditToolbar/EditToolbar.js', $wgEditToolbarStyleVersion
3030 );
3131 UsabilityInitiativeHooks::addVariables( array(
32 - 'wgEditToolbarCGD' => $wgEditToolbarCGDGlobalEnable || ( $wgEditToolbarCGDUserEnable && $wgUser->getOption( 'usebetatoolbar-cgd' ) )
 32+ 'wgEditToolbarCGD' => $wgEditToolbarCGDGlobalEnable || ( $wgEditToolbarCGDUserEnable && $wgUser->getOption( 'usebetatoolbar-cgd' ) ),
 33+ 'wgWikiEditorIconVersion' => $wgWikiEditorIconVersion,
3334 ) );
3435 // Internationalization
3536 wfLoadExtensionMessages( 'EditToolbar' );
Index: branches/wmf-deployment/extensions/UsabilityInitiative/EditToolbar/EditToolbar.php
@@ -20,6 +20,7 @@
2121
2222 // Bump the version number every time you change any of the .css/.js files
2323 $wgEditToolbarStyleVersion = 76;
 24+$wgWikiEditorIconVersion = 0;
2425
2526 // Set this to true to simply override the stock toolbar for everyone
2627 $wgEditToolbarGlobalEnable = false;

Status & tagging log