r49825 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49824‎ | r49825 | r49826 >
Date:18:06, 24 April 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Updates preferences handling to work with r49790 and up. Needs review, as there is more preferences related logic that I am not able to assess.
* update compatibility notice
Modified paths:
  • /trunk/extensions/OnlineStatus/OnlineStatus.i18n.php (modified) (history)
  • /trunk/extensions/OnlineStatus/OnlineStatus.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OnlineStatus/OnlineStatus.php
@@ -4,7 +4,7 @@
55 * Extension that adds a new toggle in user preferences to show if the user is
66 * aviabled or not. See http://mediawiki.org/wiki/Extension:OnlineStatus for
77 * more informations.
8 - * Require MediaWiki 1.11.0 to work.
 8+ * Require MediaWiki 1.15 alpha r49790 or higher to work.
99 *
1010 * @addtogroup Extensions
1111 * @author Alexandre Emsenhuber
@@ -27,6 +27,7 @@
2828 */
2929 $wgAllowAnyUserOnlineStatusFunction = true;
3030
 31+// FIXME: Should be a separate class file
3132 class OnlineStatus {
3233
3334 static function init(){
@@ -54,7 +55,7 @@
5556 $wgHooks['SavePreferences'][] = 'OnlineStatus::SavePreferences';
5657
5758 // User hook
58 - $wgHooks['UserToggles'][] = 'OnlineStatus::UserToggles';
 59+ $wgHooks['GetPreferences'][] = 'OnlineStatus::onGetPreferences';
5960 $wgHooks['UserLoginComplete'][] = 'OnlineStatus::UserLoginComplete';
6061 $wgHooks['UserLogoutComplete'][] = 'OnlineStatus::UserLogoutComplete';
6162
@@ -288,23 +289,35 @@
289290 }
290291
291292 /**
292 - * Hook for UserToggles
 293+ * Hook for user preferences
293294 */
294 - static function UserToggles( &$toggles ){
295 - $toggles[] = 'onlineOnLogin';
296 - $toggles[] = 'offlineOnLogout';
297 - return true;
 295+ public static function onGetPreferences( $user, &$preferences ) {
 296+ $preferences['onlinestatusonlogin'] =
 297+ array(
 298+ 'type' => 'toggle',
 299+ 'section' => 'misc',
 300+ 'label-message' => 'onlinestatus-pref-onlineonlogin',
 301+ );
 302+
 303+ $preferences['onlinestatusonlogoff'] =
 304+ array(
 305+ 'type' => 'toggle',
 306+ 'section' => 'misc',
 307+ 'label-message' => 'onlinestatus-pref-offlineonlogout',
 308+ );
 309+
 310+ return true;
298311 }
299312
300313 /**
301314 * Hook for UserLoginComplete
302315 */
303316 static function UserLoginComplete( $user ){
304 - if( $user->getOption( 'offlineOnLogout' ) ){
 317+ if( $user->getOption( 'offlineonlogout' ) ){
305318 $user->setOption( 'online', 'online' );
306319 $user->saveSettings();
307320 }
308 - return true;
 321+ return true;
309322 }
310323
311324 /**
@@ -316,11 +329,11 @@
317330 $oldUser = User::newFromName( $oldName );
318331 if( !$oldUser instanceof User )
319332 return true;
320 - if( $oldUser->getOption( 'offlineOnLogout' ) ){
 333+ if( $oldUser->getOption( 'offlineonlogout' ) ){
321334 $oldUser->setOption( 'online', 'offline' );
322335 $oldUser->saveSettings();
323336 }
324 - return true;
 337+ return true;
325338 }
326339
327340 /**
Index: trunk/extensions/OnlineStatus/OnlineStatus.i18n.php
@@ -8,22 +8,22 @@
99 $messages = array();
1010
1111 $messages['en'] = array(
12 - 'onlinestatus-desc' => 'Add a preference to show if the user is currently present or not on the wiki',
13 - 'onlinestatus-js-anon' => 'Error: you must be logged in to use this feature',
14 - 'onlinestatus-js-changed' => 'Your status has been changed to "$1"',
15 - 'onlinestatus-js-error' => 'Impossible to change status, value "$1" is invalid',
16 - 'onlinestatus-levels' => '* online
 12+ 'onlinestatus-desc' => 'Add a preference to show if the user is currently present or not on the wiki',
 13+ 'onlinestatus-js-anon' => 'Error: you must be logged in to use this feature',
 14+ 'onlinestatus-js-changed' => 'Your status has been changed to "$1"',
 15+ 'onlinestatus-js-error' => 'Impossible to change status, value "$1" is invalid',
 16+ 'onlinestatus-levels' => '* online
1717 * offline', // Do not translate this message
1818 'onlinestatus-subtitle-offline' => 'This user is currently offline',
19 - 'onlinestatus-subtitle-online' => 'This user is currently online',
20 - 'onlinestatus-tab' => 'Status',
21 - 'onlinestatus-toggles-desc' => 'Your status:',
22 - 'onlinestatus-toggles-explain' => 'This allows you to show to other users if you are actually online or not by viewing your user page.',
23 - 'onlinestatus-toggles-show' => 'Show online status on my user page',
24 - 'onlinestatus-toggle-offline' => 'Offline',
25 - 'onlinestatus-toggle-online' => 'Online',
26 - 'tog-onlineOnLogin' => 'Change my status to online when logging-in',
27 - 'tog-offlineOnLogout' => 'Change my status to offline when logging-out',
 19+ 'onlinestatus-subtitle-online' => 'This user is currently online',
 20+ 'onlinestatus-tab' => 'Status',
 21+ 'onlinestatus-toggles-desc' => 'Your status:',
 22+ 'onlinestatus-toggles-explain' => 'This allows you to show to other users if you are actually online or not by viewing your user page.',
 23+ 'onlinestatus-toggles-show' => 'Show online status on my user page',
 24+ 'onlinestatus-toggle-offline' => 'Offline',
 25+ 'onlinestatus-toggle-online' => 'Online',
 26+ 'onlinestatus-pref-offlineonlogon' => 'Change my status to online when logging-in',
 27+ 'onlinestatus-pref-offlineonlogout' => 'Change my status to offline when logging-out',
2828 );
2929
3030 /** Message documentation (Message documentation)
@@ -63,8 +63,8 @@
6464 'onlinestatus-toggles-show' => 'اعرض حالتي على الإنترنت على صفحة مستخدمي',
6565 'onlinestatus-toggle-offline' => 'غير متصل',
6666 'onlinestatus-toggle-online' => 'متصل',
67 - 'tog-onlineOnLogin' => 'غير حالتي إلى موجود عند تسجيل الدخول',
68 - 'tog-offlineOnLogout' => 'غير حالتي إلى غير موجود عند تسجيل الخروج',
 67+ 'onlinestatus-pref-offlineonlogon' => 'غير حالتي إلى موجود عند تسجيل الدخول',
 68+ 'onlinestatus-pref-offlineonlogout' => 'غير حالتي إلى غير موجود عند تسجيل الخروج',
6969 );
7070
7171 /** Egyptian Spoken Arabic (مصرى)
@@ -84,8 +84,8 @@
8585 'onlinestatus-toggles-show' => 'اعرض حالتى على الإنترنت على صفحة يوزرى',
8686 'onlinestatus-toggle-offline' => 'غير متصل',
8787 'onlinestatus-toggle-online' => 'متصل',
88 - 'tog-onlineOnLogin' => 'غير حالتى إلى موجود عند تسجيل الدخول',
89 - 'tog-offlineOnLogout' => 'غير حالتى إلى غير موجود عند تسجيل الخروج',
 88+ 'onlinestatus-pref-offlineonlogon' => 'غير حالتى إلى موجود عند تسجيل الدخول',
 89+ 'onlinestatus-pref-offlineonlogout' => 'غير حالتى إلى غير موجود عند تسجيل الخروج',
9090 );
9191
9292 /** Belarusian (Taraškievica orthography) (Беларуская (тарашкевіца))
@@ -105,8 +105,8 @@
106106 'onlinestatus-toggles-show' => 'Паказаць маю прысутнасьць на маёй старонцы ўдзельніка',
107107 'onlinestatus-toggle-offline' => 'Няма ў {{GRAMMAR:месны|{{SITENAME}}}}',
108108 'onlinestatus-toggle-online' => 'У {{GRAMMAR:месны|{{SITENAME}}}}',
109 - 'tog-onlineOnLogin' => 'Зьмяняць мой статус на «у {{GRAMMAR:месны|{{SITENAME}}}}» пры ўваходзе ў сыстэму',
110 - 'tog-offlineOnLogout' => 'Зьмяняць мой статус на «няма ў {{GRAMMAR:месны|{{SITENAME}}}}» пры выхадзе з сыстэмы',
 109+ 'onlinestatus-pref-offlineonlogon' => 'Зьмяняць мой статус на «у {{GRAMMAR:месны|{{SITENAME}}}}» пры ўваходзе ў сыстэму',
 110+ 'onlinestatus-pref-offlineonlogout' => 'Зьмяняць мой статус на «няма ў {{GRAMMAR:месны|{{SITENAME}}}}» пры выхадзе з сыстэмы',
111111 );
112112
113113 /** Bulgarian (Български)
@@ -141,8 +141,8 @@
142142 'onlinestatus-toggles-show' => 'Prikaži status na mreži na mojoj korisničkoj stranici',
143143 'onlinestatus-toggle-offline' => 'Van mreže',
144144 'onlinestatus-toggle-online' => 'Na mreži',
145 - 'tog-onlineOnLogin' => "Promijeni moj status na ''na mreži'' pri prijavi",
146 - 'tog-offlineOnLogout' => "Promijeni moj status na ''van mreže'' pri odjavi",
 145+ 'onlinestatus-pref-offlineonlogon' => "Promijeni moj status na ''na mreži'' pri prijavi",
 146+ 'onlinestatus-pref-offlineonlogout' => "Promijeni moj status na ''van mreže'' pri odjavi",
147147 );
148148
149149 /** Catalan (Català)
@@ -159,8 +159,8 @@
160160 'onlinestatus-toggles-show' => "Mostra l'estat de connexió a la pàgina d'usuari",
161161 'onlinestatus-toggle-offline' => 'Desconnectat',
162162 'onlinestatus-toggle-online' => 'Connectat',
163 - 'tog-onlineOnLogin' => 'Canvia el meu estat a «en línia» en iniciar sessió',
164 - 'tog-offlineOnLogout' => 'Canvia el meu estat a «fora de línia» quan finalitzi la sessió',
 163+ 'onlinestatus-pref-offlineonlogon' => 'Canvia el meu estat a «en línia» en iniciar sessió',
 164+ 'onlinestatus-pref-offlineonlogout' => 'Canvia el meu estat a «fora de línia» quan finalitzi la sessió',
165165 );
166166
167167 /** Czech (Česky)
@@ -181,8 +181,8 @@
182182 'onlinestatus-toggles-show' => 'Zobrazovat můj stav na mojí uživatelské stránce',
183183 'onlinestatus-toggle-offline' => 'Odpojený',
184184 'onlinestatus-toggle-online' => 'Připojený',
185 - 'tog-onlineOnLogin' => 'Změnit po přihlášení můj stav na „online“',
186 - 'tog-offlineOnLogout' => 'Změnit po odhlášení můj stav na „offline“',
 185+ 'onlinestatus-pref-offlineonlogon' => 'Změnit po přihlášení můj stav na „online“',
 186+ 'onlinestatus-pref-offlineonlogout' => 'Změnit po odhlášení můj stav na „offline“',
187187 );
188188
189189 /** Welsh (Cymraeg)
@@ -201,8 +201,8 @@
202202 'onlinestatus-toggles-show' => 'Dangos fy nghylwr ar/all-lein ar fy nhudalen defnyddiwr',
203203 'onlinestatus-toggle-offline' => 'All-lein',
204204 'onlinestatus-toggle-online' => 'Ar-lein',
205 - 'tog-onlineOnLogin' => 'Newid nodyn fy nghyflwr i ar-lein wrth fewngofnodi',
206 - 'tog-offlineOnLogout' => 'Newid nodyn fy nghyflwr i all-lein wrth allgofnodi',
 205+ 'onlinestatus-pref-offlineonlogon' => 'Newid nodyn fy nghyflwr i ar-lein wrth fewngofnodi',
 206+ 'onlinestatus-pref-offlineonlogout' => 'Newid nodyn fy nghyflwr i all-lein wrth allgofnodi',
207207 );
208208
209209 /** German (Deutsch)
@@ -221,8 +221,8 @@
222222 'onlinestatus-toggles-show' => 'Zeige Onlinestatus auf meiner Benutzerseite',
223223 'onlinestatus-toggle-offline' => 'Offline',
224224 'onlinestatus-toggle-online' => 'Online',
225 - 'tog-onlineOnLogin' => 'Status auf online ändern, sobald ich mich anmelde',
226 - 'tog-offlineOnLogout' => 'Status auf offline ändern, wenn ich mich abmelde',
 225+ 'onlinestatus-pref-offlineonlogon' => 'Status auf online ändern, sobald ich mich anmelde',
 226+ 'onlinestatus-pref-offlineonlogout' => 'Status auf offline ändern, wenn ich mich abmelde',
227227 );
228228
229229 /** Lower Sorbian (Dolnoserbski)
@@ -241,8 +241,8 @@
242242 'onlinestatus-toggles-show' => 'Status online na mójom wužywarskim boku pokazaś',
243243 'onlinestatus-toggle-offline' => 'Offline',
244244 'onlinestatus-toggle-online' => 'Online',
245 - 'tog-onlineOnLogin' => 'Status pśi pśizjawjenju do online změniś',
246 - 'tog-offlineOnLogout' => 'Status pśi wótzjawjenju do offline změniś',
 245+ 'onlinestatus-pref-offlineonlogon' => 'Status pśi pśizjawjenju do online změniś',
 246+ 'onlinestatus-pref-offlineonlogout' => 'Status pśi wótzjawjenju do offline změniś',
247247 );
248248
249249 /** Esperanto (Esperanto)
@@ -293,8 +293,8 @@
294294 'onlinestatus-toggles-show' => 'Erakutsi konexio egoera nire erabiltzaile orrialdean',
295295 'onlinestatus-toggle-offline' => 'Deskonektatuta',
296296 'onlinestatus-toggle-online' => 'Konektatuta',
297 - 'tog-onlineOnLogin' => 'Saioa hastean nire konexio-egoera konektatua jarri',
298 - 'tog-offlineOnLogout' => 'Saioa ixtean nire konexio-egoera deskonektatua jarri',
 297+ 'onlinestatus-pref-offlineonlogon' => 'Saioa hastean nire konexio-egoera konektatua jarri',
 298+ 'onlinestatus-pref-offlineonlogout' => 'Saioa ixtean nire konexio-egoera deskonektatua jarri',
299299 );
300300
301301 /** Finnish (Suomi)
@@ -332,8 +332,8 @@
333333 'onlinestatus-toggles-show' => 'Montrer mon statut sur ma page utilisateur',
334334 'onlinestatus-toggle-offline' => 'Absent',
335335 'onlinestatus-toggle-online' => 'Présent',
336 - 'tog-onlineOnLogin' => 'Changer mon statut à en ligne quand je me connecte',
337 - 'tog-offlineOnLogout' => 'Changer mon statut à hors ligne quand je me déconnecte',
 336+ 'onlinestatus-pref-offlineonlogon' => 'Changer mon statut à en ligne quand je me connecte',
 337+ 'onlinestatus-pref-offlineonlogout' => 'Changer mon statut à hors ligne quand je me déconnecte',
338338 );
339339
340340 /** Galician (Galego)
@@ -352,8 +352,8 @@
353353 'onlinestatus-toggles-show' => 'Amosar o meu estado na miña páxina de usuario',
354354 'onlinestatus-toggle-offline' => 'Desconectado',
355355 'onlinestatus-toggle-online' => 'Conectado',
356 - 'tog-onlineOnLogin' => 'Cambiar o meu status a "conectado" cando acceda ao sistema',
357 - 'tog-offlineOnLogout' => 'Cambiar o meu status a "desconectado" cando saia do sistema',
 356+ 'onlinestatus-pref-offlineonlogon' => 'Cambiar o meu status a "conectado" cando acceda ao sistema',
 357+ 'onlinestatus-pref-offlineonlogout' => 'Cambiar o meu status a "desconectado" cando saia do sistema',
358358 );
359359
360360 /** Ancient Greek (Ἀρχαία ἑλληνικὴ)
@@ -379,8 +379,8 @@
380380 'onlinestatus-toggles-show' => 'Zeig Onlinestatus uf myynere Benutzersyte',
381381 'onlinestatus-toggle-offline' => 'Offline',
382382 'onlinestatus-toggle-online' => 'Online',
383 - 'tog-onlineOnLogin' => 'Status uf online ändere, wänn i mi aamäld',
384 - 'tog-offlineOnLogout' => 'Status uf offline ändere, wänn i mi abmäld',
 383+ 'onlinestatus-pref-offlineonlogon' => 'Status uf online ändere, wänn i mi aamäld',
 384+ 'onlinestatus-pref-offlineonlogout' => 'Status uf offline ändere, wänn i mi abmäld',
385385 );
386386
387387 /** Hebrew (עברית)
@@ -400,8 +400,8 @@
401401 'onlinestatus-toggles-show' => 'הצגת מצב הנוכחות בדף המשתמש שלכם',
402402 'onlinestatus-toggle-offline' => 'מנותק',
403403 'onlinestatus-toggle-online' => 'מקוון',
404 - 'tog-onlineOnLogin' => 'שינוי המצב שלכם למקוון בעת הכניסה לחשבון',
405 - 'tog-offlineOnLogout' => 'שינוי המצב שלכם למנותק בעת היציאה מהחשבון',
 404+ 'onlinestatus-pref-offlineonlogon' => 'שינוי המצב שלכם למקוון בעת הכניסה לחשבון',
 405+ 'onlinestatus-pref-offlineonlogout' => 'שינוי המצב שלכם למנותק בעת היציאה מהחשבון',
406406 );
407407
408408 /** Hindi (हिन्दी)
@@ -447,8 +447,8 @@
448448 'onlinestatus-toggles-show' => 'Status online na mojej wužiwarskej stronje pokazać',
449449 'onlinestatus-toggle-offline' => 'Offline',
450450 'onlinestatus-toggle-online' => 'Online',
451 - 'tog-onlineOnLogin' => 'Při přizjewjenju status do online změnić',
452 - 'tog-offlineOnLogout' => 'Při wotzjewjenju status do offline změnić',
 451+ 'onlinestatus-pref-offlineonlogon' => 'Při přizjewjenju status do online změnić',
 452+ 'onlinestatus-pref-offlineonlogout' => 'Při wotzjewjenju status do offline změnić',
453453 );
454454
455455 /** Hungarian (Magyar)
@@ -466,7 +466,7 @@
467467 'onlinestatus-toggles-explain' => 'Lehetővé teszi számodra, hogy a szerkesztői lapodon jelezd más szerkesztők számára, hogy wikiközelben vagy-e vagy sem.',
468468 'onlinestatus-toggles-show' => 'Elérhetőségi állapotom mutatása a szerkesztői lapomon',
469469 'onlinestatus-toggle-online' => 'Elérhető',
470 - 'tog-onlineOnLogin' => 'Változtassa az állapotomat elérhetőre, ha bejelentkezek',
 470+ 'onlinestatus-pref-offlineonlogon' => 'Változtassa az állapotomat elérhetőre, ha bejelentkezek',
471471 );
472472
473473 /** Interlingua (Interlingua)
@@ -485,8 +485,8 @@
486486 'onlinestatus-toggles-show' => 'Monstrar mi stato de connexion in mi pagina de usator',
487487 'onlinestatus-toggle-offline' => 'Foras de linea',
488488 'onlinestatus-toggle-online' => 'In linea',
489 - 'tog-onlineOnLogin' => 'Cambiar mi stato a in linea quando io aperi un session',
490 - 'tog-offlineOnLogout' => 'Cambiar mi stato a foras de linea quando io claude mi session',
 489+ 'onlinestatus-pref-offlineonlogon' => 'Cambiar mi stato a in linea quando io aperi un session',
 490+ 'onlinestatus-pref-offlineonlogout' => 'Cambiar mi stato a foras de linea quando io claude mi session',
491491 );
492492
493493 /** Japanese (日本語)
@@ -506,8 +506,8 @@
507507 'onlinestatus-toggles-show' => '自分の利用者ページでオンライン状態を表示する',
508508 'onlinestatus-toggle-offline' => 'オフライン',
509509 'onlinestatus-toggle-online' => 'オンライン',
510 - 'tog-onlineOnLogin' => 'ログイン時に、自分の状態をオンラインに変更する',
511 - 'tog-offlineOnLogout' => 'ログアウト時に、自分の状態をオフラインに変更する',
 510+ 'onlinestatus-pref-offlineonlogon' => 'ログイン時に、自分の状態をオンラインに変更する',
 511+ 'onlinestatus-pref-offlineonlogout' => 'ログアウト時に、自分の状態をオフラインに変更する',
512512 );
513513
514514 /** Javanese (Basa Jawa)
@@ -537,8 +537,8 @@
538538 'onlinestatus-toggles-show' => 'បង្ហាញ​ស្ថានភាព​លើបណ្ដាញ​នៅ​លើ​ទំព័រ​អ្នកប្រើប្រាស់​របស់​ខ្ញុំ',
539539 'onlinestatus-toggle-offline' => 'ក្រៅបណ្ដាញ',
540540 'onlinestatus-toggle-online' => 'លើបណ្ដាញ',
541 - 'tog-onlineOnLogin' => 'ផ្លាស់ប្ដូរ​ស្ថានភាព​របស់​ខ្ញុំ​ទៅជា​លើបណ្ដាញ នៅពេល​ឡុកអ៊ីន​(ចូល)',
542 - 'tog-offlineOnLogout' => 'ផ្លាស់ប្ដូរ​ស្ថានភាព​របស់​ខ្ញុំ​ទៅជា​ក្រៅបណ្ដាញ នៅពេល​ចាកចេញ',
 541+ 'onlinestatus-pref-offlineonlogon' => 'ផ្លាស់ប្ដូរ​ស្ថានភាព​របស់​ខ្ញុំ​ទៅជា​លើបណ្ដាញ នៅពេល​ឡុកអ៊ីន​(ចូល)',
 542+ 'onlinestatus-pref-offlineonlogout' => 'ផ្លាស់ប្ដូរ​ស្ថានភាព​របស់​ខ្ញុំ​ទៅជា​ក្រៅបណ្ដាញ នៅពេល​ចាកចេញ',
543543 );
544544
545545 /** Ripoarisch (Ripoarisch)
@@ -557,8 +557,8 @@
558558 'onlinestatus-toggles-show' => 'Zeich minge Online-Stattus op minge Metmachersigg',
559559 'onlinestatus-toggle-offline' => 'Offline',
560560 'onlinestatus-toggle-online' => 'Online',
561 - 'tog-onlineOnLogin' => 'Donn minge Stattuß op „onlain“ saze, wann esch ennlogg',
562 - 'tog-offlineOnLogout' => 'Donn minge Stattuß op „offlain“ saze, wann esch ußlogg',
 561+ 'onlinestatus-pref-offlineonlogon' => 'Donn minge Stattuß op „onlain“ saze, wann esch ennlogg',
 562+ 'onlinestatus-pref-offlineonlogout' => 'Donn minge Stattuß op „offlain“ saze, wann esch ußlogg',
563563 );
564564
565565 /** Luxembourgish (Lëtzebuergesch)
@@ -577,8 +577,8 @@
578578 'onlinestatus-toggles-show' => 'Online-Status op menger Benotzersäit weisen',
579579 'onlinestatus-toggle-offline' => 'Offline',
580580 'onlinestatus-toggle-online' => 'Online',
581 - 'tog-onlineOnLogin' => 'Mäi Statut op online änneren esoubal ech mech aloggen',
582 - 'tog-offlineOnLogout' => 'Mäi Statu op offline änneren esoubal ech mech ausloggen',
 581+ 'onlinestatus-pref-offlineonlogon' => 'Mäi Statut op online änneren esoubal ech mech aloggen',
 582+ 'onlinestatus-pref-offlineonlogout' => 'Mäi Statu op offline änneren esoubal ech mech ausloggen',
583583 );
584584
585585 /** Lithuanian (Lietuvių)
@@ -633,8 +633,8 @@
634634 'onlinestatus-toggles-show' => 'Onlinestatus weergeven op mijn gebruikerspagina',
635635 'onlinestatus-toggle-offline' => 'Offline',
636636 'onlinestatus-toggle-online' => 'Online',
637 - 'tog-onlineOnLogin' => 'Mijn status naar online wijzigen als ik me aanmeld',
638 - 'tog-offlineOnLogout' => 'Mijn status naar offline wijzigen als ik me afmeld',
 637+ 'onlinestatus-pref-offlineonlogon' => 'Mijn status naar online wijzigen als ik me aanmeld',
 638+ 'onlinestatus-pref-offlineonlogout' => 'Mijn status naar offline wijzigen als ik me afmeld',
639639 );
640640
641641 /** Norwegian Nynorsk (‪Norsk (nynorsk)‬)
@@ -653,8 +653,8 @@
654654 'onlinestatus-toggles-show' => 'Vis påloggingsstatus på brukarsida mi',
655655 'onlinestatus-toggle-offline' => 'Ikkje pålogga',
656656 'onlinestatus-toggle-online' => 'Logga på',
657 - 'tog-onlineOnLogin' => 'Endra statusen min til pålogga når eg loggar inn',
658 - 'tog-offlineOnLogout' => 'Endra statusen min til ikkje pålogga når eg loggar ut',
 657+ 'onlinestatus-pref-offlineonlogon' => 'Endra statusen min til pålogga når eg loggar inn',
 658+ 'onlinestatus-pref-offlineonlogout' => 'Endra statusen min til ikkje pålogga når eg loggar ut',
659659 );
660660
661661 /** Norwegian (bokmål)‬ (‪Norsk (bokmål)‬)
@@ -691,8 +691,8 @@
692692 'onlinestatus-toggles-show' => "Mostrar mon estatut sus ma pagina d'utilizaire",
693693 'onlinestatus-toggle-offline' => 'Absent',
694694 'onlinestatus-toggle-online' => 'Present',
695 - 'tog-onlineOnLogin' => 'Cambiar mon estatut a en linha quand me connècti',
696 - 'tog-offlineOnLogout' => 'Cambiar mon estatut a fòra linha quand me desconnècti',
 695+ 'onlinestatus-pref-offlineonlogon' => 'Cambiar mon estatut a en linha quand me connècti',
 696+ 'onlinestatus-pref-offlineonlogout' => 'Cambiar mon estatut a fòra linha quand me desconnècti',
697697 );
698698
699699 /** Ossetic (Иронау)
@@ -748,8 +748,8 @@
749749 'onlinestatus-toggles-show' => 'Exibir o estado da minha ligação na minha página de utilizador',
750750 'onlinestatus-toggle-offline' => 'Offline',
751751 'onlinestatus-toggle-online' => 'Online',
752 - 'tog-onlineOnLogin' => 'Alterar o meu estado para online quando me autenticar',
753 - 'tog-offlineOnLogout' => 'Alterar o meu estado para offline quando me desautenticar',
 752+ 'onlinestatus-pref-offlineonlogon' => 'Alterar o meu estado para online quando me autenticar',
 753+ 'onlinestatus-pref-offlineonlogout' => 'Alterar o meu estado para offline quando me desautenticar',
754754 );
755755
756756 /** Brazilian Portuguese (Português do Brasil)
@@ -768,8 +768,8 @@
769769 'onlinestatus-toggles-show' => 'Exibir o estado da minha ligação na minha página de utilizador',
770770 'onlinestatus-toggle-offline' => 'Offline',
771771 'onlinestatus-toggle-online' => 'Online',
772 - 'tog-onlineOnLogin' => 'Alterar o meu estado para online quando me autenticar',
773 - 'tog-offlineOnLogout' => 'Alterar o meu estado para offline quando me desautenticar',
 772+ 'onlinestatus-pref-offlineonlogon' => 'Alterar o meu estado para online quando me autenticar',
 773+ 'onlinestatus-pref-offlineonlogout' => 'Alterar o meu estado para offline quando me desautenticar',
774774 );
775775
776776 /** Russian (Русский)
@@ -804,8 +804,8 @@
805805 'onlinestatus-toggles-show' => 'Zobrazovať stav pripojenia na mojej používateľskej stránke',
806806 'onlinestatus-toggle-offline' => 'Odpojený',
807807 'onlinestatus-toggle-online' => 'Pripojený',
808 - 'tog-onlineOnLogin' => 'Zmeniť môj stav na online počas prihlasovania',
809 - 'tog-offlineOnLogout' => 'Zmeniť môj stav na offline počas odhlasovania',
 808+ 'onlinestatus-pref-offlineonlogon' => 'Zmeniť môj stav na online počas prihlasovania',
 809+ 'onlinestatus-pref-offlineonlogout' => 'Zmeniť môj stav na offline počas odhlasovania',
810810 );
811811
812812 /** Serbian Cyrillic ekavian (ћирилица)
@@ -843,8 +843,8 @@
844844 'onlinestatus-toggles-show' => 'Visa anslutningsstatus på min användarsida',
845845 'onlinestatus-toggle-offline' => 'Ej ansluten',
846846 'onlinestatus-toggle-online' => 'Ansluten',
847 - 'tog-onlineOnLogin' => 'Ändra min status till online när jag loggar in',
848 - 'tog-offlineOnLogout' => 'Ändra min status till offline när jag loggar ut',
 847+ 'onlinestatus-pref-offlineonlogon' => 'Ändra min status till online när jag loggar in',
 848+ 'onlinestatus-pref-offlineonlogout' => 'Ändra min status till offline när jag loggar ut',
849849 );
850850
851851 /** Tamil (தமிழ்)
@@ -886,8 +886,8 @@
887887 'onlinestatus-toggles-show' => 'Ipakita sa ibabaw ng aking pahina ng tagagamit ang aking katayuan ng pagkakaugnay sa internet',
888888 'onlinestatus-toggle-offline' => 'Hindi nakaugnay sa internet',
889889 'onlinestatus-toggle-online' => 'Nakaugnay sa internet',
890 - 'tog-onlineOnLogin' => 'Palitan ang katayuan ko bilang nakakunekta sa internet kapag lumalagda',
891 - 'tog-offlineOnLogout' => 'Palitan ang katayuan ko bilang hindi nakakunekta sa internet kapag umaalis sa pagkakalagda',
 890+ 'onlinestatus-pref-offlineonlogon' => 'Palitan ang katayuan ko bilang nakakunekta sa internet kapag lumalagda',
 891+ 'onlinestatus-pref-offlineonlogout' => 'Palitan ang katayuan ko bilang hindi nakakunekta sa internet kapag umaalis sa pagkakalagda',
892892 );
893893
894894 /** Vèneto (Vèneto)
@@ -906,8 +906,8 @@
907907 'onlinestatus-toggles-show' => 'Mostra se son in linea o no su la me pagina utente',
908908 'onlinestatus-toggle-offline' => 'Mìa in linea',
909909 'onlinestatus-toggle-online' => 'In linea',
910 - 'tog-onlineOnLogin' => 'Canbia el me stato a "online" co fasso el login',
911 - 'tog-offlineOnLogout' => 'Canbia el me stato a "offline" co me desconéto',
 910+ 'onlinestatus-pref-offlineonlogon' => 'Canbia el me stato a "online" co fasso el login',
 911+ 'onlinestatus-pref-offlineonlogout' => 'Canbia el me stato a "offline" co me desconéto',
912912 );
913913
914914 /** Veps (Vepsan kel')

Follow-up revisions

RevisionCommit summaryAuthorDate
r49827First fix for r49825: correct message name :)ialex18:29, 24 April 2009
r49838Follow-up r49825: complete compatibility with the new preferences systemialex20:08, 24 April 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r49790Branch merge of preferences work branch. Includes fixes for several bugs. WAR...werdna01:31, 24 April 2009

Status & tagging log