Extension:MobileFrontend/Deployments/2012-10-30

commit 1a7ca9c9cf93685a3cade60f64c8c3cb6978e007 Merge: 0de2165 dc5ade5 Author: preilly  Date:  Tue Oct 30 19:56:54 2012 +0000

Merge "update comment on mf-hacks.less/css now we have mf-enwp.css"

commit 0de2165df6ba50644f8bc5be114e7af1f700697b Merge: 7285133 aac10bd Author: preilly  Date:  Tue Oct 30 18:48:46 2012 +0000

Merge "only run getToken ajax request if user authenticated"

commit 7285133a17d03771779572bcdd2d7c283e95e8ea Author: Max Semenik  Date:  Tue Oct 30 22:34:35 2012 +0400

Kill most of the mobile token stuff We don't need it in frontend anymore, backend still uses it for Special:MobileOptions CSRF protection. Now, anyone who haven't   visited that page will not have session cookies and will not bypass caches. Change-Id: Ife445a60fb9b838012b03b2659c1dc3d93b7cc66

commit aac10bdc504d246defbe4866df502236dda30dad Author: jrobson  Date:  Tue Oct 30 10:48:04 2012 -0700

only run getToken ajax request if user authenticated set a flag in mwMobileFrontendConfig to say whether user is   authenticated or not helps bug 41519 somewhat Change-Id: Ib14857abd29ed3c355280e5f611f735690ed4695

commit dc5ade5ca91d817c59bd6e496fa5e78aa97910c5 Author: jrobson  Date:  Tue Oct 30 10:39:52 2012 -0700

update comment on mf-hacks.less/css now we have mf-enwp.css mf-enwp.css exists for this purpose Change-Id: Ib311e4333ef6451bb490cec045f15819e3d17588

commit bd4e4778a0757d355ab3b0556805bee4a585fc7e Merge: 40df948 0d0ca68 Author: Jdlrobson  Date:  Tue Oct 30 01:50:43 2012 +0000

Merge "Remove SOPA styling from MF"

commit 40df948cd9fb41cad6b3333cb05693a2c1b43091 Author: awjrichards  Date:  Mon Oct 29 22:28:20 2012 +0000

Revert "remove footer from beta" This reverts commit 70a292cc12f46c23dccfd71c2aee03c8ac8b10b0 Conflicts: stylesheets/common/mf-footer.css stylesheets/less/common/mf-footer.less Change-Id: Ibb4182cf1b27d65db538dc9ed89eb578f531d1ac

commit 940d497327c3c8ca955d3f257923eb7fb4fadc74 Merge: c0782da 5b2b7ba Author: Brion VIBBER  Date:  Mon Oct 29 22:45:20 2012 +0000

Merge "Split off en.wp specific stuff into a separate file."

commit c0782dac29316371237bdd7ee6559f14428cf84b Merge: 6f7a937 2569e0e Author: Brion VIBBER  Date:  Mon Oct 29 22:42:50 2012 +0000

Merge "reveal simple wikipedia language link again (bug 41458)"

commit 2569e0ebda82a48d4a54cd5491b673de4b60bbf3 Author: jrobson  Date:  Mon Oct 29 15:23:09 2012 -0700

reveal simple wikipedia language link again (bug 41458) Change-Id: Ieed3ac1d3beac2adfae13610f6bb8485f46278f6

commit 0d0ca68131a6225914b6a47a7ae133c51d77bd68 Author: Derk-Jan Hartman  Date:  Mon Oct 29 23:27:10 2012 +0100

Remove SOPA styling from MF   Change-Id: I6384614f81dffc9ff447f2566a1b347c5297f81c

commit 5b2b7ba8b3d3eb3384d15497b9a6d0a8ce7f23bd Author: Derk-Jan Hartman  Date:  Mon Oct 29 23:22:08 2012 +0100

Split off en.wp specific stuff into a separate file. We can move this into MediaWiki:Mobile.css, but if we remove it too soon, it might break wikipedia's which have not configured their Mobile.css yet. Change-Id: Ibba4b13614f7880e5c1741b9e84599a56a4e9fcd

commit 6f7a9376e77f62ee94adba223d583b19ac51e4e0 Merge: fc82d83 b652b56 Author: Brion VIBBER  Date:  Mon Oct 29 22:18:27 2012 +0000

Merge "don't show edit button for anons"

commit b652b56c214ae529dcda68551afb81302096e018 Author: jrobson  Date:  Mon Oct 29 15:04:17 2012 -0700

don't show edit button for anons whilst this is in experimental mode it was requested that edit button only shows to logged in users. Edit token is +\\ for anon users Change-Id: I7a386482410e6983fddb2f54f3ab1596b0ab0940

commit fc82d83508a8c40c8291ed381a1837ae023d83fc Merge: 8ffea67 fecc2a3 Author: Brion VIBBER  Date:  Mon Oct 29 22:03:01 2012 +0000

Merge "distinguish between token types when caching"

commit 8ffea672e5a624e42a3e5d0559303bbd9eb69b74 Merge: b4ef708 5709a43 Author: Brion VIBBER  Date:  Mon Oct 29 21:57:35 2012 +0000

Merge "toggle sections on mousedown rather than click"

commit fecc2a38c6293fc863c6ff76d27062730ebd6a4f Author: jrobson <jrobson@wikimedia.org> Date:  Mon Oct 29 14:57:01 2012 -0700

distinguish between token types when caching currently the watchlist icon shows when not logged in as the edit token query is cached as the result of the watchlist token query Change-Id: Ief92d9484227e6273a2e70ee4ecf6a00326a7801

commit 9b884ea8896bb277c53b37d7fd72d087cf597430 Merge: eb8c286 3cfb40f Author: Brion VIBBER <brion@wikimedia.org> Date:  Mon Oct 29 21:53:29 2012 +0000

Merge "remove window scroll event (bug 41412)"

commit 5709a433d367d9bb4e0b529c844e298297195cb5 Author: jrobson <jrobson@wikimedia.org> Date:  Mon Oct 29 14:51:43 2012 -0700

toggle sections on mousedown rather than click make section toggling feel more responsive Change-Id: I6e274c76b8710dec0c893bb4ea95e205d9c238eb

commit 3cfb40f0ef7c7f9b50ef994b56d4db97532b2659 Author: jrobson <jrobson@wikimedia.org> Date:  Mon Oct 29 14:48:13 2012 -0700

remove window scroll event (bug 41412) this seems to be the cause of all the android woes. It creates a   huge amount of lag and since it is actually no longer being used. Another fail for position fixed related code Change-Id: Ia8b3c628f94e8953beb615059bfd2cef335dbeff

commit eb8c2861e94cd086886c69df73d621aa114323aa Merge: 042b71b 18441af Author: awjrichards <arichards@wikimedia.org> Date:  Mon Oct 29 18:56:55 2012 +0000

Merge "remove search form from Special:Search"

commit 042b71b823812ff26054cc9801801b00c56f4d40 Merge: c4baf91 90b8492 Author: awjrichards <arichards@wikimedia.org> Date:  Mon Oct 29 18:53:00 2012 +0000

Merge "correct firstRun check"

commit c4baf9109c1601f276a90949235806f8884faf66 Merge: b48783b d350f4c Author: awjrichards <arichards@wikimedia.org> Date:  Mon Oct 29 18:04:42 2012 +0000

Merge "when saving via mobile append [Via Mobile] to comment"

commit b48783be4d2ff1a875bb7f4f80f89ca61840c4a7 Merge: 39bdac0 e01b582 Author: awjrichards <arichards@wikimedia.org> Date:  Mon Oct 29 18:02:00 2012 +0000

Merge "only show edit button when logged in"

commit 39bdac09f6ee213dbb8d908a9818567acf26ed8c Merge: 018277d ebd6421 Author: awjrichards <arichards@wikimedia.org> Date:  Mon Oct 29 17:52:11 2012 +0000

Merge "remove borders from th and td elements (bug 37222)"

commit 018277d739717807cb0eacded15a2cecca0f3df9 Merge: c17acba 80c29d9 Author: awjrichards <arichards@wikimedia.org> Date:  Mon Oct 29 17:48:15 2012 +0000

Merge "hijack links when you expand a section"

commit c17acba7718c6577c345b5cbd9d8371f290ccaf8 Merge: 99f797e 9db02bf Author: awjrichards <arichards@wikimedia.org> Date:  Mon Oct 29 17:43:54 2012 +0000

Merge "keep history sacred"

commit 18441afd1f5578d088abf33945aa905f7c652643 Author: jrobson <jrobson@wikimedia.org> Date:  Sat Oct 27 10:19:45 2012 -0700

remove search form from Special:Search follow up to removal of form in   I34f8a97d31ae7cb0578c264d80c31d5782ae8c0f Change-Id: Iaa67c0ab99e6e6b4c7efe442d614c6d53b20ece6

commit 90b8492157c325b7dc365d358a1fff059e0fea84 Author: jrobson <jrobson@wikimedia.org> Date:  Fri Oct 26 16:40:10 2012 -0700

correct firstRun check Change-Id: I814445073db6d7928ba36aac3795dca7921a420c

commit d350f4cf330c075e074cf31b020e532d23fa8bc1 Author: jrobson <jrobson@wikimedia.org> Date:  Fri Oct 26 15:27:27 2012 -0700

when saving via mobile append [Via Mobile] to comment Note I'm not i18n this message as we want to get a feel for how many people use this feature and what kind of edits they make Change-Id: I79083f5c0b18a49db265b3ce3f7b5c323e17408f

commit e01b5823acf58ea7f5d822603651f5bae4ba7d98 Author: jrobson <jrobson@wikimedia.org> Date:  Fri Oct 26 15:20:43 2012 -0700

only show edit button when logged in   this will minimise noise and give us an idea how existing editors would use an edit feature Change-Id: I598763eeb4005d911bb6d8a4bbf4dee4e9d14d07

commit ebd642197a96249801df59baae7b8a7e0abeb497 Author: jrobson <jrobson@wikimedia.org> Date:  Fri Oct 26 14:50:59 2012 -0700

remove borders from th and td elements (bug 37222) looking at logs not clear they were added for any reason Change-Id: I14f4d0897a04d961fc6eb77fbc06576296532720

commit 80c29d9ae9f9f0380d9b7976b8a8313fb781980c Author: jrobson <jrobson@wikimedia.org> Date:  Fri Oct 26 10:42:57 2012 -0700

hijack links when you expand a section currently links within a section are not hijacked - this exposes hijackLinks in the mf-history.js module Change-Id: Iea8dd140079d23cc08b8c5756bc88bcf28c0664b

commit 9db02bf2c8200bab8e46c5b702d2debe42f10945 Author: jrobson <jrobson@wikimedia.org> Date:  Fri Oct 26 10:33:47 2012 -0700

keep history sacred clicking links is not updating history as we are returning too early Change-Id: Ib484301252724e224c952c21b7f42e3ce5116985

commit 2a810277e018b1e4913f54e59789c59c91711556 Merge: 916a335 900e74b Author: preilly <preilly@wikimedia.org> Date:  Fri Oct 26 16:51:26 2012 +0000

Merge changes Id444dcc6,I94bdd53b * changes: mark closing tags to assist readability improve html validation

commit 900e74b192185023de0f2b965f54675b7876b472 Author: jrobson <jrobson@wikimedia.org> Date:  Fri Oct 26 09:50:26 2012 -0700

mark closing tags to assist readability Change-Id: Id444dcc6206484cdd641bb849143f48410a4d524

commit 359ad25e0dab56ffa00df37930e2dc3770eabedb Author: jrobson <jrobson@wikimedia.org> Date:  Tue Oct 23 15:57:24 2012 -0700

improve html validation * change from div to span as div's cannot be children of headings * remove conditional if statements (DeviceDetection takes care of this) Change-Id: I94bdd53bfe66ca2b2bc5c8826fe0fa615d565d42

commit 916a3358a57f4eddea6c05f5cc7d862bb4939027 Author: jrobson <jrobson@wikimedia.org> Date:  Wed Oct 24 15:02:18 2012 -0700

enable toggling on edit page adjust toggling so that buttons in headings do not trigger a form submit (preventDefault) reuse existing heading styling Change-Id: Ib8ad861d4f96081343baa3ac779633b4d29ab00c

commit 1dd3d2ab4175cad58219598b65f86954c40a54c6 Author: jrobson <jrobson@wikimedia.org> Date:  Wed Oct 24 14:48:18 2012 -0700

add javascript to split large edit area into several edit boxes large edit boxes are impossible to use in mobile - this breaks them into several boxes which when save is hit are combined. Change-Id: I625388fa1654ca3c61da8e78d6623a9422d8aff6

commit 10ed303b8600cec395bcad26629d839e0ee8534c Merge: cf6ee72 61ffcc6 Author: preilly <preilly@wikimedia.org> Date:  Fri Oct 26 16:27:18 2012 +0000

Merge "add edit link to pages in beta mode"

commit 61ffcc69e120b0d0716f7a5959d11d13d2d5c57f Author: jrobson <jrobson@wikimedia.org> Date:  Wed Oct 24 14:45:30 2012 -0700

add edit link to pages in beta mode Change-Id: If40b34fb37754f2882362f4ca27c5e5b4512481e

commit cf6ee72ca5ed34f2e0beede068e7cc39a4889a8b Merge: 2648c10 c011eae Author: preilly <preilly@wikimedia.org> Date:  Fri Oct 26 16:24:10 2012 +0000

Merge "bring basic editing to mobile"

commit 2648c10bd338fa46d785418df97591df7c3db747 Merge: 7a5478e 4051e22 Author: preilly <preilly@wikimedia.org> Date:  Fri Oct 26 16:23:14 2012 +0000

Merge "1px tweak to menu items"

commit 4051e2296396c5d282c25ac859e5a83885813f0a Author: jrobson <jrobson@wikimedia.org> Date:  Thu Oct 25 16:00:32 2012 -0700

1px tweak to menu items Change-Id: I00009bc66cb77879eeeae83d52869d754950101d

commit 7a5478e26b17273740b59f01df9e2afed9f1a761 Merge: 5230a02 638bac1 Author: preilly <preilly@wikimedia.org> Date:  Fri Oct 26 16:21:59 2012 +0000

Merge changes Ib2426297,I8f7c646d * changes: change watch list icon to black star move watch article css from mf-navigation to mf-watchlist

commit 5230a02e2af1adcfcc49b4f416e3f93f0c744a11 Merge: d7cdd9f a573d7d Author: preilly <preilly@wikimedia.org> Date:  Fri Oct 26 16:21:01 2012 +0000

Merge changes Ie6f9b555,I3e448c10,I4fc51d93 * changes: refactor footer css remove footer from beta add margin to bottom of anchor tags

commit d7cdd9f8cad343c729ee7eab383a0776ec568676 Merge: 2a16be3 73ed319 Author: preilly <preilly@wikimedia.org> Date:  Fri Oct 26 16:20:32 2012 +0000

Merge "hijack random button and load content dynamically in beta"

commit 2a16be32ed5d0904866ba9582b11050af9f3d1f4 Merge: 7d1b9c0 c8e165b Author: preilly <preilly@wikimedia.org> Date:  Fri Oct 26 16:20:19 2012 +0000

Merge "abstract createStubPage function and return ajax requests"

commit 73ed319dbbaba465a3943f80e19ee375e3b1affa Author: jrobson <jrobson@wikimedia.org> Date:  Thu Oct 25 18:35:52 2012 -0700

hijack random button and load content dynamically in beta this makes random much more playful and fun Change-Id: I9ced3b8251703692cd3a5d4faaff366f13af4ef5

commit c8e165b62756d66a022f0b318fb35ee094805212 Author: jrobson <jrobson@wikimedia.org> Date:  Thu Oct 25 17:40:41 2012 -0700

abstract createStubPage function and return ajax requests in preparation for usage in other modules return the deferred objects so other modules can cancel them if necessary Change-Id: If21a93c0734ac86dc05a72fbfdf13f2d92a145fc

commit a573d7df71738f1295ed77edba9f0d4778d62167 Author: jrobson <jrobson@wikimedia.org> Date:  Thu Oct 25 17:13:57 2012 -0700

refactor footer css throwaway rules for elements that no longer exist rearrange into more readable format merge definitions that mean the same Change-Id: Ie6f9b5550019bbb0ee2374b8018499f76e79cd6a

commit 70a292cc12f46c23dccfd71c2aee03c8ac8b10b0 Author: jrobson <jrobson@wikimedia.org> Date:  Thu Oct 25 16:42:10 2012 -0700

remove footer from beta remove code relating to footer Change-Id: I3e448c1055abba63fcfc5ff3789b6883abb2fe93

commit f9811bd46652e99e40dac1f45c1b8fc3fb1c3aae Author: jrobson <jrobson@wikimedia.org> Date:  Thu Oct 25 16:35:30 2012 -0700

add margin to bottom of anchor tags Change-Id: I4fc51d930de633513219dc0c63de9c89e81ab48a

commit 638bac1b9adf9458530ab3895d02ac499dccb72b Author: jrobson <jrobson@wikimedia.org> Date:  Thu Oct 25 15:47:07 2012 -0700

change watch list icon to black star * hide secondary nav when in full screen search mode * refactor existing watchlist code * tweak appearance of watchlist star in search results Change-Id: Ib24262975885ca6b8cc45e16014ae6dca9031939

commit 9ba59a6c677a679b0fa8a1587a3d190f817b87b0 Author: jrobson <jrobson@wikimedia.org> Date:  Thu Oct 25 15:16:41 2012 -0700

move watch article css from mf-navigation to mf-watchlist Change-Id: I8f7c646d43283a5c68c663a4581b51d5f874763b

commit 7d1b9c0a272eed1b5fbfcfae705daeb7fe7d63e6 Author: jrobson <jrobson@wikimedia.org> Date:  Thu Oct 25 15:16:15 2012 -0700

move watchlist.css into less file Change-Id: Ifdfe333d4868d3e0a801622416688a9e7cbb975f

commit 1a8b80212948e2692423fa840cc14ec830f5537c Merge: de75222 7bc06ca Author: Brion VIBBER <brion@wikimedia.org> Date:  Thu Oct 25 21:34:21 2012 +0000

Merge changes Ib465d8d4,If3b8b4f0 * changes: jslint / whitespace fixes bring back language filter code

commit de75222986f916932e628068e385b51f570b9480 Merge: 2b6f9f8 d55cd1d Author: Brion VIBBER <brion@wikimedia.org> Date:  Thu Oct 25 21:32:02 2012 +0000

Merge "ensure content takes up full width (bug 41401)"

commit 2b6f9f85f357d77e7ff4ec24ec09331eb7468059 Merge: 90a46b0 f0d4de3 Author: Brion VIBBER <brion@wikimedia.org> Date:  Thu Oct 25 21:24:13 2012 +0000

Merge "use min-width instead of width for save settings button (bug 41357)"

commit f0d4de3b4b30f6e96a73d832c54e7c1d511d6c43 Author: jrobson <jrobson@wikimedia.org> Date:  Thu Oct 25 13:29:10 2012 -0700

use min-width instead of width for save settings button (bug 41357) where text is larger the button has room 'to breath' Change-Id: I3a196ce2a3310d29234efecf9e782e102559ee6a

commit 90a46b0f2e56b633aca0b8e9212e2b2f5ec21c42 Author: Brion Vibber <brion@pobox.com> Date:  Thu Oct 25 14:18:50 2012 -0700

bug 41141: don't output TM or (R) next to the sitename by default. If it's needed on individual sites, it can be added to the mobile-frontend-footer-sitename message. Change-Id: I1f5fab589d740a436e4ca243b5daaf0d235d2e20

commit d55cd1dc35c696d22607291e6adf7d703427f5b1 Author: jrobson <jrobson@wikimedia.org> Date:  Thu Oct 25 13:18:38 2012 -0700

ensure content takes up full width (bug 41401) Change-Id: I8e73ebc338a9b7a5aeebc5a24b3d5b65d87e3dd9

commit bd342c44d3379513acbadfcbc627b25eb383fb69 Author: Translation updater bot <l10n-bot@translatewiki.net> Date:  Thu Oct 25 20:01:24 2012 +0000

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

commit c011eae4239fb66e4de4785720e7c9e58ea15bf9 Author: jrobson <jrobson@wikimedia.org> Date:  Wed Oct 24 10:37:43 2012 -0700

bring basic editing to mobile rethink MobileContext to only scrub editing features that do not work rather than everything add mf-edit styling only redirect to desktop site on edit for non-beta add mixin for common box-sizing css Change-Id: I34f8a97d31ae7cb0578c264d80c31d5782ae8c0f

commit 7bc06caab2bd5d0b99a82eaa219695ea44e2e211 Author: jrobson <jrobson@wikimedia.org> Date:  Thu Oct 25 12:05:49 2012 -0700

jslint / whitespace fixes cleanup code Change-Id: Ib465d8d4e3fd65f4a1c3f95de295af962809a498

commit d252238e5d794ed690ec764e6f6809c46d440419 Author: jrobson <jrobson@wikimedia.org> Date:  Thu Oct 25 12:01:28 2012 -0700

bring back language filter code this adds a search box to the language overlay which allows filtering the list of languages which can sometimes be long removes close behaviour for entire overlay header makes createOverlay return the overlay element Change-Id: If3b8b4f0c28d7ecaee00317912729330fd05b3ec