Commit graph

568 commits

Author SHA1 Message Date
Ed Sanders 367e7a2803 Use upstream OOUI icons
Provide a mapping from the old icons to the new defaults
as the names are defined on-wiki.

Bug: T217132
Change-Id: I7fd22078789f4a06c5ed165a0c979fb543801af2
2019-04-12 14:11:47 +01:00
jenkins-bot 64234cb793 Merge "Rename 'citefromid' to 'citoid'" 2019-04-11 11:00:58 +00:00
Ed Sanders 01ef641a66 VE: Use new object format for importRules
Add in missing mwTable types.

Change-Id: I4b2e81f8cd78c61d208a3ef6fdab43d0cc720cb5
Depends-On: I366a091ff4def66cc25200b3d1b2c23ba6b716f7
2019-04-09 19:03:49 +01:00
Translation updater bot 12c586c410 Localisation updates from https://translatewiki.net.
Change-Id: I7f891f48c845599fd1d5547d5e817394c67d0e2f
2019-04-04 14:52:32 +02:00
Bartosz Dziewoński fd11b87c5d Remove "hrefPrefix" from tests
Bug: T206357
Change-Id: I8728f63084902c76d1c61193be4367939b069f1a
2019-04-03 20:09:59 +00:00
Ed Sanders e7a7f2107b Rename 'citefromid' to 'citoid'
Backwards compatible change can be merged ahead of change
in Citoid repo.

Bug: T219512
Change-Id: If4b920ba743030341e9cf6987c3d2ddc490992c9
2019-04-03 13:20:36 +01:00
Translation updater bot 1a96874463 Localisation updates from https://translatewiki.net.
Change-Id: Ibd92dd862050b6255cfc894e240e6507ecd8cda7
2019-03-31 22:16:10 +02:00
jenkins-bot 4f751b39c5 Merge "Expose the list of citation tools" 2019-03-28 20:03:50 +00:00
Ed Sanders e534585b18 RefList: Avoid changing 'responsive' value if meaning hasn't changed
Bug: T212340
Change-Id: I57ebe0fbf374c1ee7a7538a938d7b9fd904e80db
2019-03-28 16:40:39 +00:00
Ed Sanders a6c8d9b8bc Expose the list of citation tools
Bug: T219510
Change-Id: If848a7fbebf050cd1ba376e45c9be95a9ad98290
2019-03-28 15:47:46 +00:00
Translation updater bot 738519277a Localisation updates from https://translatewiki.net.
Change-Id: I73ac407bd459b6ee973ad75fddaadb9545a9b1a3
2019-03-27 22:28:53 +01:00
Translation updater bot 0b74051d16 Localisation updates from https://translatewiki.net.
Change-Id: I6df4754ac6fc1402700f26828c9309a5eaec7964
2019-03-26 08:44:22 +01:00
jenkins-bot 116b98a75e Merge "ve.ui.MWCitationDialog: If the selected ref is not using the template, clear it" 2019-03-23 12:10:26 +00:00
Translation updater bot 53e0f3ba02 Localisation updates from https://translatewiki.net.
Change-Id: I2300cf5689231d4e815ddd27e6ec8bdf319d3346
2019-03-20 22:26:52 +01:00
Translation updater bot 427f8c6a3b Localisation updates from https://translatewiki.net.
Change-Id: I82e7d1e21f99cb2b9507717dda5eb62293c08140
2019-03-18 23:07:07 +01:00
Translation updater bot d0cbe02212 Localisation updates from https://translatewiki.net.
Change-Id: I6e1066a8dc7db9cada0ad32cf874b1da9b48e1ef
2019-03-14 22:51:43 +01:00
Translation updater bot 393f17cf77 Localisation updates from https://translatewiki.net.
Change-Id: I488188960313b030cdccdfaafccefaafa6c31012
2019-03-07 22:40:36 +01:00
Translation updater bot 9af2d84a83 Localisation updates from https://translatewiki.net.
Change-Id: I149a04f3b5388a3e5754d3173c2c7a606f3a555c
2019-03-02 22:42:23 +01:00
Translation updater bot 37d6d15413 Localisation updates from https://translatewiki.net.
Change-Id: Ie16e10760b094323cb8c8b94c2da5a7494e1955a
2019-02-28 22:24:38 +01:00
Bartosz Dziewoński a3ef5fdab5 ve.ui.MWCitationDialog: If the selected ref is not using the template, clear it
Bug: T208981
Change-Id: I344331f1b2a5a8456d064039086623f67d9c0ea9
2019-02-26 00:30:56 +01:00
Bartosz Dziewoński 17555dd934 ve.ui.MWReferenceDialog: Remove 'Use an existing reference' button
The same functionality is available using the 'Cite → Re-use' tool
on the toolbar (T214991).

We want to use the same location for a new 'Replace reference' button,
to be implemented in the Citoid extension (T208981).

Bug: T208981
Bug: T214991
Change-Id: I511e3c27a7d2175bdc2b6bdb648f04ac96cd1e0b
2019-02-26 00:30:56 +01:00
Translation updater bot 12076d6937 Localisation updates from https://translatewiki.net.
Change-Id: Iaa63b15963234a6fbd6af72eb0f5a67dea96f6f7
2019-02-25 22:57:35 +01:00
jenkins-bot 467a17f651 Merge "Add support for read-only mode" 2019-02-22 19:45:57 +00:00
jenkins-bot 7c5906bcdf Merge "Use new upstream defaults for actions" 2019-02-22 14:53:52 +00:00
Ed Sanders 03711dfea8 Add support for read-only mode
Depends-On: Iedd1bd9ce17750ad8528c1a053293c4a7321c5de
Change-Id: I83bec9ea5b71aca0b4ef23237fad84aa6ea8a508
2019-02-22 14:13:57 +00:00
Ed Sanders e4efddbd0d Use new upstream defaults for actions
Allows us to remove action lists identical to the parent,
and also the default this.actions.setMode call.

Rename #canApply to #isModified for consistency.

Change-Id: I026feb291cd64474557d1f9df30604a7bbbb0bd2
2019-02-22 14:12:52 +00:00
Translation updater bot 80abb0f400 Localisation updates from https://translatewiki.net.
Change-Id: Ifd9c65e956524a2acd24d7ccbe40dd6a7cdfad71
2019-02-21 22:20:39 +01:00
jenkins-bot 92c5ba2ca6 Merge "Remove generated cite-dialogs stubs" 2019-02-20 01:41:54 +00:00
Translation updater bot adae685cbe Localisation updates from https://translatewiki.net.
Change-Id: I3f65ae836527ec61287faef23aeff07e43ea3fcc
2019-02-17 22:14:03 +01:00
Ed Sanders 89dd1faa11 Remove generated cite-dialogs stubs
We generate stub MWCitationDialog sub-classes for each citation
type, e.g. cite-web, cite-news. The only override these sub-classes
provide is for the dialog title, providing "Website" instead of
"Cite web", however because of code in MWTemplateDialog, this override
isn't even used.

1. Make the 'citation' dialog (now 'cite') concrete by registering
   it, and allow a 'title' argument to be passed it.
2. Actually override the title, using the passed in argument.
3. Remove the stub generated citation dialogs.

This will also fix our tracking data. Current we are getting
window-open actions with the argument being a localised citation
type name, e.g. cite-Literatur, cite-אתר.

These will now all be tracked as 'cite' as we use the parent dialog.

Bug: T216248
Depends-On: I355e7fe4c2ea965f2ca91f0ab0430cfb95e56e0a
Change-Id: I661707b5f9d3d810e9391ad63bef546d4fcb29e4
2019-02-15 22:44:17 +00:00
Translation updater bot 9d476d73a7 Localisation updates from https://translatewiki.net.
Change-Id: I5efb1661329708a8602b2f76125d89596048c2ea
2019-02-14 22:28:57 +01:00
Translation updater bot fd89012b96 Localisation updates from https://translatewiki.net.
Change-Id: Ie11733aa2fcb7ef6b1de74b23ddda0c4ec90da58
2019-02-03 22:38:08 +01:00
Translation updater bot a778b6496f Localisation updates from https://translatewiki.net.
Change-Id: I0fd47d21150a54a5a55b99a411c2baf7783e82a6
2019-01-30 22:13:45 +01:00
Translation updater bot b56ca815bf Localisation updates from https://translatewiki.net.
Change-Id: I1217c6951dd149bf9fcae1cf4c516c145baa7274
2019-01-28 22:26:39 +01:00
Translation updater bot cc02b3122e Localisation updates from https://translatewiki.net.
Change-Id: I3475370bce39958a30ab7a79ffc6c1d0a304ed97
2019-01-25 22:28:46 +01:00
Translation updater bot 4b36c2b18a Localisation updates from https://translatewiki.net.
Change-Id: If2dcae129f62230eb5159785612be2937117a770
2019-01-22 22:17:08 +01:00
Translation updater bot 56fb029d72 Localisation updates from https://translatewiki.net.
Change-Id: I814a41ae72c6fce86aa465a42f8bb20a83509693
2019-01-19 22:15:56 +01:00
Translation updater bot 1fbff19c91 Localisation updates from https://translatewiki.net.
Change-Id: I1975c4deb3fa6f6a4f97ca906cb1b76bf7af14fd
2019-01-18 22:18:47 +01:00
Translation updater bot 8702b61b60 Localisation updates from https://translatewiki.net.
Change-Id: Ie5269d976f6cc4f7f32699fe06524e3de175cd29
2019-01-17 09:12:19 +01:00
Translation updater bot 2526765ecd Localisation updates from https://translatewiki.net.
Change-Id: Iab8e9dcd4348605b61be0e0d5af7f9733078bec5
2019-01-13 22:12:45 +01:00
Translation updater bot 23c29ed403 Localisation updates from https://translatewiki.net.
Change-Id: I3ab972919da543b1ac67aa776fdf6411c75e00c9
2019-01-12 22:39:38 +01:00
Translation updater bot 32b9b2207d Localisation updates from https://translatewiki.net.
Change-Id: Ibe4c662abf8932bf252eff6f75baebb7f50991c0
2019-01-10 22:49:01 +01:00
Bartosz Dziewoński 2286e5fde1 Improve warning that reference is reused
* Show the warning in the context menu (on desktop only) in addition
  to the reference dialog.
* Add more details to the warning in reference dialog, and adjust
  spacing around it to make it more noticeable.

Bug: T208981
Bug: T212609
Depends-On: I6ca605ddd580d6259952c8799ecdca08da07474a
Change-Id: I23cc02f651c15b3276613d32a0c2537032f731c2
2019-01-10 02:01:09 +01:00
Translation updater bot 686006e44f Localisation updates from https://translatewiki.net.
Change-Id: I05fd70901a5783c8bf3bef7f0f319128cdbd0a1d
2019-01-05 22:33:37 +01:00
jenkins-bot 6a51ea98b3 Merge "ve.ui.MWCitationDialog: Unbreak the logic to enable/disable actions" 2019-01-03 18:41:09 +00:00
Translation updater bot 7750d59dc0 Localisation updates from https://translatewiki.net.
Change-Id: If1bd77d24bfe7d26949cf88b173b82387900a40f
2019-01-01 22:20:21 +01:00
Translation updater bot 9b59a7d155 Localisation updates from https://translatewiki.net.
Change-Id: I231f1d6af08194f58aefa8f36206c431ca2cbf91
2018-12-27 09:50:54 +01:00
Translation updater bot 22acd9a29c Localisation updates from https://translatewiki.net.
Change-Id: Icc162281f1ddec0369b8447b3c10f0cd84df4205
2018-12-18 22:48:09 +01:00
Kunal Mehta 0395035789 build: Set "root": true, in .eslintrc.json
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.

Bug: T206485
Change-Id: I54d052bed4ceed175a938896154fd6ad5c89f964
2018-12-18 10:47:31 +00:00
Translation updater bot cfb8412e11 Localisation updates from https://translatewiki.net.
Change-Id: I3f4d7fd126b48e103bce03b104db51edcccbd569
2018-12-15 22:23:48 +01:00
Translation updater bot 87c2b3ded4 Localisation updates from https://translatewiki.net.
Change-Id: Ia71b6012942934a135547e787ad9c74ae37f7563
2018-12-14 22:21:37 +01:00
Translation updater bot 0dca8d7428 Localisation updates from https://translatewiki.net.
Change-Id: Ieea1e84f17cf47832f8c83dcd802b94293ace8ee
2018-12-12 22:18:26 +01:00
Translation updater bot 075d391ace Localisation updates from https://translatewiki.net.
Change-Id: I84b3d49b0e3c7cb7edeb62096427e6c3bc13cedb
2018-12-11 22:39:36 +01:00
Amir Aharoni af28eed881 Add "twice" instead of "2 times" in an English message
Change-Id: I53de963d71015dfd26692241b2a0ea5630be080c
2018-12-10 08:52:36 +02:00
Translation updater bot 626d8a75df Localisation updates from https://translatewiki.net.
Change-Id: I5a8df261ae60ded18ca4709af624aa4fa4bc4a72
2018-12-09 22:38:53 +01:00
Translation updater bot ad5fd43df9 Localisation updates from https://translatewiki.net.
Change-Id: Iafe3fa40062305c4dd0d8353bbe05896cb2f15e5
2018-12-03 22:35:12 +01:00
Translation updater bot 7a969c2dbc Localisation updates from https://translatewiki.net.
Change-Id: Ibe63f4543e5bacb89808be7f04d76ce2f76bcb06
2018-12-02 22:14:54 +01:00
jenkins-bot 7ac91bef82 Merge "ve.ui.MWCitationDialog: Remove unneeded code re-setting insert label" 2018-11-30 22:42:44 +00:00
Translation updater bot 519157719b Localisation updates from https://translatewiki.net.
Change-Id: Iad5a14d487e2561133c7f9d0684de1955c247ee9
2018-11-30 22:49:44 +01:00
Bartosz Dziewoński adc64b3002 ve.ui.MWCitationDialog: Unbreak the logic to enable/disable actions
This code was written in 2014 and it seems that some change to
ve.ui.MWTemplateDialog since then made it not work. No idea why or
when it broke. But we can implement the functionality much more easily
now by overriding #setApplicableStatus, which works correctly.

Bug: T210796
Change-Id: I6e87ca979a96785fc74f1a57f7d80ba4b43705f2
2018-11-29 22:39:55 +00:00
Bartosz Dziewoński b7bdcaeccc ve.ui.MWCitationDialog: Remove unneeded code re-setting insert label
This sets the label to be the same as the default value inherited from
ve.ui.MWTemplateDialog. Looks like it's no longer needed since change
Ia8fb88d3501ffa2c26add4419da5463a926f45d1 in VE-MW (2014).

Change-Id: Icd64d22aef29a3791352e1839993ea8462a147f3
2018-11-29 23:09:23 +01:00
Translation updater bot c31c93f619 Localisation updates from https://translatewiki.net.
Change-Id: I58dfd99dd04e0d78298df7ad51286ba252019142
2018-11-29 22:26:44 +01:00
Bartosz Dziewoński 7f6ae77b3c ve.ui.MWCitationDialog: Fix condition for enabling insert/apply action
The method #hasUsefulParameter has been accidentally made to always
return false in fdde5b71af.

Bug: T210686
Change-Id: I215924c2f693842abd8026404d17c725192272c3
2018-11-29 04:02:44 +00:00
Ed Sanders fdde5b71af Update eslint-config-wikimedia to 0.9.0
Change-Id: I7883af1f56c7f2f3eeff1f7a51b640a303bcab78
2018-11-27 22:23:57 +00:00
jenkins-bot fd956ab507 Merge "ve.ui.MWReferencesListDialog: Disable 'Apply' button until changes are made" 2018-11-20 15:54:57 +00:00
Translation updater bot 2cf53b996b Localisation updates from https://translatewiki.net.
Change-Id: If314a6b7ad16b2470688cc32ced4a5560b773cbc
2018-11-19 22:11:05 +01:00
Translation updater bot 7ecdec713d Localisation updates from https://translatewiki.net.
Change-Id: I9cf5306d453310e154c2f49df23f1be6348200de
2018-11-18 22:48:21 +01:00
Bartosz Dziewoński fd19cd76c1 ve.ui.MWReferencesListDialog: Disable 'Apply' button until changes are made
Bug: T209660
Change-Id: I2c998cce812b63d1f5656ba38470a77ac5a0fd45
2018-11-16 00:49:08 +01:00
Ed Sanders e0781b0c58 Fix typo in documentation
Change-Id: I25407db3025dace825afd0ca083eba4fc600955d
2018-11-13 23:42:35 +00:00
jenkins-bot 82c75661ee Merge "Remove obsolete aliases from closures" 2018-11-13 22:59:20 +00:00
Ed Sanders a589dbe636 Remove obsolete aliases from closures
Bug: T208951
Change-Id: Idd6bc36b116af81827b4440b4c8ec3da94e1486f
2018-11-13 14:43:45 -08:00
Translation updater bot 664b178c3d Localisation updates from https://translatewiki.net.
Change-Id: I6aae842e9a5d4a8a036ed6107222e9bc84ac57b9
2018-11-12 22:12:39 +01:00
Translation updater bot e61ab2c8f6 Localisation updates from https://translatewiki.net.
Change-Id: Iade9e083c123e608dfac57f8e27f4fbbf65e9932
2018-11-11 22:33:37 +01:00
Translation updater bot a9ae168208 Localisation updates from https://translatewiki.net.
Change-Id: Ib3be93269095ae9b86e407aab89d353b5530b56b
2018-11-10 22:28:03 +01:00
Translation updater bot 86bf110048 Localisation updates from https://translatewiki.net.
Change-Id: I0d4260c2bd9121a41ad9598f57edb6001748e186
2018-11-07 22:21:58 +01:00
Bartosz Dziewoński ec55fa3ce8 Use changed ve.dm.Selection interface
Bug: T208228
Bug: T208913
Change-Id: Ifb1a77a5f07b9e257c6e0477e23316f80c7a4791
2018-11-07 16:51:51 +01:00
Translation updater bot 774e301300 Localisation updates from https://translatewiki.net.
Change-Id: Ia5f2da9fb4166a5c53f681705ece9591b99f4b9c
2018-11-04 22:42:03 +01:00
Translation updater bot 5e9add6454 Localisation updates from https://translatewiki.net.
Change-Id: Ic2dc4045f2baa1467329bd4619f59e846a5118c4
2018-11-03 11:02:43 +01:00
Ed Sanders 4df9bf5f69 Fix wikitext paste test
Bug: T204007
Depends-On: I97a92512d7b114ed46bc48d3d416eebc86df13f7
Change-Id: I06177cb4428798f62b78f5dc48f545a6cb6884fc
2018-10-29 21:39:40 +00:00
Translation updater bot 9ee0d799a7 Localisation updates from https://translatewiki.net.
Change-Id: Ib0be56800d53b316fb4f473c8ab2940b5cac1dd7
2018-10-28 22:21:44 +01:00
Translation updater bot 09964ca80d Localisation updates from https://translatewiki.net.
Change-Id: I1a74c35bbb16714cbe0777e6eb2305585644ccf7
2018-10-26 22:24:05 +02:00
Translation updater bot a08297ee92 Localisation updates from https://translatewiki.net.
Change-Id: I88ed6da413e9396b283e5ff6cd59b2c6990848a0
2018-10-14 22:25:09 +02:00
Translation updater bot 3e3c7fc2b1 Localisation updates from https://translatewiki.net.
Change-Id: Icb7f2e358b56be2430e5ffd95653ff59660aad87
2018-10-13 10:19:13 +02:00
Translation updater bot 05e4d5bcfb Localisation updates from https://translatewiki.net.
Change-Id: Ic3deaa69b49671465650d2bb23ba108d79e68e1a
2018-10-11 22:37:14 +02:00
Translation updater bot 1daa5234b4 Localisation updates from https://translatewiki.net.
Change-Id: Icb276a9e5e4d7d8a4e7bcdf4f71efaf3b73212ac
2018-10-07 22:30:03 +02:00
Translation updater bot 4af353f400 Localisation updates from https://translatewiki.net.
Change-Id: I0f933da5e746bc62403e714efa23ff3dedc16464
2018-10-06 22:35:16 +02:00
jenkins-bot ecb9c147f9 Merge "Avoid jQuery in ve.dm.Model.static.describeChange(s)" 2018-09-28 16:19:26 +00:00
Ed Sanders 817bfbfa54 Avoid jQuery in ve.dm.Model.static.describeChange(s)
Change-Id: If30d12289eff66470044931ea5b38d2b81d04075
2018-09-28 10:55:45 +01:00
Translation updater bot 796f09f815 Localisation updates from https://translatewiki.net.
Change-Id: Ie55265921331083b1f93423ddae0e36e72e9adae
2018-09-24 09:17:47 +02:00
Translation updater bot dc0d9647f3 Localisation updates from https://translatewiki.net.
Change-Id: I00ebfa62d02062d3e363aae70615a6896ad3b4b6
2018-09-22 10:03:17 +02:00
Translation updater bot 37421a7868 Localisation updates from https://translatewiki.net.
Change-Id: I169af1fde9b4a756a0047f546872b72533ab4fc9
2018-09-20 09:58:54 +02:00
jenkins-bot 557e311ab4 Merge "Template reflist: Re-render when converting for preview (e.g. visual diff)" 2018-09-19 23:49:12 +00:00
Translation updater bot f1cf01f878 Localisation updates from https://translatewiki.net.
Change-Id: Ic2bf30d4758f1dd51c2cfe9e57058ed9e54f5a7c
2018-09-18 09:52:00 +02:00
jenkins-bot 216d85adaf Merge "build: Update linters" 2018-09-13 22:47:59 +00:00
Ed Sanders eb7bed046b Template reflist: Re-render when converting for preview (e.g. visual diff)
Bug: T202324
Change-Id: I33dfb26a8f033f5ee5a89b2c1ad9aa081d3a55d1
2018-09-13 21:04:47 +01:00
James D. Forrester d95dda3f16 Unbreak visual diff results for checking node type change
Bug: T201721
Change-Id: I59fa13324083bfd8c77862d0d88b9b3cea1cfeb8
2018-09-13 11:08:46 -07:00
Translation updater bot 1401e9cf0b Localisation updates from https://translatewiki.net.
Change-Id: Idfc7ce1fcc94970e550ed1ca6cdf8bfc4d8c3f36
2018-09-13 10:15:21 +02:00
Jforrester 82c93513ac Merge "Replace deprecated 'advanced' by renamed to 'settings' icon" 2018-09-12 16:47:56 +00:00
Ed Sanders 0d866f13c7 build: Update linters
Change-Id: Ia558b35eab54b33e2faac1ae3324a17da18fcb49
2018-09-11 23:54:19 +01:00
Translation updater bot de58933995 Localisation updates from https://translatewiki.net.
Change-Id: Icf18dddbccb13a0e40d72c132ec38a2d139922e7
2018-09-09 10:35:52 +02:00