r49515 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49514‎ | r49515 | r49516 >
Date:17:03, 15 April 2009
Author:werdna
Status:deferred
Tags:
Comment:
Reorganise some of the 'misc' preferences into more appropriate categories
Modified paths:
  • /branches/preferences-work/phase3/includes/Preferences.php (modified) (history)

Diff [purge]

Index: branches/preferences-work/phase3/includes/Preferences.php
@@ -456,6 +456,12 @@
457457 'section' => 'editing',
458458 'label-message' => 'tog-forceeditsummary',
459459 );
 460+ $defaultPreferences['uselivepreview'] =
 461+ array(
 462+ 'type' => 'toggle',
 463+ 'section' => 'misc',
 464+ 'label-message' => 'tog-uselivepreview',
 465+ );
460466
461467 ## RecentChanges #####################################
462468 $defaultPreferences['usenewrc'] =
@@ -735,12 +741,6 @@
736742 'section' => 'misc',
737743 'label-message' => 'tog-numberheadings',
738744 );
739 - $defaultPreferences['uselivepreview'] =
740 - array(
741 - 'type' => 'toggle',
742 - 'section' => 'misc',
743 - 'label-message' => 'tog-uselivepreview',
744 - );
745745
746746 wfRunHooks( 'GetPreferences', array( $user, &$defaultPreferences ) );
747747

Status & tagging log