Commit graph

7947 commits

Author SHA1 Message Date
Mark A. Hershberger 7d5e5ec9a9 MWMediaResourceProvider: Use exist instead of bool check on API values
In the MediaWiki API, booleans exist or don't exist (with an empty string),
you can't check "if (bool)..." since that will always be false.  The API has
a newer formatversion=2 that fixes this but we're not using that yet.

Also update the defaultSource placeholder to match the API response. If one
would only update defaultSource without the 'if'-fix, one can reproduce T66822
on a local wiki (JSON-P request instead of JSON).

Bug: T66822
Change-Id: I5a8ab1136325c33c62982c0869fa14ca2fb26034
2015-06-11 17:29:36 +01:00
C. Scott Ananian 85b86fb45d Stop using deprecated aliases for OO.ui.mixin.*
These classes were renamed in OOUI v0.11.4.

Change-Id: Ie932eb3bf5e65866ae4ba3bf2317facb1e740d3b
2015-06-10 20:25:04 +00:00
James D. Forrester df79ed8c4b Update VE core submodule to master (5befc34)
New changes:
3368c4c Remove some assumptions about the state of the context
79918af Move contexts to subfolder
820eaec Tests for some drag/drop functionality
e5f0e3e Convert CE surface tests to use a mock UI surface
c81dbcf Localisation updates from https://translatewiki.net.
7561ff3 Create a mock UI surface that only contains a model for model-only action tests
ad60333 Convert test timings on APIResultsQueue from seconds to milliseconds
b52d7df Table cursoring tests
3f8e821 Localisation updates from https://translatewiki.net.
9c737df Update OOjs UI to v0.11.4
5befc34 Stop using deprecated aliases for OO.ui.mixin.*

Change-Id: Ida6d4ba724686d8189975c55a18c4a6c2cfe4875
2015-06-10 12:44:55 -07:00
Translation updater bot be03474ba3 Localisation updates from https://translatewiki.net.
Change-Id: I6fcb4a1d32a509cdb51f9c017dd679ba8b01b470
2015-06-09 22:52:52 +02:00
Translation updater bot 5b03e7fcab Localisation updates from https://translatewiki.net.
Change-Id: If1c40bd7541bddf975babe26e01addca07a5e649
2015-06-08 22:02:13 +02:00
jenkins-bot 27ea306b0f Merge "Omit extension attributes with an undefined value" 2015-06-08 19:42:36 +00:00
Ed Sanders 160a673e7c Omit extension attributes with an undefined value
Change-Id: I0abad51eb392644159d1845ef3a35986dc5cb79b
2015-06-08 16:03:47 +01:00
jenkins-bot b24a4529c5 Merge "Empty all inputs on link inspector teardown" 2015-06-08 14:37:26 +00:00
Translation updater bot 9c57bdbf30 Localisation updates from https://translatewiki.net.
Change-Id: Id15a54207ef791722c00360b22a2610039ace4a6
2015-06-07 22:33:41 +02:00
Translation updater bot f1a9d02101 Localisation updates from https://translatewiki.net.
Change-Id: I320c9034aaf046f0d5147b352c7e88dd3fcfe011
2015-06-06 22:25:41 +02:00
Bartosz Dziewoński abbb62fe8e ve.ui.MWTitleInputWidget: Restore 've-ui-mwTitleInputWidget' CSS class
've-ui-mwTitleInputWidget-menu', too. Removed in
b3d2e9013f, but we actually
use these classes in styles and in browser tests.

Bug: T101600
Change-Id: I40dae9c68bbcba2f980c307fe0dfa0956b4eb78a
2015-06-06 13:17:32 +02:00
Translation updater bot 01a082a0c2 Localisation updates from https://translatewiki.net.
Change-Id: I94a4851b9b46a1748cdbc6e9a442c9f919588c22
2015-06-05 21:16:43 +02:00
Ed Sanders 5ac580e18b Empty all inputs on link inspector teardown
The parent class only nullifies the active input, but for completeness
we should nullify both.

Change-Id: I3017ef0ca61753fefde1c23b43178d46c6308e9f
2015-06-05 16:17:29 +01:00
jenkins-bot 236e02aed6 Merge "Account for MWTitleInputWidget having been moved into MW core" 2015-06-04 23:11:01 +00:00
jenkins-bot d6982bc880 Merge "Fix tabbing to info/delete buttons in template dialogs" 2015-06-04 22:30:27 +00:00
jenkins-bot 351c54d1ab Merge "Make sure reference result menu can wrap" 2015-06-04 22:30:00 +00:00
Ed Sanders 325c9cb521 Move cursor to end when changing link mode
Allows you to keep typing after 'http://' in Firefox

Bug: T98895
Change-Id: I785863e9a3bd3c0d548bee13ae2810eccc739a8f
2015-06-04 18:23:34 +01:00
Translation updater bot c488e96a8f Localisation updates from https://translatewiki.net.
Change-Id: Ia4b997efbb3b62b0a87a82c69a4cfec6d5d2fcdc
2015-06-03 22:13:39 +02:00
jenkins-bot d8bff91749 Merge "Add in required calls to updateActions" 2015-06-02 22:23:47 +00:00
jenkins-bot 83f8688fdd Merge "Unregister core image types" 2015-06-02 21:59:34 +00:00
jenkins-bot 84f74ea5cc Merge "Move test registry hacks into QUnit setup/teardown hooks" 2015-06-02 21:59:24 +00:00
Ed Sanders d3718edb4d Add in required calls to updateActions
Change-Id: I8c584d7bd48c957b5b07ff1bf6b52748165c18dc
2015-06-02 22:57:12 +01:00
jenkins-bot 8bee18d802 Merge "Always preserve input when switch between internal/external links" 2015-06-02 21:08:00 +00:00
Ed Sanders e8149e2588 Always preserve input when switch between internal/external links
Although an internal link is unlikely to be a valid external link, this
prevents an annoying experience when the user switches to external and
then back to internal while exploring features.

Change-Id: I178cf3f641db683f5dd0a49c246c204ded89760c
2015-06-02 22:03:08 +01:00
Translation updater bot 3fb4496588 Localisation updates from https://translatewiki.net.
Change-Id: Ib0b07589fa273b28f2ce173843390c87b5089e24
2015-06-02 21:50:08 +02:00
Ed Sanders 425e581613 Unregister core image types
Once MW images are registered, we should remove core image support so
we don't accidentally match to them (e.g. an MW inline image with an
unsupported extra RDFa type).

Change-Id: I1c8567346c371fe338f95b232c9ac53e009c5a46
2015-06-02 14:36:14 +01:00
Ed Sanders b7f92605b2 Move test registry hacks into QUnit setup/teardown hooks
Change-Id: I7b56bc7a9a69f64073ab97bdb1911d17b328b8b8
2015-06-02 14:36:10 +01:00
jenkins-bot ee9da3101e Merge "ve.dm.MWTemplateSpecModel: Account for data.maps being undefined" 2015-06-02 01:50:26 +00:00
Timo Tijhof f2875141d8 ve.dm.MWTemplateSpecModel: Account for data.maps being undefined
This new property is optional and should not be assumed to be present.
Follows-up 2ac7959849.

The constructor defaults 'maps' to an empty object, so there's no need
to add a "|| {}" in extend() or getMaps(). We merely need to make sure
we don't accidentally dereference the default in exchange for undefined.

Change-Id: Id2cb93696d12a20ee14f9d59705877dc174e6564
2015-06-02 01:48:21 +00:00
Ed Sanders e9384ad9ac Update VE core submodule to master (83d45d1)
New changes:
9d162ce Restore the selection to a sensible place when closing FindAndReplace
57229ac Only apply annotations if 'done' is clicked
bfb17ee Always show cancel button on annotation inspectors
91672cf Disable 'done'/'insert' button when input invalid
aef9cbd Only create annotations from text input if it is valid
a384b96 [BREAKING CHANGE] Make getTextFromAnnotation/getAnnotationFromText static
fa09ab7 Scroll table selection into view when it changes

Local changes:
Make getTextFromAnnotation/getAnnotationFromText static

Change-Id: Id3c2a1efb1f327fa6d5b93d57d90bb5bb8ee88f8
2015-06-02 00:47:13 +00:00
Roan Kattouw b3d2e9013f Account for MWTitleInputWidget having been moved into MW core
Depends on I43fb412ff6 in MW core.

Change-Id: Ia189e19f0ccb71adf9f3eeba4d600c2bcb360037
2015-06-01 17:24:52 -07:00
Translation updater bot ed936bdb11 Localisation updates from https://translatewiki.net.
Change-Id: I8858442868cbff32cf91ab77e73c2d1fedb28d41
2015-06-01 23:00:00 +02:00
Translation updater bot b36a5b854a Localisation updates from https://translatewiki.net.
Change-Id: I695c8f695e575dbea4a5a7d9e821f2e584d741ed
2015-05-31 22:18:47 +02:00
Translation updater bot a83a826cf6 Localisation updates from https://translatewiki.net.
Change-Id: I14a6803824061d66df3c4281c8bb5cde8238b46c
2015-05-30 23:11:38 +02:00
Translation updater bot c2c0736bc8 Localisation updates from https://translatewiki.net.
Change-Id: Id38e445ed4aceeb262aa10ca3a7bc89957532c4c
2015-05-29 22:44:16 +02:00
Translation updater bot ee8c7f328e Localisation updates from https://translatewiki.net.
Change-Id: Ic54584edec2dffaf9cf7ee741dad3599dd8778e0
2015-05-28 22:56:26 +02:00
Translation updater bot 49584ad67f Localisation updates from https://translatewiki.net.
Change-Id: I401f0e6979d762545108c9847c1120e275545ebd
2015-05-27 22:33:41 +02:00
Ed Sanders 20d3526ae6 Use updateMwData when doing a live preview
Change-Id: Iadca47339c7d16034c5715677e0789de286f3ecf
2015-05-27 15:47:48 +01:00
Translation updater bot 7023dc6bb3 Localisation updates from https://translatewiki.net.
Change-Id: Ic49f04f294daf78fca462b703bea9f4f7eb41fb6
2015-05-26 22:29:00 +02:00
Translation updater bot 4b29bc5a4d Localisation updates from https://translatewiki.net.
Change-Id: I5d04a0fbdec99aa8d7e830dd72e011f236247c26
2015-05-25 22:40:54 +02:00
jenkins-bot c500ee8537 Merge "Representation for the red-linked inline images in VE" 2015-05-25 15:28:35 +00:00
suchetag dc2247460c Representation for the red-linked inline images in VE
The red-linked inline images in VE are now identifited as red links and image errors.
They can be changed and thereby be modified just as any other inline image on the editor.

Change-Id: Idb6f6f2da14379fd7db6ca19613dad32fe40023d
2015-05-25 15:18:15 +01:00
ryasmeen@wikimedia.org cb1612b60a [BrowserTest] Fixing the test for general markup
Identifier mismatch.Updated now.

Change-Id: Ibf7b6aea144e2435d2a23e4768481a11cb8a6619
2015-05-25 14:43:56 +02:00
jenkins-bot 8491c363b5 Merge "[BrowserTest] Fixing broken test for Page Options test The test was broken as some identifiers were wrong. Updated it." 2015-05-25 12:00:16 +00:00
Translation updater bot 54872540f2 Localisation updates from https://translatewiki.net.
Change-Id: Idaf1d3bf4140bff7d0c02d8c8c6b4106acb95b5a
2015-05-24 23:10:16 +02:00
ryasmeen@wikimedia.org 058da228dd [BrowserTest] Fixing broken test for Page Options test
The test was broken as some identifiers were wrong. Updated it.

Change-Id: I03541e4ae0ed7e4c121b801a036e49bebe4d5909
2015-05-24 21:30:53 +02:00
ryasmeen@wikimedia.org 0da5989eb7 [BrowserTest] Fixing the broken test for bullets
The test was broken for using wrong identifier in the test. Updated them correctly.

Change-Id: I46a9c4ebaf1b44f0db24f2b64dcd863697011203
2015-05-24 14:30:59 +00:00
Translation updater bot 5e5adeb04c Localisation updates from https://translatewiki.net.
Change-Id: I67abd055973d8acfc38c8960ed27dec253a7964a
2015-05-24 00:20:06 +02:00
Douglas Gardner 38641f5150 rephrase feedback button to be less ambiguous
Rephrased "Leave feedback" to "Leave feedback about this software"
to make it clearer that we are talking about VisualEditor, not the
content of the article currently being edited.

Bug: T91804
Change-Id: I24a16ff5e07316abb16347ff76a5d466d6e62580
2015-05-23 17:46:35 +02:00
Translation updater bot e85e395844 Localisation updates from https://translatewiki.net.
Change-Id: Ib9c5783f1d1d2c9901be91e9a3beacc6561f6cf0
2015-05-21 23:03:56 +02:00