Index: trunk/extensions/UsabilityInitiative/PrefSwitch/SpecialPrefSwitch.php |
— | — | @@ -38,7 +38,7 @@ |
39 | 39 | if ( $user->isAnon() ) { |
40 | 40 | return false; |
41 | 41 | } |
42 | | - // Swtiched on means any of the preferences in the set are turned on |
| 42 | + // Switched on means any of the preferences in the set are turned on |
43 | 43 | foreach ( $wgPrefSwitchPrefs['on'] as $pref => $value ) { |
44 | 44 | if ( $user->getOption( $pref ) == $value ) { |
45 | 45 | return true; |
— | — | @@ -198,7 +198,7 @@ |
199 | 199 | 'method' => 'post', |
200 | 200 | 'action' => $this->getTitle()->getLinkURL( $query ), |
201 | 201 | 'class' => 'prefswitch-survey', |
202 | | - 'id' => 'prefswitch-survey-{$name}', |
| 202 | + 'id' => "prefswitch-survey-{$name}", |
203 | 203 | ) |
204 | 204 | ); |
205 | 205 | $html .= Xml::hidden( 'mode', $mode ); |