Adam Wight
b0b628afd5
First tests for ve.dm.MWReferenceModel
...
Begin a QUnit test module for the reference model. Tests demonstrate
that a new ref and a normal ref reuse from the full document both
behave as expected.
Bug: T336417
Change-Id: I1337806d41b50329ba971c8e68e1a62b52cc9a52
2024-01-31 13:52:40 +01:00
Translation updater bot
f7d1ecb84b
Localisation updates from https://translatewiki.net .
...
Change-Id: I4c21c3ea065de3e17672e19a7cb86907b4467d1c
2024-01-31 08:28:49 +01:00
Adam Wight
9535126304
[lint] Satisfy max-len rule
...
These changes mostly improve the code, and align the lint rules with
the MediaWiki base.
Change-Id: Ib4b0595fd9a9298039b8b44a0f1d4a9e90731527
2024-01-30 12:18:52 +01:00
Translation updater bot
723571b5d3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic56560791c1d93bde35617b594126fec2c578f9a
2024-01-28 16:05:40 +01:00
thiemowmde
16711d681b
Group and nest stylesheets now they are .less files
...
Change-Id: Iedd9748cf9f38847ef4553459d533a67a0950645
2024-01-21 15:59:20 +01:00
Translation updater bot
2c84fbbc08
Localisation updates from https://translatewiki.net .
...
Change-Id: I34a16a2997cfad7578aa05a5704059a78c66b134
2024-01-18 09:24:42 +01:00
Translation updater bot
33f5611e1c
Localisation updates from https://translatewiki.net .
...
Change-Id: If1cd1df28a06c68d35ee4b03e6ad3c9e7b01820a
2024-01-16 08:25:24 +01:00
Translation updater bot
7f71ada8f8
Localisation updates from https://translatewiki.net .
...
Change-Id: I14dfb64deb13f0113940b6e295fba232f941e2f6
2024-01-15 08:23:57 +01:00
Translation updater bot
9156975dae
Localisation updates from https://translatewiki.net .
...
Change-Id: I0d9d5f9812c30d615bf8b150204ab5cab2d30858
2024-01-10 08:32:37 +01:00
Translation updater bot
086f5af8f8
Localisation updates from https://translatewiki.net .
...
Change-Id: I26541cfb187ee00cfee76e74d57ef702adcd8fed
2024-01-03 08:34:14 +01:00
Translation updater bot
07d75d4ebe
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie77f4c3e4e29cb1a67e40438443d4ad560404d7b
2024-01-02 08:48:22 +01:00
Translation updater bot
81502b4294
Localisation updates from https://translatewiki.net .
...
Change-Id: I540883ba46e78aaf77d20714bb3975ede2d676c3
2023-12-26 14:42:33 +01:00
Translation updater bot
12c414f4c4
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaab9324e298b755d96678ac8868cbd98fc9d82f8
2023-12-22 17:45:28 +01:00
Translation updater bot
9b11e93bbe
Localisation updates from https://translatewiki.net .
...
Change-Id: I04ba74f6fae07793f3a3180b204f3fbe89b16949
2023-12-21 19:45:01 +01:00
Translation updater bot
e64d944194
Localisation updates from https://translatewiki.net .
...
Change-Id: Ice9b812492a0bce8ef003413a66501d9db1c75e2
2023-12-18 18:16:28 +01:00
WMDE-Fisch
2a02f5311d
build: Update linter libs
...
* "eslint-config-wikimedia": "0.26.0"
* "grunt-eslint": "24.3.0"
* "grunt-stylelint": "0.19.0"
* "stylelint-config-wikimedia": "0.16.1"
Including auto fixes.
Change-Id: Iadacfc781a48675022144bb8c9489073d0bc19e3
2023-12-12 14:21:07 +01:00
Translation updater bot
d368264120
Localisation updates from https://translatewiki.net .
...
Change-Id: Icdbb6a0468db59a04887413a83afe7a90e02ea64
2023-12-05 09:14:17 +01:00
Translation updater bot
c784c47de5
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie8a88219eb6691d249af60195724a3ef428c5ef2
2023-12-04 09:03:37 +01:00
Translation updater bot
30607b4cf0
Localisation updates from https://translatewiki.net .
...
Change-Id: I840e39ba3d0fa4cc0687e148d865da0262373f12
2023-12-01 09:38:44 +01:00
Translation updater bot
f8967415a8
Localisation updates from https://translatewiki.net .
...
Change-Id: I191f8a688ccf3b2085d9d993265f304da45d5085
2023-11-29 08:30:38 +01:00
Translation updater bot
f8010df944
Localisation updates from https://translatewiki.net .
...
Change-Id: I981c304635cffc265ae0aed53db3829bc569471d
2023-11-27 08:31:55 +01:00
Translation updater bot
c60d8d1f2f
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia43cb04dbac14774f8bad377c23f25b76fa93009
2023-11-23 11:55:51 +01:00
Translation updater bot
eb2bd5ff15
Localisation updates from https://translatewiki.net .
...
Change-Id: I64d02118866e006a197e094f827696f3dc014573
2023-11-22 08:19:39 +01:00
Translation updater bot
a56fc64d18
Localisation updates from https://translatewiki.net .
...
Change-Id: I9250b0f75e11df2b8ff685a8cb0a6fe22f2a2261
2023-11-20 08:50:57 +01:00
Translation updater bot
463e002854
Localisation updates from https://translatewiki.net .
...
Change-Id: Icb4e8c538d29fa667786df48b99ed3fa56fa0245
2023-11-17 08:52:12 +01:00
Translation updater bot
f649124a7f
Localisation updates from https://translatewiki.net .
...
Change-Id: I86b6ea8d3c0d85f4510dc71139c229b4fde5bf20
2023-11-16 09:08:57 +01:00
Translation updater bot
7ce0bb218c
Localisation updates from https://translatewiki.net .
...
Change-Id: Idb7a47793b233425ecc0885910c9c2acdfd8a561
2023-11-15 15:43:23 +01:00
jenkins-bot
8ef6751c55
Merge "VE: Update group ordering when node is converted from placeholder"
2023-11-10 21:54:42 +00:00
Translation updater bot
483d5ad545
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib733e398de88a624f11420d94bc1fbec444c83a1
2023-11-09 10:40:29 +01:00
Ed Sanders
ada0820622
ve-cite: Remove unused messages for fake refernce headings
...
These were removed upstream in Iedc17c8ac9c.
Change-Id: Ic1240329de348a687db0373a9d247d3cd0780b46
2023-11-08 12:07:47 +00:00
Translation updater bot
2e006087fb
Localisation updates from https://translatewiki.net .
...
Change-Id: I5520d02cb371d264d307fcf1e791b95d3123e131
2023-11-06 08:55:50 +01:00
Translation updater bot
a4f9e88fc0
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie76c448fff0963a1493e315335b1e3b3258844f7
2023-11-02 09:58:09 +01:00
Translation updater bot
d4a54c4bc9
Localisation updates from https://translatewiki.net .
...
Change-Id: I3288c028e79553da2e120526a8e054ae9373c7c5
2023-11-01 09:07:54 +01:00
Translation updater bot
377a23e6dd
Localisation updates from https://translatewiki.net .
...
Change-Id: I90e507e8b2c7846550387ac55c75b1a608aa3d7b
2023-10-31 09:08:41 +01:00
Translation updater bot
b5e9632406
Localisation updates from https://translatewiki.net .
...
Change-Id: I5517aa23c58d76660b81254d522c716828e4d994
2023-10-30 17:58:55 +01:00
Volker E
677b2dd43a
docs: Replace WikimediaUI Base reference in comment with Codex
...
Rely on Codex color palette descriptions.
Bug: T334934
Change-Id: Ib2456f5348183de938a68cf93f3000ea92f05393
2023-10-25 22:51:49 -07:00
Translation updater bot
2249b98685
Localisation updates from https://translatewiki.net .
...
Change-Id: Idaedffe51da8560e98da22caf7bdffd8addb8f8b
2023-10-23 09:50:22 +02:00
Translation updater bot
a625c82c19
Localisation updates from https://translatewiki.net .
...
Change-Id: I7ba3ade6ca4ced17f9168b66d503480e9965b351
2023-10-19 08:41:18 +02:00
Ed Sanders
b4b6dbba95
VE: Update group ordering when node is converted from placeholder
...
Logically depends on I45c7ab5fe5cd.
Bug: T332799
Change-Id: I143fa0d45572677d09320fff88076a53253ad714
2023-10-16 15:48:41 +01:00
Translation updater bot
9ff56c0175
Localisation updates from https://translatewiki.net .
...
Change-Id: I1942a2736cf31c0720dd3e633eea9396f4d324bf
2023-10-03 09:32:17 +02:00
Translation updater bot
2336daf3dd
Localisation updates from https://translatewiki.net .
...
Change-Id: I7bbaa5105d3af0748ab1243af5302e66c8973e15
2023-10-02 10:56:59 +02:00
Translation updater bot
b9ccbb932c
Localisation updates from https://translatewiki.net .
...
Change-Id: I549b165a33cf5999c5b38284b06ba2df6846c440
2023-09-25 08:45:56 +02:00
Translation updater bot
156d1e5707
Localisation updates from https://translatewiki.net .
...
Change-Id: I1fdf8642bb0bf16f703b84e302616ddea98038d6
2023-09-19 09:25:07 +02:00
Translation updater bot
0ed8d6329c
Localisation updates from https://translatewiki.net .
...
Change-Id: I08369b96674a8f977a368902b6bfe6387e65daa0
2023-09-18 08:42:41 +02:00
Translation updater bot
2c0dc4f796
Localisation updates from https://translatewiki.net .
...
Change-Id: Iae26c7664f075fad1e4281fd530e4db052b7c35a
2023-09-12 08:26:28 +02:00
Translation updater bot
1a5dc02ff4
Localisation updates from https://translatewiki.net .
...
Change-Id: I9197dd4057b5189315971446a0aadb948edf8426
2023-09-11 09:03:10 +02:00
Translation updater bot
1ecd366a73
Localisation updates from https://translatewiki.net .
...
Change-Id: I50df01bb5a9deffcb20b19c884fd5f3a96bce041
2023-09-06 08:41:30 +02:00
Translation updater bot
70b7bcaa21
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic5bd89ed2b7ed1773a8de4f8e62894f42edf7a81
2023-09-04 08:43:08 +02:00
Translation updater bot
12764fc265
Localisation updates from https://translatewiki.net .
...
Change-Id: I13110416bbeee8744467efed0fc9df4cc81ed454
2023-09-01 09:02:32 +02:00
Translation updater bot
cf70ab30cb
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib0e501155e7f8380cae133e711ab0751813c71e9
2023-08-30 08:43:52 +02:00
Translation updater bot
621cb1d801
Localisation updates from https://translatewiki.net .
...
Change-Id: I3e1c8867f0ff928fe9ff7799842011eebe57edc0
2023-08-29 08:27:57 +02:00
Translation updater bot
d98c55dd11
Localisation updates from https://translatewiki.net .
...
Change-Id: I9b65d36187860fe16aaa83ac9d203966efb06252
2023-08-28 09:29:46 +02:00
Translation updater bot
b68de12e69
Localisation updates from https://translatewiki.net .
...
Change-Id: I4d33204cd5b6df94d90e458271513e444e4e7d08
2023-08-24 09:48:53 +02:00
jenkins-bot
a3f136cf7b
Merge "Convert Cite extention to ES6"
2023-08-23 16:19:37 +00:00
mareikeheuer
1eb405eb54
Convert Cite extention to ES6
...
Bug: T343220
Change-Id: I769f0bfaa5af14d6ea4861ea738b44c98feb6193
2023-08-23 12:39:29 +00:00
Translation updater bot
9f74f74cbd
Localisation updates from https://translatewiki.net .
...
Change-Id: I130c471228a9bc5eba16bdefa4a2c08fb3683b4c
2023-08-23 08:38:54 +02:00
Translation updater bot
c82292634a
Localisation updates from https://translatewiki.net .
...
Change-Id: I66daf1d98ea1bcffa2fe8adb63ac553d3d59fe41
2023-08-22 09:01:19 +02:00
Translation updater bot
411989a205
Localisation updates from https://translatewiki.net .
...
Change-Id: Idb27c1adffb0938b2c0f04c1576d48d4fa3dc3ed
2023-08-21 08:47:22 +02:00
Novem Linguae
339ba57786
Don't warn that reference list is uneditable
...
In articles with references, a reference list is generated. If you
try to visual edit the reference list, it displays a message "This
reference list is generated by a template, and for now can only be
edited in source mode." However it is actually editable now that
T54750 (Community Wishlist 2023 wish #2 ) is complete.
Bug: T54750
Change-Id: Id8115ae6045f371e4619c85aeb610fe78927d802
2023-08-18 20:46:41 -07:00
Translation updater bot
e7a594cd35
Localisation updates from https://translatewiki.net .
...
Change-Id: I3dcf2223660bfd10a43dfce23eeb5660c3cb0d45
2023-08-18 09:07:42 +02:00
Translation updater bot
f0e877a0c5
Localisation updates from https://translatewiki.net .
...
Change-Id: I1eeab58604b3920557065715a54f8d149882a8ad
2023-08-17 12:09:31 +02:00
Translation updater bot
4ec268d8c3
Localisation updates from https://translatewiki.net .
...
Change-Id: I2c05a4aa185ed1008a975ef09755e31e3ee7575d
2023-08-16 09:11:18 +02:00
Translation updater bot
13ea4e89fc
Localisation updates from https://translatewiki.net .
...
Change-Id: I1f569f3fab61644744e0cdfc702bcf2ad4c556de
2023-08-11 08:59:42 +02:00
Translation updater bot
6476dde20e
Localisation updates from https://translatewiki.net .
...
Change-Id: I25b70a269d0fd437b1066f38d7ef5d9ebd713820
2023-08-10 09:40:16 +02:00
Translation updater bot
18dfa26ee1
Localisation updates from https://translatewiki.net .
...
Change-Id: I360936597a0da7bf39115100a95c77435b2a4b8d
2023-08-09 09:14:43 +02:00
Translation updater bot
a6c8f9be64
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibf69b8414cfd13d1994fb4442158327dd8441638
2023-08-08 09:00:37 +02:00
Translation updater bot
3302f7191d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ida42b9050052350d4f23a9ba2cff8b68574ea6a6
2023-08-07 08:37:50 +02:00
Translation updater bot
c7d27dd020
Localisation updates from https://translatewiki.net .
...
Change-Id: I48409a19a5c65ee62560096d1671f807be954181
2023-08-03 08:48:18 +02:00
Translation updater bot
995495eb6f
Localisation updates from https://translatewiki.net .
...
Change-Id: Iecd50180af49cf669a2d2888427a76fcb22c3033
2023-08-02 09:03:40 +02:00
Translation updater bot
c55dc43253
Localisation updates from https://translatewiki.net .
...
Change-Id: I734e69dac9ed65628ad13455892ecc9404a9afbb
2023-07-31 08:56:24 +02:00
Translation updater bot
ef5d0a3e7e
Localisation updates from https://translatewiki.net .
...
Change-Id: I0d49ac76485a1130e6c19310944ef6478b3b8686
2023-07-28 09:19:07 +02:00
Translation updater bot
da0f53d4c2
Localisation updates from https://translatewiki.net .
...
Change-Id: I84bd82743e4ba5a0aa88f1b4e889305d4db79535
2023-07-24 09:36:47 +02:00
Translation updater bot
182401570e
Localisation updates from https://translatewiki.net .
...
Change-Id: I4401790cf0e9fda4787e990f267f2290077dba66
2023-07-21 08:41:03 +02:00
Translation updater bot
3ff81498ed
Localisation updates from https://translatewiki.net .
...
Change-Id: Id5362988556255ec20520eb262e090509a7f39de
2023-07-20 09:32:03 +02:00
Translation updater bot
d7c22027ee
Localisation updates from https://translatewiki.net .
...
Change-Id: Ica38b7dc843dbf8faeb3d12b5618b2fbb81b3b11
2023-07-18 09:49:14 +02:00
Translation updater bot
cd2c578e29
Localisation updates from https://translatewiki.net .
...
Change-Id: I12b4e8d4e90c89dd6efd3c74f11c63029ace6941
2023-07-17 10:16:34 +02:00
Translation updater bot
6aff5b0828
Localisation updates from https://translatewiki.net .
...
Change-Id: Iee86fdbe9ea5e8df0eab763827146f1c765785d8
2023-07-14 09:32:36 +02:00
Translation updater bot
4265152ea6
Localisation updates from https://translatewiki.net .
...
Change-Id: Id08669a1b1f850b0ced9b3b83e92100e6e032d45
2023-07-13 10:48:40 +02:00
Ed Sanders
b2fd0aa4d1
Fix ContextItem documentation
...
* Be more specific about the type of context which a
context item belongs to.
* Make grammar clearer.
Change-Id: I9bcc129766c3386582def0f346d6f175e54d6ff6
2023-07-10 14:33:24 +01:00
Translation updater bot
d06b315b7c
Localisation updates from https://translatewiki.net .
...
Change-Id: I2bbad9897d911b24a470cd0f49b9a44e1a653ff8
2023-07-10 09:37:11 +02:00
Translation updater bot
152abcbe1f
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia5be9d48e4e44dfad73df0396987142693ff459b
2023-07-03 10:14:41 +02:00
jenkins-bot
0a3240e217
Merge "Revert "Add extends warning to reference dialog""
2023-06-29 16:58:33 +00:00
Awight
42e13cb3c3
Revert "Add extends warning to reference dialog"
...
This reverts commit da30b2b626
.
Reason for revert: Caused a regression. Feature is not enabled on public wikis so reverting is harmless for now.
Bug: T247922
Bug: T340757
Change-Id: I83434afaf1b76425bddb575dd724f462a247c83d
2023-06-29 16:36:47 +00:00
Translation updater bot
d8121c4b2c
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifc60a07ae9077e92f9653662a448525f25a84c15
2023-06-28 17:32:42 +02:00
Translation updater bot
72b94c9244
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib0b74672ee6d359f11401d18e56387c7e1b45221
2023-06-26 12:38:21 +02:00
Translation updater bot
88e504647d
Localisation updates from https://translatewiki.net .
...
Change-Id: I9030217a54e9bd7bc79a204f8281377ed73b7c69
2023-06-19 11:06:28 +02:00
Translation updater bot
6e1b2c8be8
Localisation updates from https://translatewiki.net .
...
Change-Id: Id77ec86541c52e8883a22a6aa585c5b0da61ef50
2023-06-14 13:06:17 +02:00
jenkins-bot
9bd0f969bb
Merge "Display text of parent reference in VE popup"
2023-06-14 10:12:53 +00:00
jenkins-bot
87a1466782
Merge "Add extends warning to reference dialog"
2023-06-13 12:57:45 +00:00
Svantje Lilienthal
eac4213cc9
Display text of parent reference in VE popup
...
This is a first demo that it is possible to get the text of the parent.
This is hidden behind a feature flag.
Next: see if the parent ref can be added to the rendering
Bug: T247922
Change-Id: Idd409f25b253a19c20ed8623737ecc49315587dc
2023-06-12 16:32:40 +00:00
Svantje Lilienthal
da30b2b626
Add extends warning to reference dialog
...
To warn users when they are editing a sub-reference we
add a warning containing the text of the parent reference.
This is hidden behind a feature flag.
Bug: T247922
Change-Id: I3749683d8a18e502bf16e5bd5f2fe385581625be
2023-06-12 16:24:58 +00:00
Translation updater bot
1abb521be7
Localisation updates from https://translatewiki.net .
...
Change-Id: I885384031bcece55da8c85597e01214817baee09
2023-06-12 13:07:02 +02:00
Translation updater bot
994df7c0bf
Localisation updates from https://translatewiki.net .
...
Change-Id: I5a83796515935ff06b282c15b0a742aac343fc1e
2023-06-09 09:13:04 +02:00
jenkins-bot
36f8dc85ae
Merge "Fix inconsistent usage of lastIndexOf in VE reference code"
2023-06-06 21:27:19 +00:00
Svantje Lilienthal
3d4f0a933e
Use message widget for reuse warning in reference dialog
...
* Use OOUI message widget to make code cleaner
* By default message is toggled off and only displayed when needed
* To prevent visible changes the message widget is slightly adapted:
* Use black alert icon to prevent yellow default icon for warning messages
* Remove bold text (in css)
* Some padding to top and bottom
* Changes can easily be removed if message should be closer to the standard
Bug: T247922
Change-Id: I2296cd497c935ea4638650bdb4b3c833a71a6c6a
2023-06-06 15:07:51 +02:00
thiemowmde
341847a410
Fix inconsistent usage of lastIndexOf in VE reference code
...
I assume the code was using lastIndexOf as some kind of performance
optimization. Certain StackOverflow threads suggest it without going
into detail. It's not correct here. You can actually name a group
"mwReference/", which will result in the (valid) internal name
"mwReference/mwReference/". This works as expected with indexOf but
not with lastIndexOf.
Change-Id: I8e85ae5c11a74016c7720fcdb6ac6478431aaa8e
2023-06-06 13:37:25 +02:00
jenkins-bot
eaa2228afa
Merge "Tests: Convert more to template literals"
2023-06-05 22:26:41 +00:00
Translation updater bot
f823468e1c
Localisation updates from https://translatewiki.net .
...
Change-Id: I892f830cc96cd8b9a2b28d6b9fb97fbf1c8220dd
2023-06-05 08:40:27 +02:00
Translation updater bot
61ae890e2a
Localisation updates from https://translatewiki.net .
...
Change-Id: I036398ae88af1bd3cf57a94ee1d78472b62d8fc1
2023-06-02 09:23:25 +02:00
Ed Sanders
b7024b6668
Tests: Convert more to template literals
...
Change-Id: I68da55d32ee9ac6c09439c04a7d7ed71c5bafd29
2023-06-01 15:51:43 +01:00