r64533 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64532‎ | r64533 | r64534 >
Date:21:15, 2 April 2010
Author:catrope
Status:deferred
Tags:
Comment:
Followup to r64532: forgot to commit a file
Modified paths:
  • /trunk/extensions/UsabilityInitiative/PrefSwitch/SpecialPrefSwitch.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/PrefSwitch/SpecialPrefSwitch.php
@@ -38,7 +38,7 @@
3939 if ( $user->isAnon() ) {
4040 return false;
4141 }
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
4343 foreach ( $wgPrefSwitchPrefs['on'] as $pref => $value ) {
4444 if ( $user->getOption( $pref ) == $value ) {
4545 return true;
@@ -198,7 +198,7 @@
199199 'method' => 'post',
200200 'action' => $this->getTitle()->getLinkURL( $query ),
201201 'class' => 'prefswitch-survey',
202 - 'id' => 'prefswitch-survey-{$name}',
 202+ 'id' => "prefswitch-survey-{$name}",
203203 )
204204 );
205205 $html .= Xml::hidden( 'mode', $mode );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r64532PrefSwitch: Some cleanup, documentationcatrope21:08, 2 April 2010

Status & tagging log