Extension:MobileFrontend/Deployments/2012-05-07

commit 9eb66245597d5de71d3aab9bb4434702ec641fcc Author: Translation updater bot  Date:  Sat May 5 09:37:00 2012 +0000

Localisation updates from http://translatewiki.net. Change-Id: Ica32f710b0d7d57ebf08fc0234696ef6293dd140

commit dd13ffce7c34fd61a75189e67db514dcb18586c3 Author: Max Semenik  Date:  Sat May 5 01:50:19 2012 +0400

Preparations for moving classes into core Modify $wgAutoloadClasses only if particular class isn't there yet. Change-Id: I62bbd0f8991842dd7fdfb0b85e9b38abd8895ab4

commit 8562faffabf6d9e00fc6cc06ed1feb03d5b110a6 Author: Jon Robson  Date:  Fri May 4 16:21:21 2012 +0200

fix black text on nokia S60 (see bug 36490) this makes text readable in the input box Change-Id: I81e02ee5f996007b6eabf3dc07df99b5b08088b2

commit e303633991049e4d1c01e5a929b66cc3d3369c92 Author: Jon Robson  Date:  Fri May 4 16:20:03 2012 +0200

fix broken tests we should serve an opera mobile stylesheet to an iphone running opera mobile bad regex fixed Change-Id: I8b174baf22cd59b12c77eede61b3c1ec69f3810d

commit 50098894d5d55af6b2a0860e0768185e6162a4d7 Author: Jon Robson  Date:  Fri May 4 16:05:13 2012 +0200

add device detection tests follow up to 226f3fc3bbbe56419039aae2edfb2312fe8dae7e and d03a6c1088bf9c701ced2b5dccf0b6277d1871f0 Change-Id: I06f1f7bbd0a980375add3459d96686e235aa6765

commit 3f35cefa57c9705744dff973e4de500fd680b28e Author: Jon Robson  Date:  Fri May 4 14:39:47 2012 +0200

add personal information warning as requested here: http://www.mediawiki.org/w/index.php?title=Talk:Mobile_design/Contact&diff=0&oldid=519041 Change-Id: I0252c6b4ff1ca926d03b6f12e7acf3a7c45ea53f

commit fd0cb686b92a73391db6cb61b6d7102b52d68a16 Author: Jon Robson  Date:  Fri May 4 14:28:37 2012 +0200

move border underneath section this makes the back to top link appear within the section also in iphone the border was not showing at all Change-Id: Ia493be296ca81242d27764062514e11a99fa88e5

commit 736f2a7243e6204cff6220506c295113c685606d Author: awjrichards  Date:  Thu May 3 18:04:06 2012 -0700

Adds MFCompatCheck class, which is intended to track compatibility issues/statuses between MobileFrontend and MW core. This will be   particularly useful as MobileFrontend functionality is gradually moved into core. Implements MFCompatCheck methods when checking for the existence of wfIsConfiguredProxy as well as when checking for the existence of WebRequest::removeQueryValue. Replaces Change-Id: I97ed2539e44c2d27f1483279694e023e6d8f9fab Change-Id: If9e7c46811c6ec42cdfe0816994ab0d3b131cb74

commit 91467157f47a9766c2233ab6625e92863fd5ef84 Author: Max Semenik  Date:  Fri May 4 00:41:13 2012 +0400

Output shared file descriptions on action=mobileview Change-Id: I1ab9c8bcbb33c7e63a31009e7e7ce80f888ca55a

commit 5a211cd4f29e7580b4ee4ea10935d79b43322ec4 Merge: 237ae3e d03a6c1 Author: preilly  Date:  Thu May 3 18:53:44 2012 +0000

Merge changes I87ee4183,I26727815,I2c2143fc,I16a19e71 * changes: distinguish between blackberry = 5 + enable javascript on >=5 respect supports_javascript property of device add js support for ie9 allow turning off transitions

commit 237ae3edb8d027f1054f0cc836c7431cb6cd7f5b Merge: 5f31db2 6355c65 Author: preilly  Date:  Thu May 3 18:53:08 2012 +0000

Merge "allow initialisation of references with options"

commit 5f31db2f51a00184aaf47148acafa3c0341b0ac5 Merge: 417d125 ab554fc Author: preilly  Date:  Thu May 3 18:51:04 2012 +0000

Merge "pay attention to firstRun value passed in by user"

commit 417d1256a76be914dac843f4eb2bdda0bf90d8ec Merge: 6c4e95a 9e1e69e Author: preilly  Date:  Thu May 3 18:50:32 2012 +0000

Merge "make sure clear search button is not visible outside full screen search"

commit 6c4e95af5ddb8fdf934954c87a0e8883db5895fa Merge: 39528b0 0ac4305 Author: preilly  Date:  Thu May 3 18:50:05 2012 +0000

Merge "remove border-radius references"

commit 39528b05f9efffbecaf5024094e41372dc2debe2 Merge: fc321af 91cd644 Author: preilly  Date:  Thu May 3 18:49:41 2012 +0000

Merge "fix search on android 2.2"

commit fc321af0786899a3e5a058728c144e0b92ce1af0 Merge: ddd4e09 dbaa721 Author: preilly  Date:  Thu May 3 18:49:22 2012 +0000

Merge "clean up section margin css and remove negative margins"

commit d03a6c1088bf9c701ced2b5dccf0b6277d1871f0 Author: Jon Robson <jdlrobson@gmail.com> Date:  Thu May 3 19:43:59 2012 +0200

distinguish between blackberry = 5 + enable javascript on >=5 this brings toggling to the 9600 device and stops javascript support for anything older than version 5 concludes fixing of bug 36384 Change-Id: I87ee4183a04bf92c4c6c43f577f83ae782fa3c73

commit 6355c650a90eff5e38c40758090189b848c5ea15 Author: Jon Robson <jdlrobson@gmail.com> Date:  Thu May 3 16:44:51 2012 +0200

allow initialisation of references with options allow a developer to specify what animation to use and what speed this is useful for the app as the animations are causing problems and it would be useful to be able to turn them off see https://github.com/wikimedia/WikipediaMobile/pull/227 Change-Id: If43b89ca35c6c3aa5aabc04e69805288fa570e95

commit ab554fcb1f9a98c454647f2ecc7a23f98bd0b97f Author: Jon Robson <jdlrobson@gmail.com> Date:  Thu May 3 16:23:22 2012 +0200

pay attention to firstRun value passed in by user see https://github.com/wikimedia/WikipediaMobile/pull/227 Change-Id: I7de957746ec197abb337b77287b40c2074262853

commit f819cbb125fe97171e33c0e7e72adf18c443b9ea Author: Jon Robson <jdlrobson@gmail.com> Date:  Thu May 3 19:27:20 2012 +0200

respect supports_javascript property of device If we say a device doesn't support javascript. Make sure we don't   serve it javascript. Change-Id: I267278150f5f5c2c2bbfab5292d26b76cce0a00f

commit 226f3fc3bbbe56419039aae2edfb2312fe8dae7e Author: Jon Robson <jdlrobson@gmail.com> Date:  Thu May 3 19:24:24 2012 +0200

add js support for ie9 IE9 is actually rather nice compared to older versions so lets support it and any mobile browsers based on it   Change-Id: I2c2143fc79bea200f92ea98c2dabd917641b3fde

commit 9d305e35a483fc7dd4846ca5078ea7059a57e144 Author: Jon Robson <jdlrobson@gmail.com> Date:  Thu May 3 16:57:41 2012 +0200

allow turning off transitions transitions can be buggy on certain browsers (ICS for example) as   well as in the app. By adding a noTransitions class to the html tag these can now be turned off. This can be done in either markup or   javascript Change-Id: I16a19e7110d59ffcd36530f2ba625973247e7960

commit ddd4e09dd3248801a56612ef6a3666ea9ec8a76e Author: Jon Robson <jdlrobson@gmail.com> Date:  Thu May 3 13:36:15 2012 +0200

remove cols and size attributes from old contact us form (bug 36390) this addresses bug 36390 Change-Id: I57ceab04af3dfbedd61213a33014a77c5c784a76

commit 9e1e69e8563aa1483c6a5da1cdec92c480a6590d Author: Jon Robson <jdlrobson@gmail.com> Date:  Thu May 3 12:07:17 2012 +0200

make sure clear search button is not visible outside full screen search also correct right position Change-Id: I951cd151e5a6678ff4ff0070ebca5d7ca2407129

commit 0ac430535c617493a335dba69a5e6afc4bd55801 Author: Jon Robson <jdlrobson@gmail.com> Date:  Thu May 3 12:02:24 2012 +0200

remove border-radius references not doing anything Change-Id: Ie8c36a506c260e8633159c1df1e3b231377ac244

commit 91cd64466edab2ea09214633f647cadf331c6f3f Author: Jon Robson <jdlrobson@gmail.com> Date:  Thu May 3 11:46:30 2012 +0200

fix search on android 2.2 timeout doesn't get called when an input is focused so working around this workaround see http://code.google.com/p/android/issues/detail?id=13540 Change-Id: I033900bcb9070166a705df1e8e36705d399a2a43

commit dbaa72182774410c436d395c81aa9d8e8934e13b Author: Jon Robson <jdlrobson@gmail.com> Date:  Thu May 3 11:34:26 2012 +0200

clean up section margin css and remove negative margins negative margins are never good and cause horizontal scrolling on   some iphones / android devices. Lets do this more elegantly, in the design process it seems to have got messy * Also removing the searchbox div to remove negative right for search button * change /remove all references to searchbox * update beta_opensearch.js to not use searchbox Change-Id: I61ef37d4123b2ef2dd78642dee99e81c78ff9a32

commit 136656e601115ef447139d3461e64191e9860cf1 Author: Jon Robson <jdlrobson@gmail.com> Date:  Thu May 3 01:10:49 2012 +0200

attempt to speed up/smooth out transitions half the length of time it takes attempt to enable gpu Change-Id: I162e416d6825d9c41d976152ef91739d81a45c17

commit 614d29648fdce90904930cc83c3a070fcc0915a8 Author: Jon Robson <jdlrobson@gmail.com> Date:  Wed May 2 23:15:07 2012 +0200

add a mechanism to score browsers and run certain js   disable search on opera mini 4 and blackberry 9600 there are lots of problems with these browsers and the new search so disabling for time being the idea is that we can 'score' a browser and modules can request that they are run on a certain level browser this takes care of bug 36381 Change-Id: I70686d1222f50a024bf843f56fbd3f31510e97d7

commit 337f68363d9beea488a837022412fd85e1f0aee2 Author: Jon Robson <jdlrobson@gmail.com> Date:  Tue May 1 18:12:51 2012 +0200

make wikipedia logo clickable on blackberry 9300 (bug 36384) seems to be a slight problem with padding and z-index Change-Id: I3841c699f0e65cd99b4c26008e43f67ddd85a5c4

commit a084ddab1f6b0ed412a2e722732db3b1cebfea35 Author: awjrichards <arichards@wikimedia.org> Date:  Wed May 2 15:33:56 2012 -0700

Makes non-beta 'Contact us' link point to project/language's   configured contact-us page if it exists, otherwise falls back to a configured URL. Beta functionality remains the same. Change-Id: I28a60f14b4605f494049590a841d410bacea9d52

commit 37c9bcbff82284c3b9d69478f075a34a5ecae583 Author: Patrick Reilly <preilly@wikimedia.org> Date:  Wed May 2 12:27:11 2012 -0700

fix for in_array expects parameter 2 to be array Change-Id: I7c44d1e5ece6c2c1805c8218644dfb196f6fa5a0

commit 9313f0ac696f8c5818d9d7497a6344bd157bea14 Author: Patrick Reilly <preilly@wikimedia.org> Date:  Tue May 1 16:09:14 2012 -0700

Add javascripts/mf-feedback.min.js   Change-Id: I15c366ca84223811a00f266d7f17b0204d0415eb

commit 2ff00c7d3ec00f21b2f95bd363bb3bc7b0e56ada Author: Patrick Reilly <preilly@wikimedia.org> Date:  Tue May 1 15:19:02 2012 -0700

Remove CSRF check Change-Id: I504e83fd2d182c20a288a8177121c365b3ddf80e

commit 2021696188d809f9ebf81abd5a8d48a1f6ade5ce Author: Patrick Reilly <preilly@wikimedia.org> Date:  Tue May 1 15:17:03 2012 -0700

Add missing global Change-Id: I505d4359a09cd6c3ee2dca397228100ab4c37dec

commit 6f2ba7963fe4013512bd4e369aba3fcf12a689e7 Merge: b5c172c f6633d4 Author: awjrichards <arichards@wikimedia.org> Date:  Tue May 1 21:51:05 2012 +0000

Merge "restore zero rated banner"

commit f6633d445f72ca45895d995a4d37a938e5d82269 Author: Patrick Reilly <preilly@wikimedia.org> Date:  Tue May 1 14:46:36 2012 -0700

restore zero rated banner Change-Id: Ic0187a8ae4c2abb6ed401336adf0837ccb55792b

commit b5c172c124a82d580249509ee091d2a02216f996 Author: Max Semenik <maxsem.wiki@gmail.com> Date:  Wed May 2 00:26:20 2012 +0400

Main page transform support for action=mobileview Change-Id: I602d06961a9dcd716dc8191ab20c815583cc7af7

commit 437362ec0d4050c4745eb6a390b4e7284e498a29 Author: awjrichards <arichards@wikimedia.org> Date:  Tue May 1 12:07:21 2012 -0700

Ensure that the 'returnto' URL on the thank you page of feedback form points to mobile url. Change-Id: Id2c20e94f6403a1e71ed5ce2c67662fbed8ad760

commit eac4862d0f3b8ebe4dd7f725ce291c36dd179ea1 Author: Translation updater bot <l10n-bot@translatewiki.net> Date:  Tue May 1 18:38:42 2012 +0000

Localisation updates from http://translatewiki.net. Change-Id: I92336c2cd2408b05f478f6921f105ecb387c24e8

commit 11aee2e6bfa0485661f3830cd367153982991ec4 Author: Patrick Reilly <preilly@wikimedia.org> Date:  Tue May 1 10:30:34 2012 -0700

update minified versions of js   Change-Id: I7dafa0166215302a0af1fd69a71be70330b07a2b

commit ce0f5a101ff0f5c039250d0d97a09f4455e25cbd Merge: 541551e 96dcf9f Author: preilly <preilly@wikimedia.org> Date:  Tue May 1 17:25:19 2012 +0000

Merge "Change name to Patrick Reilly as per other extensions"

commit 541551eb0e2592da95a41166f3b381aae1910b3e Merge: f6248b2 1c1a344 Author: preilly <preilly@wikimedia.org> Date:  Tue May 1 17:24:11 2012 +0000

Merge "add coverage for hasClass"

commit f6248b295febb15c8f5199f7b7cc0a9b1c206f07 Merge: 7e80656 47de0f3 Author: preilly <preilly@wikimedia.org> Date:  Tue May 1 17:23:50 2012 +0000

Merge "stop using globals in unit tests"

commit 7e80656587353d348ea82f01963e64cd5cf94a1f Merge: d62582b bbd6665 Author: preilly <preilly@wikimedia.org> Date:  Tue May 1 17:23:30 2012 +0000

Merge "return tests for banner.js and toggle.js"

commit d62582b70bd76dea6f0d83aa37e801cf9968f7d4 Merge: 50e4226 ff21102 Author: preilly <preilly@wikimedia.org> Date:  Tue May 1 17:23:12 2012 +0000

Merge "no need to clean fixtures any more"

commit 50e42267670c41ea42639a1ece7a8d06fee6f87a Merge: e1025ab d777afe Author: preilly <preilly@wikimedia.org> Date:  Tue May 1 17:22:52 2012 +0000

Merge "move page enhancements into a separate function invoked my init"

commit e1025ab35cbe57bfe5f828a4c766c99f2e76bce8 Merge: a848241 ba0f0d8 Author: preilly <preilly@wikimedia.org> Date:  Tue May 1 17:22:28 2012 +0000

Merge "bring back tests for application.js"

commit a8482411852eea5dca9e3caee694e23562b2408b Merge: 4c2098d 024d31b Author: preilly <preilly@wikimedia.org> Date:  Tue May 1 17:22:07 2012 +0000

Merge "don't self initialise fixtures / cleanup"

commit 96dcf9f5b57d8a4a87a8cc6e95e7c41b77685534 Author: Reedy <reedy@wikimedia.org> Date:  Tue May 1 18:16:21 2012 +0100

Change name to Patrick Reilly as per other extensions Change-Id: I972f5d67c00067ef91a7befcf4741e54b7490356

commit 1c1a3442852c5c8edb214c04f4b758b188691888 Author: Jon Robson <jdlrobson@gmail.com> Date:  Tue May 1 14:26:20 2012 +0200

add coverage for hasClass as suggested in bug 36007 Change-Id: I12f6b1024e12936722bea57e5346b787bc832bd8

commit 47de0f3021f5bfb35772e847048e7893e6b2e5de Author: Jon Robson <jdlrobson@gmail.com> Date:  Tue May 1 14:16:33 2012 +0200

stop using globals in unit tests as suggested in bug 36007 Change-Id: I672d4cfb30fde02521807227ecb9bfaa4e09d03c

commit bbd6665a51b2fca406dd6fe163d70927969b9bf0 Author: Jon Robson <jdlrobson@gmail.com> Date:  Tue May 1 13:16:42 2012 +0200

return tests for banner.js and toggle.js   accidently removed in    c47b9b092e4f2bab8fae3b6d1f7c33bda7316236 in promoting beta Change-Id: I315765365804e765241fc61a248eee5fe3043b51

commit ff211024730380d2e37df5c5cd17ece58f9b3810 Author: Jon Robson <jdlrobson@gmail.com> Date:  Tue May 1 13:12:09 2012 +0200

no need to clean fixtures any more qunit takes care of #qunit-fixture for us   Change-Id: Idca2bded25d42c814c2cfde29e826457051080d5

commit d777afeaf8de1574689d842877707ced03bdcc61 Author: Jon Robson <jdlrobson@gmail.com> Date:  Tue May 1 13:11:11 2012 +0200

move page enhancements into a separate function invoked my init currently this is interfering with tests this change stops beta_opensearch.js executing anything till invoked Change-Id: I1c8c180b31cd24f431564364684f7f2daf88b713

commit ba0f0d817a64ae1d5f15cd5717ae61f865fd6ff1 Author: Jon Robson <jdlrobson@gmail.com> Date:  Tue May 1 13:02:23 2012 +0200

bring back tests for application.js   these tests were lost in 4dbb8fae2cddb8ae0f9f4f9ed92167d943afe7ed Change-Id: I04fd9a52f3383341fadc1f995140de0092d65c64

commit 024d31b297ad49e7546e344217377848447f2df9 Author: Jon Robson <jdlrobson@gmail.com> Date:  Tue May 1 12:58:30 2012 +0200

don't self initialise fixtures / cleanup now modules do not self initialise we can make a few changes here * append fixtures to qunit-fixture rather than body * don't initialise here - do in setup/teardown instead Change-Id: I4954a1243524995387368297767aa57702570f15

commit 4c2098da7ec10995818e2768f7a236bb1b510cd2 Author: Jon Robson <jdlrobson@gmail.com> Date:  Tue May 1 09:56:48 2012 +0200

fix jump to top currently clicking on the jump to top link has no effect. This is   because opening a section sets the hash to the same as the jump to    top link. By resetting it first we can get back the behaviour we want Change-Id: Ib03669b1679e5c36ed109eb52fa9f5abe5df26f8

commit 5b81a79e95d537445a80def696d2ac25aba9f689 Author: Jon Robson <jdlrobson@gmail.com> Date:  Tue May 1 09:46:27 2012 +0200

remove special casing of rtl mode ResourceLoader takes care of these Change-Id: Iafe4a7e75e8e3abd4c14d448ecb6099c8a0ca602

commit 219a8c1f129032d8eb9ca237820d64b7231d9006 Author: Jon Robson <jdlrobson@gmail.com> Date:  Tue May 1 09:30:04 2012 +0200

make list items in footer inline-block floating renders these invisible for some unknown reason in   android note whitespace is significant for inline-blocks so removing new lines in SkinMobile.php Change-Id: Ia0796677cb8ba4a3751a946ac4422354cd40f1be

commit 1c33a9b6f78be77e1cc2598dd860f008a20f5be4 Author: Patrick Reilly <preilly@wikimedia.org> Date:  Mon Apr 30 18:38:26 2012 -0700

Fix removing DOM elements while trying to loop on them Change-Id: Idaee1422e0a7fbc67840e286f5414f90ee0a0432

commit c89d33507f66e8cfb29a7ed5de6a69a72147c1f4 Author: Jon Robson <jdlrobson@gmail.com> Date:  Tue May 1 01:41:46 2012 +0200

slight styling adjustment adding margin right that is half the search button to prevent overlap on older android devices which when search is focused introduce a border we cannot get rid of   Change-Id: If0e173a86e30a504b8f5addaaf1ead85532883b9

commit f800d03b3cab5ac41be452abdf04a4b5779f17fc Author: Jon Robson <jdlrobson@gmail.com> Date:  Tue May 1 01:35:00 2012 +0200

update minified versions of js   also update Makefile Change-Id: Ie5ac711b2a760d94b431d9b3e5810e6699f6f704

commit 2098297eb244cc0a6e6aa624e4c6c88a61b8ebd3 Author: Jon Robson <jdlrobson@gmail.com> Date:  Tue May 1 01:06:07 2012 +0200

enabling viewport scaling on various browsers follow up to I9e3e387cc3454e05156c2e285982eae36cbb85c7 Change-Id: Ib24abd5bbe2b8bbf3f6c3c4f3bf4f9352c22cce7