Extension:MobileFrontend/Deployments/2012-10-23
Deployer: Max
Highlights:
- New search box color
- Left nav, including removal of Contact. Contact will remain in footer.
- No ribbon
- Typography changes
- Language selection as a section
- UI changes to clean-up templates
commit 1f920aadae7f8dff46d2838dd7a91ff82e95b48e Merge: 23aad60 3dfde2d Author: preilly <preilly@wikimedia.org> Date: Mon Oct 22 20:33:47 2012 +0000 Merge "add -moz vendor prefix for background size mix-in" commit 23aad60053e2106e083936fbf5c912345a91719d Merge: faa7efe 6ec816d Author: preilly <preilly@wikimedia.org> Date: Mon Oct 22 20:06:16 2012 +0000 Merge "revert to non-javascript mode on really slow connections" commit 3dfde2d31ce2bfcde8aac44ad11a570c52504eab Author: jrobson <jrobson@wikimedia.org> Date: Mon Oct 22 12:08:34 2012 -0700 add -moz vendor prefix for background size mix-in support fennec better Change-Id: Ie3b79ca5cb0cfe48ef34529c3aa5f3490699153d commit faa7efe1b46356d53a3cea3b20044bb8d1baacb1 Merge: a616f93 34b0886 Author: awjrichards <arichards@wikimedia.org> Date: Mon Oct 22 20:00:31 2012 +0000 Merge "add 3rd event listener parameter" commit a616f9374e1ae3915aaf713091a0d072f4a3e416 Merge: 8133d13 fe037f1 Author: awjrichards <arichards@wikimedia.org> Date: Mon Oct 22 20:00:10 2012 +0000 Merge "move initialisation of MFE to script tag in head" commit 8133d13d8faf837c2132d9a4894a0fe08b60f9dd Merge: e56bc1d d709bac Author: awjrichards <arichards@wikimedia.org> Date: Mon Oct 22 19:57:27 2012 +0000 Merge "update mixin to provide -o-background-size support" commit e56bc1dcfbd2255c7592f94b674e068c358ba506 Merge: d2eb1e9 e5cfc65 Author: awjrichards <arichards@wikimedia.org> Date: Mon Oct 22 19:56:01 2012 +0000 Merge "remove legacy css" commit 6ec816de92af49eb697de4a24b5ccec27f55788b Author: jrobson <jrobson@wikimedia.org> Date: Mon Oct 22 11:56:02 2012 -0700 revert to non-javascript mode on really slow connections if the page is taking longer than 7s for the DOM to load something has gone wrong (maybe partial page load) - in these situations remove the classes added and never run the initialisation function - just let the user read the content they have downloaded Change-Id: Id8955ad11e051258f5fb9cde78d4d19674aca4e7 commit 34b08865cbc8211437130a5b7637beaa0d89a7dd Author: jrobson <jrobson@wikimedia.org> Date: Mon Oct 22 11:45:02 2012 -0700 add 3rd event listener parameter for some browsers this is essential! Change-Id: I9ff706c4de4269a578e4ef183b47f890675a0d03 commit fe037f1acd269b96fbd5109e283996dc58c88ade Author: jrobson <jrobson@wikimedia.org> Date: Mon Oct 22 11:38:17 2012 -0700 move initialisation of MFE to script tag in head Change-Id: I957052c042a2225dd2aeba0894e5e786171d59c9 commit d2eb1e9078619062155ee33ed00183533e0ea8ad Author: Translation updater bot <l10n-bot@translatewiki.net> Date: Mon Oct 22 18:34:12 2012 +0000 Localisation updates from http://translatewiki.net. Change-Id: I0bed2aecdf7d5a2b6285427076212c8362fe3e59 commit d709bac7fa57d28f205e44e45b49096e12980d4d Author: jrobson <jrobson@wikimedia.org> Date: Mon Oct 22 10:56:41 2012 -0700 update mixin to provide -o-background-size support nintendo ds for example supports -o-background-size this makes the menu button display correctly Change-Id: I47262cc0e12142651be4afc5b7ef4fa8c85a985a commit e5cfc658235f793efd2e93cbdc1d2b03938f1beb Author: jrobson <jrobson@wikimedia.org> Date: Mon Oct 22 10:56:03 2012 -0700 remove legacy css Change-Id: I2e67778e72808e952a721bf4e9ad6cea2dbb67c3 commit f6d6b1c6c4bc09f7f99388dce9d2694ec4cf1080 Author: jrobson <jrobson@wikimedia.org> Date: Mon Oct 22 10:47:36 2012 -0700 change selector the settings form is wrapped in a #content_wrapper Change-Id: Iee6ade444839bbc1240118a6f31bcaa9c395e52e commit 361ad1498393a8ffbaa90053181fd67c42941eac Merge: 8b12c58 c551272 Author: preilly <preilly@wikimedia.org> Date: Mon Oct 22 17:19:37 2012 +0000 Merge "reflect login changes for what should be in beta" commit 8b12c58eb89f7d6927dd1ed189aeb4f9a4f0d442 Merge: f0f6c10 9cd89a4 Author: preilly <preilly@wikimedia.org> Date: Mon Oct 22 17:19:04 2012 +0000 Merge "run make less" commit f0f6c101e6a5f37884c150b44beeee7f5764c732 Merge: 405cf78 5d81280 Author: preilly <preilly@wikimedia.org> Date: Mon Oct 22 17:18:22 2012 +0000 Merge "return if statement removed in 95b54bcdbb99e4783ad36e896e092adaded8117c" commit 405cf781bdcb78ba274f0c28b01e9e822054d47b Merge: 9d42bae e5a2b52 Author: preilly <preilly@wikimedia.org> Date: Mon Oct 22 17:17:11 2012 +0000 Merge "Fix syntax error introduced in Ifc89d8a503efb79f0febf371ff9d345811014895" commit c55127253ddd791eca705edab33904cc43bcff95 Author: jrobson <jrobson@wikimedia.org> Date: Mon Oct 22 08:48:11 2012 -0700 reflect login changes for what should be in beta login changes made changes to the skin which now break some of non-beta and make beta functionality appear in non-beta render navigation on article skin hide login link on non-beta Change-Id: I04887df7d0beb8e2c9eb333dc515fbc260e0fabf commit 9cd89a45c27e5bbf01fbde0ac8416c11b84c7e5d Author: jrobson <jrobson@wikimedia.org> Date: Mon Oct 22 08:44:39 2012 -0700 run make less seems stylesheet changed didn't get committed Change-Id: Ifbb70936540cfed70e0513b5ed167224b01dad2f commit 5d8128095dece877d3d375bdb951ccec596c0808 Author: jrobson <jrobson@wikimedia.org> Date: Mon Oct 22 08:41:04 2012 -0700 return if statement removed in 95b54bcdbb99e4783ad36e896e092adaded8117c contact link should remain in beta mode (see If3d50aaf1bd647d76cf2ec38ff91393268ef2460) Change-Id: I176293e0c0d029f929c1ea26565cef33fc97210e commit e5a2b52bbfd920530f9a6393dda53773a64114f2 Author: MarkAHershberger <mah@everybody.org> Date: Sun Oct 21 20:03:35 2012 -0400 Fix syntax error introduced in Ifc89d8a503efb79f0febf371ff9d345811014895 Change-Id: I4f9d3ad6cbb7f5b5af504cd42db4e4b959de3168 commit 9d42bae584597c5d0ae8e56135c8b255eadd5fa6 Author: Translation updater bot <l10n-bot@translatewiki.net> Date: Mon Oct 22 01:35:31 2012 +0000 Localisation updates from http://translatewiki.net. Change-Id: I478e984b0c555e3e7d39fdf7055c432a040aeb71 commit fc7efe30638e10f15d84c1d217b485e936dc3afa Author: Translation updater bot <l10n-bot@translatewiki.net> Date: Sat Oct 20 22:43:58 2012 +0000 Localisation updates from http://translatewiki.net. Change-Id: I17ddaedf9406b4584141af2e39f98ea4be91f0d9 commit 0ab950715c46fb0579f4ed2714f5d16aef5d32a0 Author: awjrichards <arichards@wikimedia.org> Date: Thu Oct 18 18:13:30 2012 -0700 Merges Jon's changes from abandoned patchset https://gerrit.wikimedia.org/r/#/c/26492/5 with updated mobile login template * style login page as an overlay ** update skin to add default overlay and specialPage class to html element for login page ** adjust javascript to append to existing classes * make back button in top left corner point to referring page * add concept of an article skin and overlay skin * ensure #mw-mf-overlay div only added if absent * moved login css from mf-common.css to mf-navigation-legacy.css which for non-beta * introduce mixins from github wikimedia/agora for button * removed .overlay div.content input as the code this referred to no longer exists * i18n * 4 new images Change-Id: I66cb7add116f8f512592a478f5bc6ecb15384f92 commit 5e4e52710a091184b4d11e223e001c17bce646be Merge: 95b54bc db88084 Author: preilly <preilly@wikimedia.org> Date: Sat Oct 20 00:53:01 2012 +0000 Merge "Adds unstyled login error message handling and login info box" commit 95b54bcdbb99e4783ad36e896e092adaded8117c Author: jrobson <jrobson@wikimedia.org> Date: Thu Oct 18 17:32:38 2012 -0700 add title attributes to menu items for VoiceOver software (bug 40332) Change-Id: Ifc89d8a503efb79f0febf371ff9d345811014895 commit ac38fd46cd382186cdc97bf5004121e3f7354c33 Author: jrobson <jrobson@wikimedia.org> Date: Fri Oct 19 11:22:32 2012 -0700 fix broken banner tests the id is now the cookie name refactor mf-banner.js to remove need for use of fixtures.js Change-Id: Ib360f7bc4a99050771825fd196200cc45fd5a92d commit 2cb8982cdfb3b6efd33a7ad524c74d5ed3d845f6 Merge: 9b97962 70c4b0e Author: preilly <preilly@wikimedia.org> Date: Sat Oct 20 00:41:18 2012 +0000 Merge "make it easier to run tests using make test" commit 9b97962bfdc0ac6f6092dace82a9d8f5ffa38d67 Merge: 9bcc1e2 83d631b Author: preilly <preilly@wikimedia.org> Date: Sat Oct 20 00:40:40 2012 +0000 Merge "remove use of filters and -ms-filters" commit 9bcc1e2d5c7f04f50b84cba53ceb58ec82e51ed8 Merge: 96d791d 43a3710 Author: preilly <preilly@wikimedia.org> Date: Sat Oct 20 00:39:42 2012 +0000 Merge "throw away navigation related media queries" commit 96d791d292b14499691f3662fbbc3ed4f306739e Merge: f86322a e0247ba Author: preilly <preilly@wikimedia.org> Date: Sat Oct 20 00:39:13 2012 +0000 Merge "shrink margins for smaller displays" commit f86322a9a63673d2118e4851305a5b95dd64f6ae Merge: 2679c41 c53bd27 Author: preilly <preilly@wikimedia.org> Date: Sat Oct 20 00:38:45 2012 +0000 Merge "add 2px padding to left of search box" commit 2679c418df2e74aa168995cc1e4c8a52f9c8ac3a Merge: 60e3a76 a75de9b Author: preilly <preilly@wikimedia.org> Date: Sat Oct 20 00:38:21 2012 +0000 Merge "switch to lighter chrome to be consistent with vector" commit 60e3a76569bb3b2b906760b7e6ed6b0c13f8a43e Merge: a510812 777c461 Author: preilly <preilly@wikimedia.org> Date: Sat Oct 20 00:37:18 2012 +0000 Merge "correctly place headings in h3,h4,h5 in dynamically loaded content (bug 41192)" commit a510812795bfbc0e6365b10107ea7ba670d21083 Merge: 3d519f7 de8d50f Author: preilly <preilly@wikimedia.org> Date: Sat Oct 20 00:36:49 2012 +0000 Merge "shrink heading size based on feedback" commit 3d519f7493e3655aca6dc9d420bf1dc332857864 Merge: a4ed3a7 5917a1f Author: preilly <preilly@wikimedia.org> Date: Sat Oct 20 00:36:07 2012 +0000 Merge changes I990fe0b0,I21803838,If3d50aaf,Idfd2831e,If358542c,Ic50e8706 * changes: remove redundant code in non-beta use min-height not height move contact back to footer replace jump back a section with close section in non-beta remove device specific hacks move things from beta to production commit 5917a1ff5f1cb19f446655e25f51fd543864f516 Author: jrobson <jrobson@wikimedia.org> Date: Fri Oct 19 17:05:39 2012 -0700 remove redundant code in non-beta this element no longer exists so will throw an error breaking the buttons on the settings page Change-Id: I990fe0b02d9c2ed7767f58e83ca04060a36c2795 commit 039e056e6e402edb181256c8cb3ab2798d6c1ce4 Author: jrobson <jrobson@wikimedia.org> Date: Fri Oct 19 15:00:02 2012 -0700 use min-height not height will cause rendering issues Change-Id: I218038385beb37ea4544396685b077dca6b3a144 commit db88084ac5e4216592db76f939bcc7788a4e473a Author: awjrichards <arichards@wikimedia.org> Date: Thu Oct 18 16:34:01 2012 -0700 Adds unstyled login error message handling and login info box Change-Id: Idd0f27da45f7ec7972dc5f49ccb61ef8f41a6f0a commit 1868c8af1e6423fa49a728e0d7baba0c05e16f13 Author: jrobson <jrobson@wikimedia.org> Date: Fri Oct 19 14:58:52 2012 -0700 move contact back to footer After discussing with Howie we are worried that making this more prominent will create too much spam Change-Id: If3d50aaf1bd647d76cf2ec38ff91393268ef2460 commit a4ed3a7af8109b06e4a34dadd8f68f3f6443e40a Author: Translation updater bot <l10n-bot@translatewiki.net> Date: Fri Oct 19 20:20:22 2012 +0000 Localisation updates from http://translatewiki.net. Change-Id: I41bfa9dddd81c7e65e9717c647a31a717034e082 commit 70c4b0e071d150d6d5bbc077459cfbcf404e5edc Author: jrobson <jrobson@wikimedia.org> Date: Fri Oct 19 11:09:28 2012 -0700 make it easier to run tests using make test update Makefile assumes that extension is called MobileFrontend and in the extensions folder - possibly a better way to do this using a variable Change-Id: I73d1a753a20174d06e00a833e6eafeb961ba61be commit c403a5b0da7a915017ea4c21bb0c71fef4b2b4bc Author: jrobson <jrobson@wikimedia.org> Date: Thu Oct 18 18:07:44 2012 -0700 replace jump back a section with close section in non-beta Change-Id: Idfd2831e0a269e3a779e2f3a3c2ada81fceb9cd7 commit 83d631b8dcb114b176a6d4efe8bbc15928103512 Author: jrobson <jrobson@wikimedia.org> Date: Thu Oct 18 17:55:46 2012 -0700 remove use of filters and -ms-filters any button that doesn't want to look blue will have to override these by specifying these again on windows phone 7 the up down arrows are appearing blue I think it is acceptable for these phones to just use background color Change-Id: Ieac48a3aded79e0067cbd3199caf386986ffebc1 commit 097c30a3f5354c5d3696ed155bc2ee253afcd593 Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 18:00:18 2012 -0700 remove device specific hacks Change-Id: If358542c7b42d95f947cd15f02c75a59d6af01f9 commit 62d173fb81beeeb2f981e6b651c7c39cef1213f6 Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 15:46:45 2012 -0700 move things from beta to production following things moved * new navigation layout (left menu) * typography changes * language selection in a section Change-Id: Ic50e87064b75a5ef0edd056ecbadf16dcb5c29a9 commit a75de9b2280ee114e873e4b0aa578977d8e8babf Author: jrobson <jrobson@wikimedia.org> Date: Thu Oct 18 16:05:36 2012 -0700 switch to lighter chrome to be consistent with vector use math to make it easier to tweak this sort of thing in future swap out light logos for darker equivalents increase search box by 1px to make height even number generate new css Change-Id: I4f26558fe3a895b83030514023f0e3f38894df98 commit 777c46158ba5f0156bddd608b9e05de84bc722c0 Author: jrobson <jrobson@wikimedia.org> Date: Thu Oct 18 15:24:23 2012 -0700 correctly place headings in h3,h4,h5 in dynamically loaded content (bug 41192) oversight - we are returning the html inside the element which does not include the tag name Change-Id: I5f56e3faa58bd982845443200f3f408f2bdc7973 commit de8d50f3b465b78f59032f3980c8d95ebfe6649f Author: jrobson <jrobson@wikimedia.org> Date: Thu Oct 18 15:17:10 2012 -0700 shrink heading size based on feedback heading was too large Change-Id: I1f072207a8aceec6d7dcd8184bd16332392406c2 commit 43a3710a3b14999dd3d42f9a7ecddda8aef76e75 Author: jrobson <jrobson@wikimedia.org> Date: Thu Oct 18 13:04:02 2012 -0700 throw away navigation related media queries fixes display on opera mini Change-Id: Ic4460ad7c404849c2053a0e93ea78a9fa8ccf432 commit e0247ba0b872d12212eed0914d60224e7e5693c7 Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 16:18:15 2012 -0700 shrink margins for smaller displays text extremely cramped on Nokia E75 for example Change-Id: I5484780d87c70e3842a10c908d4a7be05c5a533d commit c53bd27c043e52b12ac5010f0379fc01fbb12591 Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 18:17:34 2012 -0700 add 2px padding to left of search box Change-Id: I003b7df30c1d73b83e58acf71db8c3e34b5b9c49 commit 7e69cd5fddd772ca113723c79bd5e576a9499b0b Author: Translation updater bot <l10n-bot@translatewiki.net> Date: Thu Oct 18 19:22:11 2012 +0000 Localisation updates from http://translatewiki.net. Change-Id: If35a349aa5a821cd48cdffc39b456b020b7535eb commit 297728388aad9e8a7b04541d3186685292defc62 Merge: 8dd1720 685400f Author: preilly <preilly@wikimedia.org> Date: Thu Oct 18 18:08:52 2012 +0000 Merge changes I669a4b69,I33c4cb83 * changes: remove references specific code using a trigger styling fixes commit 8dd17209eb36cc9993e9df3dacbaa0e511c8725d Merge: d1b6c76 66526bc Author: preilly <preilly@wikimedia.org> Date: Thu Oct 18 18:08:23 2012 +0000 Merge "fix references when using dynamic sections (bug 41118)" commit 685400f6873c77aaa7b69da3fc19303b9e4e0391 Author: jrobson <jrobson@wikimedia.org> Date: Thu Oct 18 11:00:47 2012 -0700 remove references specific code using a trigger keep these 2 modules sandboxed from each other this also ensures that references in a section are initialised when that section is injected Change-Id: I669a4b69d2df74b39d246cd3d930b2e7ce947759 commit 66526bce344c0321da959026a70e0313bf7370e9 Author: jrobson <jrobson@wikimedia.org> Date: Thu Oct 18 10:51:01 2012 -0700 fix references when using dynamic sections (bug 41118) rename init to setupReferences setup hook to run setupReferences when a page loads dynamically (beta only) update tests Change-Id: Ifbcc50a2935870b5f9e6d7daee58c3cea7bfce61 commit e236e461add07cb8723ef355927d3ccee4756e3a Author: jrobson <jrobson@wikimedia.org> Date: Thu Oct 18 10:53:30 2012 -0700 styling fixes fix whitespace remove MobileFrontend variable usage use this for each function jslint Change-Id: I33c4cb832b75e38e97dc0efb083797ed2f4257e6 commit d1b6c762f621a5d9749998fa5d4afcf37f1c6d78 Merge: 6857528 dec047d Author: preilly <preilly@wikimedia.org> Date: Thu Oct 18 17:37:14 2012 +0000 Merge "limit navigateToPage history api to beta" commit dec047df73caaa459d14e95ef9a4979bf288d014 Author: jrobson <jrobson@wikimedia.org> Date: Thu Oct 18 10:35:47 2012 -0700 limit navigateToPage history api to beta this is currently breaking searching on the non-beta Change-Id: I9fa01be01d56bc3921d276d618ee57a958aee1f4 commit 68575287b0e0733af0def10c270fade6325ad32c Merge: f154d5c a6485ee Author: preilly <preilly@wikimedia.org> Date: Thu Oct 18 17:13:53 2012 +0000 Merge "add heading back to non-beta" commit a6485ee8525539662868ffa38dc6fd2bb64d5eeb Author: jrobson <jrobson@wikimedia.org> Date: Thu Oct 18 10:11:48 2012 -0700 add heading back to non-beta this was accidently wrapped in an if statement follow up to 2bcea365 Change-Id: If6727b368456cfffc5d1d76b4e540348991b679b commit f154d5c60c3043561a17715a44bc5c2ae5846d32 Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 22:24:51 2012 -0700 replace wikipedia zero css with generic css use .warning to emphasise dangers (e.g. charging) force banners to provide their own inline styles where necessary to be reviewed alongside: https://gerrit.wikimedia.org/r/28481 Change-Id: I0afb6fbb6f91ba4bcaad940d41ba2f4188bd044a commit 50ded1ab01e12933bbcf4e88c76efbe2e9b6af6f Merge: 99a5451 eae01b0 Author: preilly <preilly@wikimedia.org> Date: Thu Oct 18 08:35:21 2012 +0000 Merge "cleanup alias" commit 99a54516e4500b59b867a83ebe6c5256cb378582 Merge: a94d7b9 ab1ac4d Author: preilly <preilly@wikimedia.org> Date: Thu Oct 18 08:35:01 2012 +0000 Merge "remove special casing for ZeroRatedBanner" commit eae01b0209d8e9d8994db6e853e870df6d57294b Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 21:59:52 2012 -0700 cleanup alias Change-Id: I1d290c1d12741d3b2d346b92ee8691c05d74a999 commit ab1ac4d9e9e9a8f73dfd065862b555c43fddafda Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 21:57:11 2012 -0700 remove special casing for ZeroRatedBanner where a button is defined do not recreate it where mw-mf-banner-undissmissable class is present do not create button Change-Id: I717eeee52d1cb3932c2ab08ff185c8ef9f17e47c commit a94d7b943d263d694c06eb108149f7d62e7db4ec Merge: 8d75efa f73b0b9 Author: preilly <preilly@wikimedia.org> Date: Thu Oct 18 01:02:18 2012 +0000 Merge changes If10f68a1,I47c9e15d,I5842725d * changes: cleanup less file change font color of cleanup templates move mf-cleanuptemplates.css to less file commit 8d75efa15bc9709d4ec463b6d2bbdedec867628b Merge: 9c1b962 07ace79 Author: preilly <preilly@wikimedia.org> Date: Thu Oct 18 00:57:30 2012 +0000 Merge "Initial stab at ResourceLoader integration on MobileFrontend" commit f73b0b956a0dfcc30311fe18526074ce296b43e5 Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 17:51:03 2012 -0700 cleanup less file Change-Id: If10f68a1ad8bbd39982500347a15014aacdfc47c commit 14bf4bffd5e67363841a8c0a7985cb31eabb80f0 Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 17:46:35 2012 -0700 change font color of cleanup templates default is white Change-Id: I47c9e15dc5f70c9451996eb2a8965c30b5771590 commit 1fd3850da7752548116babbe726c0b084033eedb Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 17:46:11 2012 -0700 move mf-cleanuptemplates.css to less file Change-Id: I5842725dbb6e5e7e1bd6dcfc064e1cc3ac3e8508 commit 9c1b962d4455edca370c1957216e96957bee8a13 Merge: 7bb1453 b3d3d74 Author: preilly <preilly@wikimedia.org> Date: Thu Oct 18 00:36:44 2012 +0000 Merge "update to latest e3 logger" commit 7bb1453ef17392ad0a1ffddd69bd02ef3afa6f4b Merge: b0b5271 107adb6 Author: preilly <preilly@wikimedia.org> Date: Thu Oct 18 00:36:22 2012 +0000 Merge changes Ic4ac0a27,I9b212f8f * changes: restrict cleanup templates to only those that appear in summary deal with cleanup templates inside cleanup templates commit b0b5271f153cedd92132a3e486dac840d6c8c8b5 Merge: 57fee45 f070df5 Author: preilly <preilly@wikimedia.org> Date: Thu Oct 18 00:35:50 2012 +0000 Merge "update README to reflect LESS usage" commit 57fee454b93b7f8b987d630de335b247e556be51 Merge: 41f87a3 388b58b Author: preilly <preilly@wikimedia.org> Date: Thu Oct 18 00:35:26 2012 +0000 Merge changes Ibc0046d5,I72ac9d3b,I07c84871 * changes: make watch icon work on pages loaded via javascript move ribbon out of #content wrapper ensure footer can be toggled open commit 41f87a3ce5d9b3e6ff90d7f47991b74b412fdfaf Merge: 7a78320 ad1e706 Author: preilly <preilly@wikimedia.org> Date: Thu Oct 18 00:34:51 2012 +0000 Merge changes I20ba8757,I219d3ebe * changes: jslint fixes dynamically load pages to make mobile snappy commit 7a78320e3e91d2533d4742243297bd677ad10a1f Merge: 85ae42f 9698449 Author: preilly <preilly@wikimedia.org> Date: Thu Oct 18 00:33:40 2012 +0000 Merge "provide fallback for left menu for users who do not support jQuery / javascript" commit 9698449d33b20b8f0536a126d238310a1b52b07c Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 16:53:11 2012 -0700 provide fallback for left menu for users who do not support jQuery / javascript introduce special page Special:MobileMenu tweak SkinMobile.php and MobileContext.php to allow addition of a class to html to signal that the skin should be rendered in menu mode turn left menu icon into a link pointing to special page tweak stylesheets to show left menu icon to users without javascript and to render special page as a page which takes up 100% of the screen Change-Id: I7022640f092fdcbec3cdeef2e3c19e0d4e145fd4 commit f070df5377714cd4c8da376ccd2455a107ebb189 Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 17:15:52 2012 -0700 update README to reflect LESS usage Change-Id: I1b0e928d1d6bdf4be964922a9d8e79d2b8c0209f commit 107adb6efb44fe4bcfaffcd230f510e6bc861f23 Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 17:03:49 2012 -0700 restrict cleanup templates to only those that appear in summary there are various ones within other sections - these tend to say things specific to the section so they do not make as much sense here Change-Id: Ic4ac0a27da90043f16f774e9438c14bc8be0a955 commit 07ace7925b8cf5eb906d1995e0e34186b9e89589 Author: Brion Vibber <brion@pobox.com> Date: Wed Oct 17 12:48:49 2012 -0700 Initial stab at ResourceLoader integration on MobileFrontend Requires core changes: https://gerrit.wikimedia.org/r/28433 If jQuery is enabled and we are in beta mode for this request, we load up the ResourceLoader starup module with the 'mobile' target, then load any requested modules that have been whitelisted into mobile. This gets the 'hidpi' module loading from its core invocation, without having to explicitly load it up in MobileFrontend. Yay! Should allow other extensions to trigger mobile-targeted styles and code on specific pages or in general. Old method of loading code can be reenabled by setting $wgMFEnableResourceLoader = false; Change-Id: Ia88a32d762cea6cc5f699470f5f48ddff19cb191 commit b3d3d7435488915cc6c1bad1e71c5a57f922aa2e Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 15:03:45 2012 -0700 update to latest e3 logger (from running make remotes) Change-Id: I396367b5f6221badca2fe1f7ca6e0749305fd003 commit 85ae42f9d15e138fe5b1dbc343473a257ef3f18b Merge: d81fc7f 8f5be3a Author: awjrichards <arichards@wikimedia.org> Date: Wed Oct 17 20:56:22 2012 +0000 Merge "make sure mf-toggle-dynamic only loaded when jQuery present" commit d81fc7f6ce8c6b916ce93b92b76d3cb6dbd3b29f Merge: 361ff7d ad752ca Author: Translation updater bot <l10n-bot@translatewiki.net> Date: Wed Oct 17 20:05:18 2012 +0000 Merge "Localisation updates from http://translatewiki.net." commit 361ff7d9cfb559b2cc056ffd60c0f342cf4e6892 Merge: 48d4ba6 c9afe8a Author: Brion VIBBER <brion@wikimedia.org> Date: Wed Oct 17 19:54:40 2012 +0000 Merge "add buttons for styling and languageSelector class to language selection button" commit 48d4ba6d22a499d79b89bdf8f2dd66161030cc54 Merge: 47200c6 3c07e1b Author: Brion VIBBER <brion@wikimedia.org> Date: Wed Oct 17 19:45:22 2012 +0000 Merge "window.onload fallback for browsers without DOMContentLoaded (bug 41124)" commit ad752cad9cdcf0dfdfe95ceb0b7cb87d68d5a5eb Author: Translation updater bot <l10n-bot@translatewiki.net> Date: Wed Oct 17 19:32:36 2012 +0000 Localisation updates from http://translatewiki.net. Change-Id: I5929d49e802cb30d2bb587b5c784f1497097702e commit 3c07e1bdad97c40ecbd7b1b202086c114704ff07 Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 12:10:57 2012 -0700 window.onload fallback for browsers without DOMContentLoaded (bug 41124) this initialises the mobile site with window.onload if DOMContentLoaded never fires Change-Id: I9bd411d95d9021fd3634b516b255ae88d69f8d82 commit 388b58bb6028db2c98ca5768b88e4f190b18ac5f Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 11:19:41 2012 -0700 make watch icon work on pages loaded via javascript * change mw-mf-page-loaded event to pass an object with title attached * update mf-toggle-dynamic.js to work with new object * initalise the watchlist icon on the mw-mf-page-loaded event so that watch icon reloads on a new dynamic page load * scan container for existing watch icons to reuse to prevent multiple watch icons appearing Change-Id: Ibc0046d54a9c25664dba58030be08634c7350fe6 commit 2bcea36558813391a7385a60963cd03c19b895d4 Author: jrobson <jrobson@wikimedia.org> Date: Wed Oct 17 11:13:24 2012 -0700 move ribbon out of #content wrapper move header inside this prevents the ribbon being removed when a new page loads Change-Id: I72ac9d3b04ad3aca129e755f6be096029acb4432 commit 47200c61139f7f66d6843d5fd53fb1d27417497a Author: awjrichards <arichards@wikimedia.org> Date: Tue Oct 16 14:27:12 2012 -0700 Adds mobile login form as a template I basically copied the login form previously defined in ExtMobileContext::renderLogin() and placed it in a template, so we can use existing MW login functionality. This still needs some work to satisfy requirements, but this provides basic mobile login support using existing MW functionality. Change-Id: I99675482228c48e9c98188841a514e34b69e6e5a commit fb681e86e4659a39a454c091b7cf0a03c4e09568 Author: awjrichards <arichards@wikimedia.org> Date: Tue Oct 16 14:45:16 2012 -0700 Fixes docblock for ExtMobileFrontend::renderLogin() Change-Id: I26c45b46db38c232451925a25fa9c28ea119f72a commit b50fec86cba31e2aaf7606de8534328df2fdd9c1 Merge: 92545ab b24f8c8 Author: Brion VIBBER <brion@wikimedia.org> Date: Wed Oct 17 17:28:47 2012 +0000 Merge "Remove forced https for Special:Userlogin" commit 92545ab9f9a95a1d7f3b605bc7714e5ff8a18131 Merge: 48b3457 7d4d251 Author: Brion VIBBER <brion@wikimedia.org> Date: Wed Oct 17 17:27:19 2012 +0000 Merge "Add invocation of hook UserLoginForm using ExtMobileFrontend::renderLogin()" commit 48b345781c6b2be080cd2ff44ced259f633cbe7f Merge: a05b40d 5e601e6 Author: Brion VIBBER <brion@wikimedia.org> Date: Wed Oct 17 17:25:03 2012 +0000 Merge "Make ExtMobileFrontend remove 'form' element from MobileFormatter::$defaultItemsToRemove on login page" commit a05b40df510948c681cf1017aa36a317f1b29a72 Merge: bbe087f b848762 Author: Brion VIBBER <brion@wikimedia.org> Date: Wed Oct 17 17:17:45 2012 +0000 Merge "Make MobileFormatter:: non-static and provide corresponding getter/settter methods" commit bbe087f3ac5675b38b9b5d51f52bf523bdd5e227 Merge: 20d2fd0 8c9eea4 Author: Brion VIBBER <brion@wikimedia.org> Date: Wed Oct 17 17:16:37 2012 +0000 Merge "code style formatting fix" commit d3ae38b82429a57a93042378434131d61b439056 Author: jrobson <jrobson@wikimedia.org> Date: Tue Oct 16 17:46:18 2012 -0700 deal with cleanup templates inside cleanup templates some cleanup templates are currently being shown twice if one is a child of another this takes care of this Change-Id: I9b212f8f769ddc68dd9508b017d13cbb13803eef commit e836eb90837b90b0c5d97cbe9d77446ca0709a0e Author: jrobson <jrobson@wikimedia.org> Date: Tue Oct 16 17:34:10 2012 -0700 ensure footer can be toggled open currently toggling has been restricted to just the content make sure we only initialise once... Change-Id: I07c8487173208ef57339947724124127ad837cbc commit ad1e706846765a758b5ab686c20d8f6c971189f9 Author: jrobson <jrobson@wikimedia.org> Date: Tue Oct 16 17:18:01 2012 -0700 jslint fixes - use triple equals - Move the invocation into the parens that contain the function Change-Id: I20ba87576dfb46eafdf72c5af6a76c3122a5b166 commit ed8efdc1b459f13951f2b12e72ef7ba31a7aa734 Author: jrobson <jrobson@wikimedia.org> Date: Tue Oct 16 11:55:34 2012 -0700 dynamically load pages to make mobile snappy load the chrome once and anything further via javascript __if__ the history api is supported. onpopstate and pushState are used to ensure that address bar is kept sacred. Refreshing, back and forward work currently limiting to article namespace - i noticed that links to images have title attribute set to the caption for example so wanted to minimise complexity of this change * separate dynamic load code from mf-toggle-dynamic and move to mf-history.js * hijack links to load pages dynamically ** don't do this for namespaced pages or external links * update search results to load page dynamically * update address bar * intercept back and forward button presses * if no history api don't do this PROFIT * styling for page whilst loading Other changes: * update message function to support arguments ** use for ajax loader * update replaceHash and pushState functions to pass necessary state * remove hashchange in exchange for popstate * allow enableToggling to be restricted to content so footer doesn't initialise twice Change-Id: I219d3ebeb236422b5f464836c67b05e65adbaf27 commit 8f5be3a3d18473947c6f679f98df599c97c9c103 Author: jrobson <jrobson@wikimedia.org> Date: Tue Oct 16 16:32:01 2012 -0700 make sure mf-toggle-dynamic only loaded when jQuery present Change-Id: I1d60c844f4cc58379fa661d2dffa5c12843a1723 commit b24f8c89198a4abea29edce35e5a0e90ed0afba4 Author: awjrichards <arichards@wikimedia.org> Date: Tue Oct 16 14:22:07 2012 -0700 Remove forced https for Special:Userlogin Change-Id: I2141a8ff31dea97e0376c97ee6aaba00c1aed37b commit 7d4d251706014e848f1820ee5e6c41eab9d23932 Author: awjrichards <arichards@wikimedia.org> Date: Tue Oct 16 11:18:40 2012 -0700 Add invocation of hook UserLoginForm using ExtMobileFrontend::renderLogin() Change-Id: I026b1c96fc491dff20977f91eff185702bc99f4c commit 5e601e6ee607e6c59c3fc990d4ef78a459690725 Author: awjrichards <arichards@wikimedia.org> Date: Tue Oct 16 10:59:25 2012 -0700 Make ExtMobileFrontend remove 'form' element from MobileFormatter::$defaultItemsToRemove on login page This will make it possible to use the UserLoginForm hook to use MW's login form functionality on the mobile site while overriding the template/look and feel. Without this, MobileFormatter will simply strip out the entire form on render. Change-Id: I0107547d4f65ca7434619759bb70e09dea9701f8 commit b848762ca8ec7e295d37045a04ed39a8b0aac715 Author: awjrichards <arichards@wikimedia.org> Date: Tue Oct 16 10:57:50 2012 -0700 Make MobileFormatter:: non-static and provide corresponding getter/settter methods Change-Id: I6c76f29252dda45a85f6b1c7955afaa7a70fb545 commit 8c9eea4f9bfe91f23aced195104224849152561d Author: awjrichards <arichards@wikimedia.org> Date: Tue Oct 16 10:18:23 2012 -0700 code style formatting fix Change-Id: I387cccb28ba1f56d7b773ad1ed6a47a90c611b23 commit c9afe8a34ed0a51a7b62351c7853d6220613df17 Author: jrobson <jrobson@wikimedia.org> Date: Mon Oct 15 14:20:27 2012 -0700 add buttons for styling and languageSelector class to language selection button take buttons.less found in http://github.com/wikimedia/agora and tweak for the purpose of the language button found at bottom of page Change-Id: Ie0b9ba777f41788d8d6bc1b02fae37584ce2908f