Index: trunk/extensions/UsabilityInitiative/PrefSwitch/SpecialPrefSwitch.php |
— | — | @@ -259,6 +259,7 @@ |
260 | 260 | ); |
261 | 261 | break; |
262 | 262 | } |
| 263 | + // Uses prefswitch-main-anon, prefswitch-main-on and prefswitch-main-off |
263 | 264 | $wgOut->addWikiMsgArray( 'prefswitch-main-' . $state, $parameters, array( 'parse' ) ); |
264 | 265 | } |
265 | 266 | } |
Index: trunk/extensions/UsabilityInitiative/PrefSwitch/PrefSwitch.hooks.php |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | $query = array( 'from' => $title->getPrefixedDBKey(), 'fromquery' => wfArrayToCGI( $fromquery ) ); |
34 | 34 | } |
35 | 35 | $state = SpecialPrefSwitch::userState( $wgUser ); |
36 | | - // Inserts a link into personal tools |
| 36 | + // Inserts a link into personal tools - Uses prefswitch-link-anon, prefswitch-link-on and prefswitch-link-off |
37 | 37 | $personal_urls = array_merge( |
38 | 38 | array( |
39 | 39 | "prefswitch-link-{$state}" => array( |