Index: branches/wmf-deployment/extensions/UsabilityInitiative/OptIn/SpecialOptIn.php |
— | — | @@ -25,11 +25,11 @@ |
26 | 26 | return false; |
27 | 27 | |
28 | 28 | foreach ( $wgOptInPrefs as $pref => $value ) { |
29 | | - if ( $user->getOption( $pref ) != $value ) { |
30 | | - return false; |
| 29 | + if ( $pref != 'skin' && $user->getOption( $pref ) == $value ) { |
| 30 | + return true; |
31 | 31 | } |
32 | 32 | } |
33 | | - return true; |
| 33 | + return false; |
34 | 34 | } |
35 | 35 | |
36 | 36 | public static function checkToken() { |
Property changes on: branches/wmf-deployment/extensions/UsabilityInitiative/OptIn |
___________________________________________________________________ |
Name: svn:mergeinfo |
37 | 37 | + /branches/REL1_15/phase3/extensions/UsabilityInitiative/OptIn:51646 |
/trunk/extensions/UsabilityInitiative/OptIn:56207,56209,56296,56333,56355,62041,62043,62140 |
/trunk/phase3/extensions/UsabilityInitiative/OptIn:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57541,57916,58151,58219,58633,58816 |