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
jenkins-bot
deb77d2964
Merge "Add test for broken up-arrow back links"
2019-03-26 15:15:58 +00:00
WMDE-Fisch
3c855ea4cd
Add test for broken up-arrow back links
...
Bug: T217767
Change-Id: Ib8c8e7d6cc286aaabd73f3e2b6fb02cb5f62eff2
2019-03-26 13:35:19 +00: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
Arlo Breault
c735c9021f
Sync up with Parsoid citeParserTests.txt
...
This now aligns with Parsoid commit 94b8b491098f882582f372218df07f5b68f4eba1
Change-Id: Ic357d36d3643fbead6f7e1c0a03aaefb5b7e005c
2019-03-19 11:40:14 -04:00
jenkins-bot
aa2bf473de
Merge "Update tests to match parser changes"
2019-03-19 14:18:40 +00:00
Translation updater bot
427f8c6a3b
Localisation updates from https://translatewiki.net .
...
Change-Id: I82e7d1e21f99cb2b9507717dda5eb62293c08140
2019-03-18 23:07:07 +01:00
jenkins-bot
a6908da6a6
Merge "Upgrade to newer phan"
2019-03-18 01:07:21 +00:00
Kunal Mehta
45c01a6b78
Upgrade to newer phan
...
Bug: T216911
Change-Id: Ib228ac26a9a87c51a107407b6162110681b5e75c
2019-03-17 16:46:06 -07:00
Translation updater bot
5f4ca81695
Localisation updates from https://translatewiki.net .
...
Change-Id: I35fa5588cbce6a4f437211627b408e8cf195d153
2019-03-17 22:13:54 +01:00
Arlo Breault
2528762640
Update tests to match parser changes
...
Bug: T208070
Depends-On: I3da235cb83efa424f0cf1cf4fc7233240fcdf6b2
Change-Id: I6119b4af9632496dbda81c3a3951c55217e7c2d5
2019-03-15 18:23:43 +00: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
26f1b3e1b3
Localisation updates from https://translatewiki.net .
...
Change-Id: Idffd8eb12797e744eb8cc1f6f8f26eb1e15b4577
2019-03-10 22:27:32 +01:00
Translation updater bot
400a8b09cc
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibf43d82f43095d262d0b61df69b2a3e662d8dfe7
2019-03-08 22:29:00 +01:00
Translation updater bot
393f17cf77
Localisation updates from https://translatewiki.net .
...
Change-Id: I488188960313b030cdccdfaafccefaafa6c31012
2019-03-07 22:40:36 +01:00
Umherirrender
51784f62f7
Use ExtensionRegistry rather than class_exists
...
Change-Id: I5c6a6ed3f6ecef1cde5519bcdac5ae35e7ab1a73
2019-03-03 01:49:43 +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
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
f7f3dee67a
Localisation updates from https://translatewiki.net .
...
Change-Id: I3559431d1f69946efe71337889b8cd72ee723242
2019-02-19 22:19:45 +01:00
Translation updater bot
49f8b93540
Localisation updates from https://translatewiki.net .
...
Change-Id: Iedc39605bea43d1d09de827faaa53b14045be95b
2019-02-18 22:22:49 +01: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
libraryupgrader
32658c84ac
build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
...
Change-Id: Ieaba78a1c1d946bebbfba6419e554d62fdbe6715
2019-02-06 11:32:11 +00:00
jenkins-bot
dc04c86f34
Merge "Tests: Depend on newly-renamed VE test suite"
2019-02-05 23:21:41 +00:00
jenkins-bot
076eb45d3e
Merge "build: Update eslint-config-wikimedia to 0.10.1"
2019-02-04 07:21:10 +00:00
Translation updater bot
fd89012b96
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie11733aa2fcb7ef6b1de74b23ddda0c4ec90da58
2019-02-03 22:38:08 +01:00
Ed Sanders
f47c8d32e0
build: Update eslint-config-wikimedia to 0.10.1
...
Change-Id: I674dc6ce9df757065c3fc40ea68d6406ae518ed1
2019-02-03 10:17:24 -08:00
Translation updater bot
957fbe23df
Localisation updates from https://translatewiki.net .
...
Change-Id: I9bb5fa57df059fa4a6e2bd7a74e3fb036ec6989f
2019-01-31 22:25:43 +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