r49921 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49920‎ | r49921 | r49922 >
Date:01:49, 27 April 2009
Author:werdna
Status:ok
Tags:
Comment:
Implement quickbar settings
Modified paths:
  • /trunk/phase3/includes/Preferences.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Preferences.php
@@ -311,7 +311,18 @@
312312 );
313313 }
314314
315 - ## TODO QUICKBAR
 315+ $selectedSkin = $user->getOption( 'skin' );
 316+ if ( in_array( $selectedSkin, array( 'cologneblue', 'standard' ) ) ) {
 317+ $settings = array_flip($wgLang->getQuickbarSettings());
 318+
 319+ $defaultPreferences['quickbar'] =
 320+ array(
 321+ 'type' => 'radio',
 322+ 'options' => $settings,
 323+ 'section' => 'skin',
 324+ 'label-message' => 'qbsettings',
 325+ );
 326+ }
316327
317328 ## Math #####################################
318329 global $wgUseTeX;

Follow-up revisions

RevisionCommit summaryAuthorDate
r49970Follow-up to r49921 -- "Implement quickbar settings"...brion18:39, 27 April 2009

Status & tagging log