Index: branches/wmf/1.17wmf1/extensions/WikimediaMobile/WikimediaMobile.i18n.php |
— | — | @@ -28,7 +28,14 @@ |
29 | 29 | 'wikimediamobile-desc' => 'Ondersteunende funksies in MediaWiki vir die projek Wikipedia-mobiel by http://github.com/hcatlin/wikimedia-mobile', |
30 | 30 | ); |
31 | 31 | |
32 | | -/** Belarusian (Taraškievica orthography) (Беларуская (тарашкевіца)) |
| 32 | +/** Asturian (Asturianu) |
| 33 | + * @author Xuacu |
| 34 | + */ |
| 35 | +$messages['ast'] = array( |
| 36 | + 'wikimediamobile-desc' => 'MediaWiki tien encontu pa les funciones del proyeutu Wikimedia-mobile agospiáu en http://github.com/hcatlin/wikimedia-mobile', |
| 37 | +); |
| 38 | + |
| 39 | +/** Belarusian (Taraškievica orthography) (Беларуская (тарашкевіца)) |
33 | 40 | * @author Wizardist |
34 | 41 | */ |
35 | 42 | $messages['be-tarask'] = array( |
— | — | @@ -117,6 +124,13 @@ |
118 | 125 | 'wikimediamobile-desc' => 'Funciones de apoyo de MediaWiki para el proyecto Wikimedia-mobile hospedado en http://github.com/hcatlin/wikimedia-mobile', |
119 | 126 | ); |
120 | 127 | |
| 128 | +/** Persian (فارسی) |
| 129 | + * @author Ebraminio |
| 130 | + */ |
| 131 | +$messages['fa'] = array( |
| 132 | + 'wikimediamobile-desc' => 'مدیاویکی از توابع پروژه ویکیمدیا-همراه که در http://github.com/hcatlin/wikimedia-mobile میزبانی شده حمایت میکند', |
| 133 | +); |
| 134 | + |
121 | 135 | /** French (Français) |
122 | 136 | * @author Peter17 |
123 | 137 | */ |
— | — | @@ -216,6 +230,13 @@ |
217 | 231 | 'wikimediamobile-desc' => 'MediaWiki ënnerstetzt Fonctioune fir de Wikimedia-Mobile Projet deen Dir op http://github.com/hcatlin/wikimedia-mobile fannt', |
218 | 232 | ); |
219 | 233 | |
| 234 | +/** Lithuanian (Lietuvių) |
| 235 | + * @author Eitvys200 |
| 236 | + */ |
| 237 | +$messages['lt'] = array( |
| 238 | + 'wikimediamobile-desc' => 'MediaWiki priima funkcijas Wikimedia-mobile patalpinta http://github.com/hcatlin/wikimedia-mobile', |
| 239 | +); |
| 240 | + |
220 | 241 | /** Latvian (Latviešu) |
221 | 242 | * @author Xil |
222 | 243 | */ |
— | — | @@ -230,6 +251,13 @@ |
231 | 252 | 'wikimediamobile-desc' => 'Функции на МедијаВики за поддршка на проектот на Википедија-мобилен, вдомен на http://github.com/hcatlin/wikimedia-mobile', |
232 | 253 | ); |
233 | 254 | |
| 255 | +/** Malayalam (മലയാളം) |
| 256 | + * @author Praveenp |
| 257 | + */ |
| 258 | +$messages['ml'] = array( |
| 259 | + 'wikimediamobile-desc' => 'http://github.com/hcatlin/wikimedia-mobile എന്ന് ഹോസ്റ്റ് ചെയ്യപ്പെട്ടിരിക്കുന്ന വിക്കിമീഡിയ-മൊബൈൽ പദ്ധതിയുടെ മീഡിയവിക്കി സഹായ ഫങ്ഷനുകൾ', |
| 260 | +); |
| 261 | + |
234 | 262 | /** Mongolian (Монгол) |
235 | 263 | * @author Namchin |
236 | 264 | */ |
— | — | @@ -277,7 +305,7 @@ |
278 | 306 | * @author Ahmed-Najib-Biabani-Ibrahimkhel |
279 | 307 | */ |
280 | 308 | $messages['ps'] = array( |
281 | | - 'wikimediamobile-desc' => 'ويکيمېډيا د ويکيمېډيا د موبايل پروژې د چارو چې په http://github.com/hcatlin/wikimedia-mobile باندې کوربه دی ملاتړ کوي', |
| 309 | + 'wikimediamobile-desc' => 'ويکيرسنۍ د ويکيرسنۍ د موبايل پروژې د چارو چې په http://github.com/hcatlin/wikimedia-mobile باندې کوربه دی ملاتړ کوي', |
282 | 310 | ); |
283 | 311 | |
284 | 312 | /** Portuguese (Português) |
Index: branches/wmf/1.17wmf1/extensions/WikimediaMobile/WikimediaMobile.php |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | $wgExtensionCredits['other'][] = array( |
10 | 10 | 'path' => __FILE__, |
11 | 11 | 'name' => 'WikimediaMobile', |
12 | | - 'author' => array( 'Tim Starling', 'Brion Vibber', 'Hampton Catlin' ), |
| 12 | + 'author' => array( 'Tim Starling', 'Brion Vibber', 'Hampton Catlin', 'Patrick Reilly' ), |
13 | 13 | 'url' => 'http://www.mediawiki.org/wiki/Extension:WikimediaMobile', |
14 | 14 | 'descriptionmsg' => 'wikimediamobile-desc', |
15 | 15 | ); |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | /** |
21 | 21 | * Increment this when the JS file changes |
22 | 22 | */ |
23 | | -$wgWikimediaMobileVersion = '7'; |
| 23 | +$wgWikimediaMobileVersion = '8'; |
24 | 24 | |
25 | 25 | /** |
26 | 26 | * The base URL of the mobile gateway |
Index: branches/wmf/1.17wmf1/extensions/WikimediaMobile/MobileRedirect.js |
— | — | @@ -5,7 +5,7 @@ |
6 | 6 | * |
7 | 7 | * You can turn off the redirect by setting the cookie "stopMobileRedirect=true" |
8 | 8 | */ |
9 | | -if ( /(iPhone|iPod|Android.*Mobile|webOS|NetFront|Opera Mini|SEMC-Browser|PlayStation Portable|Nintendo Wii|BlackBerry)/ |
| 9 | +if ( /(iPhone|iPod|Android.*Mobile|webOS|NetFront|Opera Mini|SEMC-Browser|PlayStation Portable|Nintendo Wii|BlackBerry|Bada|NokiaBrowser|MeeGo)/ |
10 | 10 | .test( navigator.userAgent ) ) |
11 | 11 | { |
12 | 12 | if ( (document.cookie.indexOf("irect=t") < 0) // Don't redirect if we have the stop cookie ... only testing a subportion of the cookie. Should be REALLY unique! |
Index: branches/wmf/1.17wmf1/extensions/WikimediaMobile/redirector_test.js |
— | — | @@ -112,6 +112,7 @@ |
113 | 113 | var testUserAgents = function() { |
114 | 114 | // iPhone |
115 | 115 | shouldRedirect({user_agent: "Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_2 like Mac OS X; en-us) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5G77 Safari/525.20"}); |
| 116 | + shouldRedirect({user_agent: "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5"}) |
116 | 117 | // Android on HTC Desire |
117 | 118 | shouldRedirect({user_agent: "Mozilla/5.0 (Linux; U; Android 2.1-update1; de-de; HTC Desire 1.19.161.5 Build/ERE27) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17"}); |
118 | 119 | // Nintendo Wii |
Property changes on: branches/wmf/1.17wmf1/extensions/WikimediaMobile |
___________________________________________________________________ |
Modified: svn:mergeinfo |
119 | 120 | Merged /trunk/extensions/WikimediaMobile:r84194-90540 |