Commit graph

11256 commits

Author SHA1 Message Date
Translation updater bot d300f6a1ff Localisation updates from https://translatewiki.net.
Change-Id: I826fa20c2850c5711e81863104d39453daaa40b3
2016-02-19 22:12:30 +01:00
jenkins-bot 30e6acfff2 Merge "MWMetaDialog: Fix setup of pages" 2016-02-19 19:52:55 +00:00
Ed Sanders 15a47665c8 Meta dialog: Use window action to open windows
Because abstraction.

Change-Id: I9811db4380c6cf37a73a76b97c8439f94723c5a6
2016-02-19 17:37:42 +00:00
Translation updater bot acc2347eee Localisation updates from https://translatewiki.net.
Change-Id: I7dae6beab2b97fefffa0bdc72766e553da7a4c75
2016-02-18 22:18:44 +01:00
James D. Forrester 6e6ac1656f MWPopupTool: Update Phabricator URL broken by upgrade
Change-Id: I17fc6178729e246643e999e622b84e34fc7959b3
2016-02-18 11:24:00 -08:00
Ed Sanders b70eb51491 MWMetaDialog: Fix setup of pages
Only call setup in ready process, as setup includes setting
focus. Defer fitInput call to category widget until transition
is finished so measurements are correct.

Change-Id: I49a30402cf58e36f16316e3ab04fa3349d19954e
2016-02-18 17:14:45 +00:00
Ed Sanders 704ec7ad3f MWCategoryWidget: Improve caching
For every title request, store an entry in noramlizedTitle to
avoid ever making an API request for that category again.

This prevents API requests from being fired every time a
category was moved, which in turn prevents the list from
flickering as it waits for the API request to resolve.

Also normalise the spelling of normalize to en-US/en-GB-oxendict

Bug: T127317
Change-Id: Ie26d9d60fb83981c45ff27199e38ae98e5560a28
2016-02-18 17:14:33 +00:00
Željko Filipin 60a08f925c [BrowserTest] Fix ve.init is undefined error messages in Selenium tests
All scenarios that are passing are enabled to run in Jenkins.
(The commit increases the number of passing scenarios from 2 to 18.)

Bug: T126966
Change-Id: I9789ca42717133120197c4625bb8dad4ea496aa8
2016-02-18 15:42:05 +01:00
Ed Sanders 7eeb136d94 MWCategoryWidget: Use namespace constants from config
Change-Id: I63661ce49dbb0fac62cb7dbd65c466cfdd6e57b0
2016-02-18 11:36:31 +00:00
James D. Forrester cebaacb546 Update VE core submodule to master (cdfd84e)
New changes:
c02ea46 Clarify documentation of directionality methods
43c9b6f Move initialisation browser support checking from downstream
c89be66 Localisation updates from https://translatewiki.net.
5fb7907 Follow-up c89be66: Fix build for added language 'nan'
fc74fab dm.ElementLinearData.compareElements: Add a few missed test cases

Local changes:
Use initialisation browser support checking from upstream

Depends-On: I27a8e7b4376647f01cee648de987dc3ca6a060d5
Change-Id: I3fc79422ee5e487cf5fae3929fe492f21cd2840a
2016-02-17 20:04:16 -08:00
jenkins-bot 0f2ef11ca3 Merge "build: Update mediawiki-codesniffer to 0.6.0, add "composer fix"" 2016-02-17 23:46:12 +00:00
Translation updater bot dabeb4218d Localisation updates from https://translatewiki.net.
Change-Id: Iaabe8dd045b2670aeb9fc0164fcb30f682f73b6c
2016-02-17 22:52:14 +01:00
James D. Forrester e7a3ec43bf build: Update mediawiki-codesniffer to 0.6.0, add "composer fix"
Change-Id: Ic96081539c2ae98b5b239b59ca9b0362b337e522
2016-02-17 08:18:02 -08:00
Alex Monk 83d8a7d9bb Don't remove .ve-activated after successfully activating
hideLoading always gets called after activating, not just failing

Follows-up: I13058ae1

Bug: T127184
Change-Id: I47d1892feacbfcf832aa32f689f173601b76c4ba
2016-02-17 15:36:18 +00:00
James D. Forrester f450c09e6e Update VE core submodule to master (33d090b)
New changes:
0e1f948 Localisation updates from https://translatewiki.net.
621f30e Localisation updates from https://translatewiki.net.
73c9829 FocusableNode: Bind position events later
75f2eb9 FocusableNode: Change mouseout events to mouseleave
6aeaabb Fix cache invalidation of SurfaceFragment.leafNodes
32ceee2 Share getSelectedNode logic between Surface and SurfaceFragment
a9782a0 ve.ce.Surface: Cache current selection
4fd5da1 Move model fallback for getDirectionFromSelection into method
b829a53 Move selection directionality to ve.ce.Selection
ba43c98 Replace some $.hasClass with Element.classList.contains
2beaa08 Localisation updates from https://translatewiki.net.
2ba1197 ce.TableNode#onSurfaceModelSelect: Table overlay optimisation
9d00622 Localisation updates from https://translatewiki.net.
33d090b Update OOjs UI to v0.15.4

Change-Id: Iab28b0513b075b4dfb1b207a55a0b297c3cea885
2016-02-16 18:27:53 -08:00
jenkins-bot 2a5ca23f80 Merge "Revert "Re-add null appendix tab messages to extension.json"" 2016-02-17 00:50:34 +00:00
Translation updater bot 3ec98ab32d Localisation updates from https://translatewiki.net.
Change-Id: I18bd9573f32007ef6a112b035d0bea503d4c581b
2016-02-16 23:13:41 +01:00
jenkins-bot 88c5316f22 Merge "Try to switch into the wikitext editor automatically if there is an error loading VE on action=edit" 2016-02-16 16:56:15 +00:00
jenkins-bot a87434c49e Merge "Revert "DesktopArticleTarget: Don't abort in SET mode if veswitched is set"" 2016-02-16 16:53:48 +00:00
Translation updater bot 6c9b6f0fd7 Localisation updates from https://translatewiki.net.
Change-Id: I2ac29726abb9a68893926d5ab1e06985b5a81cf9
2016-02-15 21:42:28 +01:00
Željko Filipin 966f2f7bbb [BrowserTest] Jenkins runs only passing Cucumber scenarios
To get at least some Cucumber scenarios running in Jenkins, disable all
of them that are failing and run only ones that are passing.

The next step will be to fix failing scenarios.

Bug: T94162
Change-Id: Id0338c1d6b86d6b45220c5c0802074be397fb607
2016-02-15 13:18:19 +00:00
Translation updater bot db852aff65 Localisation updates from https://translatewiki.net.
Change-Id: I3e66b91d4c39d676e167e5d0cfdc914e44c51fa4
2016-02-14 21:31:45 +01:00
Translation updater bot 747a90ada2 Localisation updates from https://translatewiki.net.
Change-Id: If10088f3fc527750ea96bd73d55e8c412d5c1c66
2016-02-13 23:02:29 +01:00
Alex Monk 9a1c0762cb Try to switch into the wikitext editor automatically if there is an error loading VE on action=edit
Bug: T125998
Change-Id: I2982f6e5f26086a1175b9fc8c3039a2143a44659
2016-02-13 02:56:01 +00:00
Alex Monk 35d38ae13a Revert "DesktopArticleTarget: Don't abort in SET mode if veswitched is set"
This reverts commit 5b083a7272.

Change-Id: Ief26646da34e88b6a32c782a8b0b40dd1ba53903
2016-02-13 02:17:54 +00:00
James D. Forrester bef99351b1 Update VE core submodule to master (6f0c9c2)
New changes:
fbd2dbd Localisation updates from https://translatewiki.net.
a455f9e Fix structure of broken nested lists from Google Docs
2f50c78 Table overlay: Prevent unnecessary scrolls when editing cells
8b1208c [BREAKING CHANGE] Move scrollIntoView down into the surface

Change-Id: I181d3277e745aa90cdf278eee28b640b570cbff3
2016-02-13 02:04:19 +00:00
Alex Monk 1c1d018bc7 Unbreak VE
Follow-up to I13058ae1

Change-Id: Icb30f87746bea3911379fca9766877a36e8b5975
2016-02-13 00:58:42 +00:00
Translation updater bot 685bacc990 Localisation updates from https://translatewiki.net.
Change-Id: Ibd9a19ca100c3c0d392ec40095601db780d29103
2016-02-12 22:12:14 +01:00
jenkins-bot bcae181cec Merge "Try to make MW->VE switching failures break less things" 2016-02-12 17:29:29 +00:00
Translation updater bot 40bbaa9c71 Localisation updates from https://translatewiki.net.
Change-Id: Ia32d187a8afac039d4d2fb71a233fc25e0f87039
2016-02-11 21:41:11 +01:00
James D. Forrester e49ae98064 Update VE core submodule to master (55dd20e)
New changes:
7da4868 After KeyDown, check unicorns before polling the surfaceObserver
6f4153f Document annotation content container usage

Change-Id: Iaa23da99f2f789e7a41fbec18ccc1c5b22830542
2016-02-11 09:40:23 -08:00
Alex Monk 4a288a5866 Try to make MW->VE switching failures break less things
* Try to hide loading bar on failure
* Don't set wgAction back to 'view' if we're dropping the user back to the
  wikitext editor

Bug: T125580
Change-Id: I13058ae131a1dda3b172e78d9b143d70831c47f1
2016-02-11 02:39:06 +00:00
Ed Sanders af8e23ec6e Remove code for varying MWLinkInspectorTool title
The title is visibly varied in the context menu separately, and
we don't usually change the link tool's title - so this is just
a performance drain (updateState happens a lot).

Change-Id: I9cf2aa509a6aac3a2914fa52167cb4463843cd72
2016-02-11 02:22:16 +00:00
James D. Forrester 2d278a9ff9 Update VE core submodule to master (5ea4fdf)
New changes:
cfef99f build: Bump various devDeps to latest and make pass
52dfc0d Localisation updates from https://translatewiki.net.
cf23fba SurfaceFragment: Handle multi-range annotations correctly
ac8bfe8 Localisation updates from https://translatewiki.net.
36ab134 Update OOjs UI to v0.15.3
fd38a4a Use plain DOM in ve.ce.LinkAnnotation
016e208 Localisation updates from https://translatewiki.net.
f5ff675 FocusableNode: watch for image loaded/layout changes for invisible icons

Change-Id: Idfb2175ef5c0ad1e557f341325878fd8c46e169a
2016-02-10 17:21:36 -08:00
Translation updater bot 35cf5524b3 Localisation updates from https://translatewiki.net.
Change-Id: Ide3b91bb90a8fd3c566bd657a13997211d8a345c
2016-02-10 21:11:44 +01:00
jenkins-bot 0611527d77 Merge "Remove translations of messages since moved to Cite/Citoid" 2016-02-10 08:08:51 +00:00
jenkins-bot 4a751524c4 Merge "Edit mode switch: Show popup next to VE switch button" 2016-02-10 01:51:57 +00:00
Ed Sanders 80124c88a6 Edit mode switch: Show popup next to VE switch button
Only show if the user came from VE.

Change-Id: Ic362ba534d135fca5516c8ba401f6b2a22886ff1
2016-02-10 01:36:32 +00:00
Alex Monk 863a2c2974 Don't try to tell the server to set preferences to their current values
It's rather pointless.

Change-Id: I8065af1d61108ce843c0afd2eaa0f1f9b85b6998
2016-02-10 01:04:47 +00:00
Ed Sanders e073a431fc Remove translations of messages since moved to Cite/Citoid
Change-Id: I692f03b374ec28ec6d81aab2d2d6fcd7705cedc5
2016-02-10 00:39:18 +00:00
Translation updater bot 829b2cd430 Localisation updates from https://translatewiki.net.
Change-Id: I28e88ed6e5da7567693ee2833e501696251deecd
2016-02-09 21:42:50 +01:00
Alex Monk 188ec0f5d2 Send users whose browsers support JS but are unsupported by MW to the WTE using venoscript=1
Bug: T123457
Change-Id: Ia7e6f4dc1b7dc15fa287bf6b2c4ea12eb4a7c4ba
Depends-On: Ice6ebb95bfcb2050f4813705467942f95f7e720c
2016-02-09 19:04:14 +00:00
Alex Monk 03a10bc443 Revert "Re-add null appendix tab messages to extension.json"
This reverts commit c4a1e2a3f7.

Bug: T125249
Change-Id: Ifebfb7979e05efe1bd723e4f84f6e43088c9c85e
2016-02-09 18:43:13 +00:00
James D. Forrester 2837cfb400 ext.visualEditor.desktopArticleTarget.init: Depend on mediawiki.user too
Change-Id: I8df684ae582a2caef051a04ee99b9f518ecf567a
2016-02-09 10:38:22 -08:00
jenkins-bot d5f6c220d3 Merge "Follow-up I7e1edcf05c: Remove MonoBook z-index hack" 2016-02-09 14:28:16 +00:00
jenkins-bot 1844af1588 Merge "ve.init.mw.trackSubscriber: Sample at 6.25%" 2016-02-09 01:06:23 +00:00
James D. Forrester a1db489d95 ve.init.mw.trackSubscriber: Sample at 6.25%
Bug: T125598
Change-Id: I1915a6456ba5dfc10e4a52df24cee2e68b27e526
2016-02-08 13:22:33 -08:00
Translation updater bot 047517fa22 Localisation updates from https://translatewiki.net.
Change-Id: I475a76215ab50328eb2c65d68b2c4be2a5afd6e2
2016-02-08 22:17:32 +01:00
jenkins-bot e5eb83ff8b Merge "build: Bump various devDeps to latest and make pass" 2016-02-08 18:18:03 +00:00
Ed Sanders 25be46a57d Fix transclusion node cloneElement method
* Override the static cloneElement. getClonedElement shouldn't
  be overridden as doing so misses static invocations.
* Apply the same fix to extension nodes
* Fix DOM loop to reference clone.originalDomElements[ i ]

Logically depends on Id8024c171c to work.

Bug: T126169
Bug: T126114
Change-Id: Icf4d3115db5b12b97a6c805ff3d0b71d9e88b804
2016-02-08 15:29:19 +00:00