Index: trunk/extensions/UsabilityInitiative/OptIn/OptIn.php |
— | — | @@ -28,7 +28,7 @@ |
29 | 29 | $wgOptInAlwaysShowPersonalLink = false; |
30 | 30 | $wgOptInNeverShowPersonalLink = false; |
31 | 31 | |
32 | | -$wgOptInStyleVersion = 7; |
| 32 | +$wgOptInStyleVersion = 8; |
33 | 33 | |
34 | 34 | // Preferences to set when users opt in |
35 | 35 | // array( prefname => value ) |
— | — | @@ -92,7 +92,9 @@ |
93 | 93 | 'type' => 'dropdown', |
94 | 94 | 'answers' => array( |
95 | 95 | 'windows' => 'optin-survey-answer-os-windows', |
| 96 | + 'windowsmobile' => 'optin-survey-answer-os-windowsmobile', |
96 | 97 | 'macos' => 'optin-survey-answer-os-macos', |
| 98 | + 'iphoneos' => 'ptin-survey-answer-os-iphoneos', |
97 | 99 | 'linux' => 'optin-survey-answer-os-linux' ), |
98 | 100 | 'other' => 'optin-survey-answer-os-other' ), |
99 | 101 | 'res' => array( |
Index: trunk/extensions/UsabilityInitiative/OptIn/OptIn.js |
— | — | @@ -70,9 +70,18 @@ |
71 | 71 | case 'win': |
72 | 72 | osIndex = 'windows'; |
73 | 73 | break; |
| 74 | + case 'iemobile': |
| 75 | + osIndex = 'windowsmobile'; |
| 76 | + break; |
74 | 77 | case 'mac': |
75 | 78 | osIndex = 'macos'; |
76 | 79 | break; |
| 80 | + case 'iphone': |
| 81 | + osIndex = 'iphoneos'; |
| 82 | + break; |
| 83 | + case 'ipod': |
| 84 | + osIndex = 'iphoneos'; |
| 85 | + break; |
77 | 86 | case 'linux': |
78 | 87 | osIndex = 'linux'; |
79 | 88 | break; |
Index: trunk/extensions/UsabilityInitiative/OptIn/OptIn.i18n.php |
— | — | @@ -81,7 +81,9 @@ |
82 | 82 | 'optin-survey-answer-browser-other' => 'Other browser:', |
83 | 83 | 'optin-survey-question-os' => 'Which operating system do you use?', |
84 | 84 | 'optin-survey-answer-os-windows' => 'Windows', |
| 85 | + 'optin-survey-answer-os-windowsmobile' => 'Windows Mobile', |
85 | 86 | 'optin-survey-answer-os-macos' => 'Mac OS', |
| 87 | + 'optin-survey-answer-os-iphoneos' => 'iPhone OS', |
86 | 88 | 'optin-survey-answer-os-linux' => 'Linux', |
87 | 89 | 'optin-survey-answer-os-other' => 'Other operating system:', |
88 | 90 | 'optin-survey-question-res' => 'What is the resolution of your screen?', |