r100861 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100860‎ | r100861 | r100862 >
Date:19:58, 26 October 2011
Author:petrb
Status:deferred
Tags:
Comment:
renamed config
Modified paths:
  • /trunk/extensions/OnlineStatusBar/OnlineStatusBar.i18n.php (modified) (history)
  • /trunk/extensions/OnlineStatusBar/OnlineStatusBar.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.i18n.php
@@ -21,8 +21,6 @@
2222 'onlinestatusbar-used' => 'Do you want to let others see if you are online?',
2323 // Message in config asking what status they want to use
2424 'onlinestatusbar-status' => 'What is the default status you wish to use:',
25 - // Title for config
26 - 'prefs-onlinestatusbar' => 'Online status bar',
2725 // Section for config
2826 'prefs-onlinestatus' => 'Online Status',
2927 );
@@ -32,6 +30,5 @@
3331 'onlinestatusbar-line' => "Status bar text line (User is now Offline), parameters:\n* $1 is user\n* $2 is a picture of status (small icon in color of status)\n* $3 a status, it will appear in title bar of their user space pages",
3432 'onlinestatusbar-used' => 'Message in config asking user if they want to enable it, checkbox',
3533 'onlinestatusbar-status' => 'Message in config asking what status they want to use, option box',
36 - 'prefs-onlinestatusbar' => 'Title for config',
37 - 'prefs-onlinestatus' => 'Section for config',
38 -};
 34+ 'prefs-onlinestatus' => 'Section for config, located in preferences - misc',
 35+);
Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.php
@@ -111,8 +111,8 @@
112112 $wgHooks['GetPreferences'][] = 'wfOnlineStatusBar_PreferencesHook';
113113 function wfOnlineStatusBar_PreferencesHook( $user, &$preferences ) {
114114 global $wgOnlineStatusBarModes;
115 - $preferences['OnlineStatusBar_active'] = array( 'type' => 'toggle', 'label-message' => 'onlinestatusbar-used', 'section' => 'onlinestatusbar/onlinestatus' );
116 - $preferences['OnlineStatusBar_status'] = array( 'type' => 'radio', 'label-message' => 'onlinestatusbar-status', 'section' => 'onlinestatusbar/onlinestatus',
 115+ $preferences['OnlineStatusBar_active'] = array( 'type' => 'toggle', 'label-message' => 'onlinestatusbar-used', 'section' => 'misc/onlinestatus' );
 116+ $preferences['OnlineStatusBar_status'] = array( 'type' => 'radio', 'label-message' => 'onlinestatusbar-status', 'section' => 'misc/onlinestatus',
117117 'options' => array(
118118 $wgOnlineStatusBarModes['online'] => 'online',
119119 $wgOnlineStatusBarModes['busy'] => 'busy',

Status & tagging log