Commit graph

765 commits

Author SHA1 Message Date
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
Thiemo Kreuz 85ad4513ba Fix highlighting code destroying backlinks on unnamed <ref>s
There are multiple formats for these IDs:

cite_ref-1, cite_ref-2, and so on for anonymous <ref>s without a name.

cite_ref-name_1-0 for named references, where "name" is the custom name,
and "_1" is the sequential number for the reference (same number as above).
The final "-0" is counting the usages. If a named <ref> is only used once,
there is no cite_ref-name_1-1 anywhere on the page.

The later was already checked by the code. But we forgot about unnamed
references! As a consequence IDs like the cite_ref-1 above got misdetected
as reused references.

This patch tries hard to extract code into named functions, so it becomes
much more clear what they do, and why.

Bug: T215317
Change-Id: Iedb5b0c3dffae19bad7df9a43ed2d4512b3921ec
2019-02-20 15:40:46 +00:00
Thiemo Kreuz e71dcc355d Add missing jQuery selector escaping
As far as I can tell the effect of this is almost zero, because in both
cases the unescaped ID ends in double quotes. Within these double quotes
not many characters must be escaped, essentially only double quotes and
backslashes. Neither can appear in an ID (more precisely: neither should).

Proper escaping is "the right thing to do" anyway.

Change-Id: I21934f7cb54e2d68013a994150a92c76ef1b61d7
2019-02-20 16:22:20 +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
Ed Sanders 0c0dcbdcd8 build: Update eslint-config-wikimedia to 0.10.0
Change-Id: Iba24172bd492750b268d0afbeeaf84b12cca3e0b
2019-01-08 23:06:43 +00: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
jenkins-bot 4eef765808 Merge "Restructure highlighting code for improved readability" 2018-12-13 00:04:21 +00: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
jenkins-bot 1ee256aa76 Merge "Add "twice" instead of "2 times" in an English message" 2018-12-11 17:32:45 +00:00
Thiemo Kreuz e32a76061c Restructure highlighting code for improved readability
This gives the code a little more structure without changing anything
it does. A section is extracted as a named function, and some lines
are moved and bundled where it made sense.

Change-Id: I51909517021bee9dc618efe5fbe40adfc29dc6af
2018-12-11 15:19:17 +01:00
Volker E b9ee8433f4 build: Update 'stylelint-config-wikimedia' to v0.5.0 and make pass
Change-Id: I05e257b3213dd4039455d7e55efeb72b58da67fb
2018-12-10 02:59:11 -08: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
jenkins-bot e7b3167b31 Merge "Split overly long highlighting code into functions" 2018-11-30 15:00:09 +00:00
jenkins-bot 8ae3b13d1a Merge "Get rid of one nesting level in highlighting code" 2018-11-30 14:58:49 +00:00
jenkins-bot e353d36f3a Merge "Make backlink highlighting robust when "mw-cite-backlink" is missing" 2018-11-30 14:58:46 +00:00
Thiemo Kreuz 4d03f8f17f Split overly long highlighting code into functions
Change-Id: I055c21ee2202afea4751dd74fa389c55fdd30acf
2018-11-30 15:03:02 +01:00
Thiemo Kreuz 9ce4b959bc Get rid of one nesting level in highlighting code
The code before was not wrong, just deeply nested. The worst case was
that the final $upArrowLink.attr( … ) might have been called on zero
elements. jQuery is fine with this.

Change-Id: I62e7286c7fe906544fe148e1122c60cc8db070f3
2018-11-30 14:49:27 +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
Thiemo Kreuz 4152c6cdf4 Make backlink highlighting robust when "mw-cite-backlink" is missing
The class="mw-cite-backlink" is part of a message. It should be
considered code and not be customized, but can be. Frwiki for example
localized it.

The new code still hopes to find the class, and still hopes the first
child is the text node containing the plain text up arrow. (See the
message "cite_references_link_many" which contains all this.) This code
path is kept because it is more performant.

If the class is not found, the upwards traversal done via .closest()
stops at the <li>. It then traverses down into the firstChild nodes,
hoping to find the plain text up arrow this way.

This patch makes the code work with the customizations found in frwiki.

Bug: T205270
Bug: T210508
Change-Id: I32552ebe820ee12aea1a75aa17af11298dc7536a
2018-11-28 12:35:05 +01:00
jenkins-bot c88275c8d5 Merge "Make backlink highlighting robust for community customized HTML" 2018-11-28 11:34:32 +00:00
Thiemo Kreuz d7c1943b04 Make backlink highlighting robust for community customized HTML
This change makes the code much, much more robust. See, almost all HTML
relevant for this feature is encoded in messages. This allows unexpected
customizations that add additional HTML elements, change the order of DOM
elements, even remove class names and elements.

The <ol class="references"> is the only HTML snippet generated via code,
guaranteed to be there, and used as an entry point because of this.

Instead of the selector utilizing a "*" to detect references with "one"
vs. "many" backlinks, we check if a second backlink exists.

The .first() copies the browsers behavior to only respect the first anchor
in case an id="…" appears multiple times on a page.

The additional .length check further down is a missing sanity check,
currently relevant on frwiki where the expected class="mw-cite-backlink"
got localized.

Bug: T205270
Bug: T210520
Change-Id: Iba9aebfd01508b283933964cfb986d7239d4cf38
2018-11-28 11:56:27 +01:00
Ed Sanders fdde5b71af Update eslint-config-wikimedia to 0.9.0
Change-Id: I7883af1f56c7f2f3eeff1f7a51b640a303bcab78
2018-11-27 22:23:57 +00:00
WMDE-Fisch 6dda36a1e7 Improve a11y support on backlinks
This changes the a11y support on the main backlinks by introducing the usage
of title and aria-labels. The support for these elements increased a lot since
the topic was first tackled and seems the appropriate way to go.

A new message was introduced for the link that will be set when directly
coming from a clicked refrence to emphasize that the can jump back to where
he came from.

Bug: T206323
Change-Id: Ifa56d41bcdb8100e19f29619796b62bb3c886d2f
2018-11-26 11:36:26 +01:00
jenkins-bot fd956ab507 Merge "ve.ui.MWReferencesListDialog: Disable 'Apply' button until changes are made" 2018-11-20 15:54:57 +00:00
jenkins-bot 222b9ca593 Merge "Make arrows/carets links whenever we know where the user came from" 2018-11-20 12:42:21 +00:00
jenkins-bot 18a53d7666 Merge "Localisation updates from https://translatewiki.net." 2018-11-19 22:23:55 +00:00
Translation updater bot 2cf53b996b Localisation updates from https://translatewiki.net.
Change-Id: If314a6b7ad16b2470688cc32ced4a5560b773cbc
2018-11-19 22:11:05 +01:00
Thiemo Kreuz (WMDE) 2b3a62c26b Make arrows/carets links whenever we know where the user came from
I tried to arrange the new code in a way that it is compact, but still
readable. I think it's possible to arrange it even better, but browser
tests should be added first, in my opinion.

Bug: T205271
Change-Id: I1d579ef9d2787fc43c0a8bbf61c583f602dca5d4
2018-11-19 16:27:59 +00:00
jenkins-bot 8b97f74dc9 Merge "Highlight backreference jump marks by making them bold" 2018-11-19 16:24:24 +00:00
Thiemo Kreuz ee8da566e3 Highlight backreference jump marks by making them bold
The separate "ext.cite.a11y" module is kept for (temporary)
compatibility with cached HTML, and should be removed in about
a month.

Browser tests will be added in a separate patch.

Bug: T205270
Change-Id: I26fe41c328157233cc5b06d38d2ba0f7b036a853
2018-11-19 16:46:08 +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
Ed Sanders 3a2b025e07 Convert bugzilla numbers to phab task numbers
Change-Id: I30e8c8d9eaff47185a61a093787cdfd25b3889d8
2018-09-12 16:48:17 +00: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
Volker E a30925d229 Replace deprecated 'advanced' by renamed to 'settings' icon
Bug: T190581
Change-Id: I2151c9d6b1b3f7306ed4e049a6bd2efb59787100
2018-09-07 19:59:40 -07:00
Translation updater bot 93e2858322 Localisation updates from https://translatewiki.net.
Change-Id: I8904d205c34135b3975c8dc111448d1190cf5ca9
2018-09-04 22:19:24 +02:00
Translation updater bot fadce2ecf4 Localisation updates from https://translatewiki.net.
Change-Id: Ie80f3c35493c863d84de4949e4772ed75d1079c6
2018-08-22 22:35:35 +02:00
Translation updater bot 4763e3dfd2 Localisation updates from https://translatewiki.net.
Change-Id: I65652c293084b1b43d53350b53f0c43d9a86aec9
2018-08-16 22:28:30 +02:00
Translation updater bot 627a674b99 Localisation updates from https://translatewiki.net.
Change-Id: I54d1f21c7d40edde19dbb76d21a22f88d45cc313
2018-08-10 22:18:08 +02:00
Translation updater bot 295d0f550b Localisation updates from https://translatewiki.net.
Change-Id: Id2059835f60d164e0ba24b50d1c5d14c5441b3fe
2018-08-09 22:23:30 +02:00
Translation updater bot 0b2f373c88 Localisation updates from https://translatewiki.net.
Change-Id: I49f20ed6cc83cd6e16d1d572acf680c19dad799a
2018-08-08 22:13:25 +02:00
Translation updater bot d4bad226c3 Localisation updates from https://translatewiki.net.
Change-Id: Ia58b72de17f26786121c6f0b5395aa1752f2ca47
2018-08-06 22:21:23 +02:00
Derk-Jan Hartman a603ef420f Make references not inherit bold or italic styling.
There is almost never a situation where this is desirable, yet it
happens quite a lot due to table headers etc having bold styling.
It confuses editors and tends to be less readable.

These style rules have been in en.wp:MediaWiki:Common.css for over 10
years or so, so probably a keeper.

Change-Id: If3d12383853a83d8ef14f1ec54c8c381b6c8f6a2
2018-08-01 14:57:37 +02:00
Translation updater bot 49285be063 Localisation updates from https://translatewiki.net.
Change-Id: I223a49833927444b4153b25bb521060fefc7a5bb
2018-07-31 22:32:50 +02:00
jenkins-bot d6dd82d782 Merge "Get document data using updated interface" 2018-07-29 00:32:45 +00:00
Thalia 2c77a9d66a Get document data using updated interface
Depends-On: Iea426be573f07c976b0c142357d5ed83e51db013
Depends-On: I36dad61ed614f007b16d7e9f47fcbfd02347f239
Change-Id: I9d9615f69d40822a72f31f0d86d7997dd0812523
2018-07-29 00:07:28 +00:00
Translation updater bot 6485e4ec2c Localisation updates from https://translatewiki.net.
Change-Id: Ifbb38f66c68561cb2423717199e731691c298a46
2018-07-28 22:29:33 +02:00
Translation updater bot 0be3b3f652 Localisation updates from https://translatewiki.net.
Change-Id: I8145d76cc0c4bc5beeb9bb9442b8920b71f8a972
2018-07-27 22:17:34 +02:00
Translation updater bot 580a008af7 Localisation updates from https://translatewiki.net.
Change-Id: I5600138f4129aa90d751119b729f0bd358d9fb90
2018-07-23 22:31:02 +02:00
Translation updater bot eebab2324c Localisation updates from https://translatewiki.net.
Change-Id: Iad2da337807804cfc72b9e2409dfe9b1f7098092
2018-07-22 22:08:40 +02:00
Translation updater bot 8b8d2ef640 Localisation updates from https://translatewiki.net.
Change-Id: I6c49d27a991b58b220463c583793c8158abb85c7
2018-07-21 22:11:37 +02:00
Translation updater bot d07660a410 Localisation updates from https://translatewiki.net.
Change-Id: Ic23ea75fe75a3e64a113a7fd1007865d92ef77d6
2018-07-19 22:30:23 +02:00
Translation updater bot 1851e261ea Localisation updates from https://translatewiki.net.
Change-Id: I46dc02571083f2abb636635ba019a8328920295f
2018-07-18 22:12:25 +02:00
Translation updater bot e4902524b2 Localisation updates from https://translatewiki.net.
Change-Id: Ia0cc70db00cffa075aeec1d8e0a686c7110af1b5
2018-07-11 22:39:30 +02:00
Translation updater bot c1b77b092e Localisation updates from https://translatewiki.net.
Change-Id: I3f00282a3860cee11e976aa4171ff3562fbfe7db
2018-07-07 22:52:28 +02:00
Translation updater bot bd02bf9557 Localisation updates from https://translatewiki.net.
Change-Id: I4d7c0a80e98b2bf5a37632035c695fb6d8eb65b5
2018-07-05 22:43:39 +02:00
Translation updater bot a59f8a085d Localisation updates from https://translatewiki.net.
Change-Id: I3e04c8cceae727e5470d4ae4fdb2404639f9bfb8
2018-06-30 22:30:17 +02:00
Translation updater bot 270b1b56ba Localisation updates from https://translatewiki.net.
Change-Id: I3cbf13202bc9fa6053325d3c69600fdbc40f1741
2018-06-29 22:25:43 +02:00
Translation updater bot d0073f4060 Localisation updates from https://translatewiki.net.
Change-Id: I1d70595d17590a80d48f20b878a34f57c7e6e49b
2018-06-28 22:20:58 +02:00
Translation updater bot 3ba755bdd2 Localisation updates from https://translatewiki.net.
Change-Id: I01e328cba818b428b7705df1e896f25f50e60c9c
2018-06-27 22:18:23 +02:00
Translation updater bot 6904eae490 Localisation updates from https://translatewiki.net.
Change-Id: Idd9310f79493db305959bb42439abff880e42731
2018-06-24 22:25:28 +02:00
Ed Sanders 3b53f6906b Use getHtmlMessage for DiffElement
Bug: T195243
Depends-On: Ib4ad16858e4241d33d018830dbcfded63ff703af
Depends-On: Ib5fa39e4f2f529948354b03a141542e23d169fe0
Change-Id: I4b01904d48a9520c8bb1451e0978aaa404ca858c
2018-06-20 15:31:46 +00:00
Translation updater bot 73ca14bb7d Localisation updates from https://translatewiki.net.
Change-Id: I17d832a454d3f64f1bbeeab8df666bd322bc830a
2018-06-15 22:35:36 +02:00
Translation updater bot 0a0dae10d6 Localisation updates from https://translatewiki.net.
Change-Id: Iaae6fc6de3940e7f1e0d79cded597125500a625d
2018-06-14 22:44:29 +02:00
Translation updater bot 72572ba8a0 Localisation updates from https://translatewiki.net.
Change-Id: I65609ee5a741c0356659b48098d602efe1cf5bcc
2018-06-11 22:33:37 +02:00
Translation updater bot 3c6aeebccf Localisation updates from https://translatewiki.net.
Change-Id: I2c2e27f177f3091d909a1fcadc9d8e5840510e85
2018-06-03 22:36:06 +02:00
Ed Sanders 6c38c009d7 Add preview mode converter tests
Change-Id: I2e9dc615a82b725d4061b39e6bdc56350e5d3d1d
Depends-On: I3f1a4772cbf67091b5fd52bab610390ebd9b16ef
2018-05-31 16:27:14 +01:00
Translation updater bot c3363cadae Localisation updates from https://translatewiki.net.
Change-Id: I4070d78d1e7e5ef425ac86294be6e81f9d8583d5
2018-05-29 22:24:43 +02:00
Translation updater bot 7ba27bb832 Localisation updates from https://translatewiki.net.
Change-Id: Ibc4dad7b91176083fc8fb721f960eaaee6f593a8
2018-05-28 22:41:56 +02:00
Translation updater bot 18a2b83694 Localisation updates from https://translatewiki.net.
Change-Id: Id04df14cbc15cda40051955fea054f2842a92d87
2018-05-25 22:14:06 +02:00
Translation updater bot fda8af39b3 Localisation updates from https://translatewiki.net.
Change-Id: Ib69d038dd60ede84108f48c7f1fcacc8a3f8b160
2018-05-24 22:24:44 +02:00
Translation updater bot e6506cdd08 Localisation updates from https://translatewiki.net.
Change-Id: I9f3f34ac163664fcbffe7b1d20d58813bd9c25f4
2018-05-23 22:20:08 +02:00
Translation updater bot 5b5824dabe Localisation updates from https://translatewiki.net.
Change-Id: I35ab3e7ab5ee261eb361da2cd0d3fe1ffaa3a196
2018-05-22 22:20:38 +02:00
Translation updater bot 3640f87085 Localisation updates from https://translatewiki.net.
Change-Id: I9056184ec924f3fa96031ba318041de48470fc3a
2018-05-20 22:44:17 +02:00
Translation updater bot ddcd9e644a Localisation updates from https://translatewiki.net.
Change-Id: I6c0ddba62a4ec75192123b9c9a685ce21be1632b
2018-05-15 22:24:26 +02:00
Translation updater bot 440d3678e8 Localisation updates from https://translatewiki.net.
Change-Id: Ibf12746b038b4424107565fa2d423cc55bc61638
2018-05-14 22:44:11 +02:00
Ed Sanders 475d825918 Use MWPreviewElement in view mode, instead of building a view node
Also "unwrap" paragraphs using CSS instead of DOM manipulation.

Change-Id: I5565c2c43580d5d47bc65ee06d9d14fccace90c6
Depends-On: Ibbf989dcebf2d21fd2ac481f17062f366ff29e41
Depends-On: I284bcd5dd25cdbb883427ebacb41af1bbf50b60f
2018-05-13 20:01:19 +01:00
Ed Sanders a08febb0af Simplify toolbar registration
VE-MW toolbars now define a placeholder for reference toolbars.

Depends-On: I0bace5e5fe05f9c214d57a74c478b48a7dcaec3b
Change-Id: I7cb0f1f1affbfd7a4013f396b1423b6f84da52ab
2018-05-12 16:42:08 +01:00
jenkins-bot fc0fd39389 Merge "Use ve.ce.nodeFactory.createFromModel" 2018-05-11 19:32:59 +00:00
Ed Sanders 2ae4cfe0ab Use ve.ce.nodeFactory.createFromModel
Also use ve.dm.nodeFactory.createFromElement

Depends-On: I259face33154b795143c8820abdfb6b4a495f141
Depends-On: I7fc539f75a1c9d672efc139b7884ecdfdff5f301
Change-Id: I032182616c409e65138b16fe7b238e7f7b3a8710
2018-05-11 17:08:12 +00:00
Translation updater bot a852fee21b Localisation updates from https://translatewiki.net.
Change-Id: I534fdcb01f79036b4bb29e400ebe1bb2b23a81e8
2018-05-10 22:20:22 +02:00
jenkins-bot cfd18814be Merge "Support directionality for reference" 2018-05-02 15:59:33 +00:00
Eranroz 1ca27aa0d8 Support directionality for reference
Adding option for dir attribute in ref tags. The value must be a valid
direction ('ltr' or 'rtl', case insensitive) or the direction will be
stripped out.

The directionality of the li element is set using a css class accordingly.

Bug: T15673
Change-Id: Iff480bc8cc4f81403b310e8efecd43e29d1d4449
2018-05-02 17:27:32 +02:00
Translation updater bot 0d74043505 Localisation updates from https://translatewiki.net.
Change-Id: If10cbb1ce592547e0883038e285319e370ad156c
2018-04-30 22:21:50 +02:00
Jforrester 2e13427f3d Merge "Don't compute ref contents in converter preview mode" 2018-04-30 16:57:03 +00:00
Ed Sanders 8487745c55 Don't compute ref contents in converter preview mode
Depends-On: I0f1b90056e9d1a4fa0e188700604709297593924
Change-Id: I7f98d7b6609c896f91a6d256d58aeb2ff53bc181
2018-04-30 17:47:43 +01:00
Translation updater bot 453c5df55f Localisation updates from https://translatewiki.net.
Change-Id: I825b023507cb27b4cb310eb96dc3330791dd56d1
2018-04-29 22:30:54 +02:00
Translation updater bot 649f6aef43 Localisation updates from https://translatewiki.net.
Change-Id: Id14ee5cda0819d58f0ef9a8211eb6cc92579f586
2018-04-28 22:32:38 +02:00
Translation updater bot f14bf7b221 Localisation updates from https://translatewiki.net.
Change-Id: Ib6edbc5e056e2661cb4ccd3593467ed96b4fd97a
2018-04-27 22:25:45 +02:00
Translation updater bot 7085c2f164 Localisation updates from https://translatewiki.net.
Change-Id: Ie1281820e84a0655687b0b5be5cd05295f589f89
2018-04-26 22:16:23 +02:00
Translation updater bot 4fdf58cd5d Localisation updates from https://translatewiki.net.
Change-Id: I940bd06b112d6c1da8224c67721f58c11c070608
2018-04-22 22:21:34 +02:00
Translation updater bot 35fc1465f1 Localisation updates from https://translatewiki.net.
Change-Id: I43531692007e84350df604348898d6c678cd230b
2018-04-18 22:10:34 +02:00
Translation updater bot 20e26df4fc Localisation updates from https://translatewiki.net.
Change-Id: Id7b9eb4356ed196f59a5f641d7d93bb0caf9ec59
2018-04-17 22:24:57 +02:00
Translation updater bot 93119f7c59 Localisation updates from https://translatewiki.net.
Change-Id: I538628d8b20ae8b81b3b246ef216a0a1532babb2
2018-04-14 22:13:46 +02:00
Ed Sanders b8a9115d27 Use resource loader for icons
Change-Id: I6614d2b33936e4e4f04412b76df67dc5554bf3f7
2018-04-11 17:56:19 +01:00
Translation updater bot bfa7799761 Localisation updates from https://translatewiki.net.
Change-Id: I37625ae1250438f0920c816e31ea1a26ac8e47c4
2018-04-09 23:16:48 +02:00
Translation updater bot b784b82417 Localisation updates from https://translatewiki.net.
Change-Id: I240a986476691ae38be7f8b75c567fcdf011f09f
2018-04-08 22:29:44 +02:00
Translation updater bot c1a32950b3 Localisation updates from https://translatewiki.net.
Change-Id: I88a7bd8c802932f0436f0dab8e9c6e1b31e1ce16
2018-04-05 22:22:09 +02:00
Translation updater bot a815b20056 Localisation updates from https://translatewiki.net.
Change-Id: I5e34d923f86d83941646bbb3ac38a9d39a8ff0a8
2018-04-04 22:50:00 +02:00
Ed Sanders fdc8107306 Use cog icon for options
Bug: T191099
Change-Id: I17783d02e154311dffafb9e9314d13b0e5cadff0
2018-04-04 13:15:56 +01:00
Translation updater bot 6e01f3e6e3 Localisation updates from https://translatewiki.net.
Change-Id: If3d540661767ac02169038bbc5d95f87e4b32bf4
2018-04-02 09:48:20 +02:00
Translation updater bot 03597f17ba Localisation updates from https://translatewiki.net.
Change-Id: I31fc3268dbe878bdc2fb241c9a135c1fbe34aeae
2018-04-01 09:37:52 +02:00
Translation updater bot bd6807d0c6 Localisation updates from https://translatewiki.net.
Change-Id: Ia9ba53584d6a2df8507942ce4f2f30547e164781
2018-03-30 09:34:26 +02:00
Translation updater bot faa133e25a Localisation updates from https://translatewiki.net.
Change-Id: I4f023685579f50f70e124db77b82a3811eb056a5
2018-03-28 22:22:54 +02:00
Translation updater bot fce735fafb Localisation updates from https://translatewiki.net.
Change-Id: Ibb1d0e90690073257c4b5fa26d2a36030e63d922
2018-03-27 22:09:20 +02:00
Translation updater bot ce2669b6ec Localisation updates from https://translatewiki.net.
Change-Id: I7585c7ce06dc652bb39fe9dca2a7b1b213217499
2018-03-26 22:18:54 +02:00
jenkins-bot 0d5f613173 Merge "Add separate message for missing reference in references list" 2018-03-25 21:18:54 +00:00
Thalia a2722ca947 Add separate message for missing reference in references list
Message indicates that a preview of the reference is missing,
instead of implying that the user was trying to edit it.

Bug: T188682
Change-Id: I5f5f8d5d0910ab2608696bbed380d4592cb6c7f1
2018-03-24 17:32:55 +00:00
jenkins-bot f7cedc73af Merge "Force re-rendering of ref list for clipboard" 2018-03-24 17:08:32 +00:00
Ed Sanders 1c9653df9d Force re-rendering of ref list for clipboard
Change-Id: I9c2323a402fad60c0c81b8d21057049f94fdca83
2018-03-24 16:42:13 +00:00
Translation updater bot 57b1c0b2a0 Localisation updates from https://translatewiki.net.
Change-Id: I82744758c2b967fbdf412270549db268133b6806
2018-03-22 22:08:45 +01:00
jenkins-bot 4b8f89e651 Merge "Update icons for new 20px grid" 2018-03-21 21:07:19 +00:00
Bartosz Dziewoński b2a8305c5e Update icons for new 20px grid
Set viewBox to "2 2 20 20" to trim 2px off each side of our
existing 24px icons, therefore aligning them to the new 20px
grid. All of them had been drawn with large margins, so none
of the graphic is lost.

Bug: T177432
Bug: T190151
Change-Id: I6c6f6daf2f595dd37a163bd415d35c25bd8b2f96
2018-03-20 18:36:15 +01:00
Thiemo Mättig bbc1f2c91d Use standard form for @license tags
See https://spdx.org/licenses/

Change-Id: Ic091ebc3844abcd6de90b3241382fb4732200a6d
2018-03-20 03:18:37 +00:00
Translation updater bot ff40af3b71 Localisation updates from https://translatewiki.net.
Change-Id: Ic3e1e5c4db47f3e318d4b1a2a1b666ff63bb684b
2018-03-19 22:18:55 +01:00
Translation updater bot ba67e1f11a Localisation updates from https://translatewiki.net.
Change-Id: I60e6b312b1f6b8fe08d5035c74c0890a517c5445
2018-03-14 22:23:23 +01:00
Translation updater bot a7024f1955 Localisation updates from https://translatewiki.net.
Change-Id: I62917ffeab166eeaa5a57b6041f06caf6ccc2de9
2018-03-12 22:24:52 +01:00
Translation updater bot a8ba62fa0d Localisation updates from https://translatewiki.net.
Change-Id: I5b54476354d68fdbc2c4338526ba0b7f5f4a7be6
2018-03-10 22:13:58 +01:00
Translation updater bot 3ab7717741 Localisation updates from https://translatewiki.net.
Change-Id: Iaaff550fde072b536677277e99a57eac8cfc2e0a
2018-03-09 22:41:57 +01:00
Translation updater bot 830ecdfe13 Localisation updates from https://translatewiki.net.
Change-Id: I5b11db990df686e59b26f461fc295c16ec784823
2018-03-07 22:47:19 +01:00
David Chan 21e1fc5742 Follow-through rename of originalDomElementsIndex->originalDomElementsHash
Bug: T188900
Change-Id: If2b908acc634253c35b220f267bcca648f45310b
Depends-On: If60d0c637fe92f0e7afe916c064fafb17980d063
2018-03-06 21:00:35 +08:00
Translation updater bot f4a135c8e5 Localisation updates from https://translatewiki.net.
Change-Id: Ifc33d0dc6213559341ba1e94a8d9f10dd6908350
2018-03-05 22:24:24 +01:00
jenkins-bot fd0c0af947 Merge "Ensure the DOM returned by toDomElements doesn't change" 2018-03-05 17:14:10 +00:00
Ed Sanders 3590446c2c Fix detection of template-generated ref lists
Bug: T188898
Change-Id: I77333323d8e6a324b1655c10c94ae397aad241b3
2018-03-05 16:11:03 +00:00
Translation updater bot e563b4fb90 Localisation updates from https://translatewiki.net.
Change-Id: I8e2b57870945e66200c943824e70efe34f621640
2018-03-03 22:25:10 +01:00
Ed Sanders 1a3566b203 Ensure the DOM returned by toDomElements doesn't change
By leaving the viewNode around, it would update itself later
(due to updateDebounced in the constructor), which would
modify $reflist, even though the caller was expecting
this to be some finalised DOM sub-tree.

Change-Id: Ia89a98556af26986f8362f5b352378cc321b6345
2018-03-03 18:58:33 +00:00
Translation updater bot a4f43ad7bf Localisation updates from https://translatewiki.net.
Change-Id: I6a066316059f1e6096a288716987d6d375e89f93
2018-03-02 22:30:53 +01:00
Translation updater bot 858c5b665c Localisation updates from https://translatewiki.net.
Change-Id: I6756a8baf27a02046feb073f38b1a7db0dcd5eea
2018-02-28 22:27:14 +01:00
Ed Sanders e8dd5fed93 MWReferencesListNode: Guard against run-after-teardown
Change-Id: Icea7580d04d7093ab2b27b2d757e625d7559b94c
2018-02-28 17:35:53 +00:00
Translation updater bot b929001479 Localisation updates from https://translatewiki.net.
Change-Id: I27812a0e9beb637aa9739fea1fa899b8ba4198c4
2018-02-26 22:20:18 +01:00
jenkins-bot 1881fff06b Merge "Render reference list from originalDomElements until modified" 2018-02-26 17:22:26 +00:00
L10n-bot 9944a5210c Merge "Localisation updates from https://translatewiki.net." 2018-02-25 21:35:21 +00:00
jenkins-bot b61e827747 Merge "Define getHashObject for reflist node" 2018-02-25 21:35:21 +00:00
Translation updater bot d14535ef35 Localisation updates from https://translatewiki.net.
Change-Id: I0814629ca712438babfcc2b5b5b978c0cb9ebb0e
2018-02-25 22:33:48 +01:00
Ed Sanders 65d47f53b5 Fix transaction tests
Change-Id: I215c1b060d0758e669b62ba27db96ece56bff2f0
2018-02-24 19:24:11 +00:00
Thalia 900e7d6c8b Define getHashObject for reflist node
This will stop us from showing meaningless diffs (eg
setting responsive to whatever the default already was).

Logically depends on 13a3d0527f.

Change-Id: I0c6a3385d9a493c3854975607cd75d2bf8c1e990
2018-02-24 17:33:19 +00:00
jenkins-bot b2c8658079 Merge "VisualEditor: Describe reflist responsiveness changes too" 2018-02-24 12:42:14 +00:00
jenkins-bot a709ac16b9 Merge "VisualEditor: Use reflist diff i18n for reflists and ref ones for refs" 2018-02-24 11:26:38 +00:00
Translation updater bot ec083bc58a Localisation updates from https://translatewiki.net.
Change-Id: Ia43cadecaac365fba981e54b2a98cd510df8176e
2018-02-23 23:01:21 +01:00
James D. Forrester 43344b56b0 VisualEditor: Describe reflist responsiveness changes too
Bug: T160589
Change-Id: Idb590bf0f3edbe8d056f544a148323da30211467
2018-02-22 16:01:46 -08:00
James D. Forrester be1f7c0b74 VisualEditor: Use reflist diff i18n for reflists and ref ones for refs
Change-Id: Ieb3f1a30c1777f11a7334423156df4c9fdb9d79f
2018-02-22 16:00:36 -08:00
Translation updater bot 78034f1720 Localisation updates from https://translatewiki.net.
Change-Id: Ic0e6356ee8daee2ba515aa40db8b95bccf253ea3
2018-02-22 23:21:45 +01:00
Translation updater bot df166f11cd Localisation updates from https://translatewiki.net.
Change-Id: Ia2249c1e26d59049149b6a3fb15da8252b471c0d
2018-02-20 22:28:45 +01:00
jenkins-bot 7edc9ea467 Merge "Avoid jQuery.parseHTML" 2018-02-20 00:49:56 +00:00
Translation updater bot ffa439be67 Localisation updates from https://translatewiki.net.
Change-Id: I1b9fa0e86e3b447cf8696c87ff88dfdb73ee58c2
2018-02-19 22:25:21 +01:00
Ed Sanders caaa3551c4 Avoid jQuery.parseHTML
Bug: T187713
Change-Id: I1fd569ba0624d8d25c5ac89d35c27b1bdc2397a7
2018-02-19 12:20:21 +00:00
Translation updater bot 762f48e560 Localisation updates from https://translatewiki.net.
Change-Id: Iba37a09d111c2b4fd4e48f2634ebdf63f53fe237
2018-02-18 22:40:13 +01:00
Translation updater bot e62c0d34e9 Localisation updates from https://translatewiki.net.
Change-Id: Ifadd4418e9c70b0aa3201745b98bb65c2ca7ac6d
2018-02-17 22:27:21 +01:00
Translation updater bot e6fd02c6e3 Localisation updates from https://translatewiki.net.
Change-Id: I4a8cdd03d3ae9f1e72c32251164b8793e0f8beed
2018-02-16 22:28:56 +01:00
Translation updater bot eaa6f45b67 Localisation updates from https://translatewiki.net.
Change-Id: I8413c5ce24d6a4a27184ddbb9a65cbd74ef8dec1
2018-02-15 22:47:02 +01:00
Ed Sanders f739008cbd Render reference list from originalDomElements until modified
This helps on wikis where there are no real refs because they
are template-generated, and is a performance improvement elsewhere
as re-rendering long ref lists can be slow.

Bug: T187495
Change-Id: I47a9206ff7ee61f8fd716dc7658b8bfad927f656
2018-02-15 21:20:16 +00:00
Translation updater bot 159394c792 Localisation updates from https://translatewiki.net.
Change-Id: Iaf070ce6157fe11d0d80ba127f11f7848e4320a5
2018-02-14 22:30:23 +01:00
jenkins-bot fef23508e8 Merge "build: Bring SVGO optimization to build step" 2018-02-14 18:47:09 +00:00
Translation updater bot 0a0d3ec0bf Localisation updates from https://translatewiki.net.
Change-Id: I079955f488099545bd4211897a6fbfa9f0d38d89
2018-02-13 22:25:18 +01:00
Ed Sanders 8e5ae11be0 Create first unit test for reference diffs
Depends-On: Ia34b535c34aeed933164a18a0be76d7c0ac28bc6
Depends-On: Ic70bd3e8ba090c2d174164fd1ecebdf6f2225254
Change-Id: Ib8b485663dea6fcc50c0197451d0a553e5d89c27
2018-02-13 19:22:58 +00:00
Volker E e3007e9484 build: Bring SVGO optimization to build step
Enabling SVGO automation with 'grunt-svgmin' and conservative
plugin settings to build step, among those:
- enable removeRasterImages and sortAttrs,
- disable cleanupIDs, removeDesc, removeTitle, removeViewBox &
  removeXMLProcInst and
- make use of pretty and multipass options.

Also updating SVGs accordingly.

Bug: T185596
Change-Id: Iec947431b3549e9f1fa1eaba58340aef96c0647b
2018-02-12 10:05:27 -08:00
Translation updater bot 0c8d05839a Localisation updates from https://translatewiki.net.
Change-Id: I08ad2fdf28da52a0f8a8f5cc8e57822a397ec2eb
2018-02-12 09:23:32 +01:00
Translation updater bot 7d9ffec6b5 Localisation updates from https://translatewiki.net.
Change-Id: I2396e7c064efc8cc81dfad8716ab4c5da5310e7f
2018-02-11 10:42:00 +01:00
Translation updater bot 3c0d0449e2 Localisation updates from https://translatewiki.net.
Change-Id: Ie767cff86a26feac5efe0bfe25b694944d776100
2018-02-10 09:15:11 +01:00
Translation updater bot e1a2d06d94 Localisation updates from https://translatewiki.net.
Change-Id: I336e3ea2920edb3158ea007ac4e3af65516ab1f0
2018-02-09 09:41:06 +01:00
jenkins-bot 7554c3688b Merge "Treat template-generated reference lists as real ones" 2018-02-08 17:58:07 +00:00
Ed Sanders 495d9420f0 Treat template-generated reference lists as real ones
This will allow them to auto-update, and be used in the
visual diff.

We record a templateGenerated attribute to prevent them
being edited, and to ensure they roundtrip back to
templates.

Bug: T52769
Change-Id: I4460d2c98166581e942e35921b20091990f5f6c7
2018-02-07 10:48:57 +00:00
jenkins-bot 33c46cbd17 Merge "Focus references list dialog group input" 2018-02-06 22:22:11 +00:00
jenkins-bot 84c423ac0c Merge "Render ref list from CE node when converterting for clipboard" 2018-02-06 22:19:42 +00:00
Translation updater bot 83df2f4436 Localisation updates from https://translatewiki.net.
Change-Id: I763f675e46e69bf48513146df864382fdcb62b1b
2018-02-06 22:35:22 +01:00
Thalia f2bbd5231b Focus references list dialog group input
Bug: T186640
Change-Id: I0c3bea3885c05ba2034cbe26626277640e7b5509
2018-02-06 20:58:27 +00:00
Ed Sanders f1d1cf38f5 Render ref list from CE node when converterting for clipboard
Bug: T186407
Depends-On: Iee635eaf42e3780da4e46e3c0f12417aa331655b
Depends-On: I1500f42dc0bf761f495e25c2d3d047157292df7d
Change-Id: Ia3b2549eb246fc0af56446a7d6a32ec0f54f4099
2018-02-06 16:47:07 +00:00
Ed Sanders 2992edc996 build: Update linters
Change-Id: I473dec2bb64ce2242eaf7bbb4cc42ac767716ae0
2018-02-04 21:22:04 +00:00
Translation updater bot 5bd2890a72 Localisation updates from https://translatewiki.net.
Change-Id: I40557602a5e20bf8338ee10e48443fb3c335b8da
2018-02-01 22:29:59 +01:00
Translation updater bot 48560adb8d Localisation updates from https://translatewiki.net.
Change-Id: Ie91c0df9c17a15d3447475bf5aabec5a6be717d5
2018-01-30 22:16:29 +01:00
Translation updater bot 8580d41a81 Localisation updates from https://translatewiki.net.
Change-Id: Iaf7a80f14a34389fe8f44de033e908feba6d8fe4
2018-01-29 22:19:47 +01:00
Translation updater bot 720f9dd58b Localisation updates from https://translatewiki.net.
Change-Id: Ib40d9ed41ea12e0ee1cd5ee8e65f9c55b038420e
2018-01-26 22:36:28 +01:00
Translation updater bot 1854db1134 Localisation updates from https://translatewiki.net.
Change-Id: I6d251b9ca2737ba6b52e44bbc40ca15ff7eef32b
2018-01-24 22:20:41 +01:00
Ed Sanders dd2aeb641d Remove metadata from unit tests
Metadata is being removed from VE.

Change-Id: Icc614ed7a9792b7d9475d7a804bb8eea48424043
2018-01-22 14:31:44 -08:00
Translation updater bot ccc1773239 Localisation updates from https://translatewiki.net.
Change-Id: I1577626c26f00b644c13e86da334482505994204
2018-01-22 22:18:16 +01:00
Translation updater bot b31958be24 Localisation updates from https://translatewiki.net.
Change-Id: Iad38633350c5b217e6e18a477709d076b60501e3
2018-01-20 14:42:26 +01:00
Translation updater bot 98f5e4db08 Localisation updates from https://translatewiki.net.
Change-Id: Ica501d8df31d8cd39c19b220d6c03ef650563bd6
2018-01-17 22:45:36 +01:00
Translation updater bot 26ac62b78c Localisation updates from https://translatewiki.net.
Change-Id: I7531e624c4c870bdec685b57db075ac07b23a9c0
2018-01-16 22:49:18 +01:00
Translation updater bot 1cc3aadf2e Localisation updates from https://translatewiki.net.
Change-Id: Ic8a455f8f64dc17a4005a4b7b92ee0facd74c3c1
2018-01-14 22:16:56 +01:00
zoranzoki21 288226aba5 Replace "getSelectedItem" with "findSelectedItem" for consistency
Bug: T184037
Change-Id: Ie4b191ba55cf1cf1300182e056a5a4901c18d583
2018-01-10 11:51:25 +00:00
Translation updater bot d76800c613 Localisation updates from https://translatewiki.net.
Change-Id: Iea68ad814428c186acf36da2dda8d406d875b8fa
2018-01-08 22:35:33 +01:00
Translation updater bot ae9bffe762 Localisation updates from https://translatewiki.net.
Change-Id: I38a2f7c38cb27a23703ed79bf719b1aae7da0973
2018-01-06 09:13:52 +01:00