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
Translation updater bot
a54a251e1e
Localisation updates from https://translatewiki.net .
...
Change-Id: I333c57a82638de816a39946de8b8b49e5f143041
2023-06-01 08:42:56 +02:00
jenkins-bot
c9fb272bdf
Merge "Converter tests: Use template literals to make HTML more legible"
2023-05-31 23:50:12 +00:00
Ed Sanders
18b0b91f50
Converter tests: Use template literals to make HTML more legible
...
Depends-On: Iee8184dd6524b6dc12d19ac79761f6bd15990297
Change-Id: Ie5fd3f180dd2f7882ec10477117f4b0cdee374ad
2023-05-31 17:28:30 +01:00
jenkins-bot
04fd532292
Merge "Add a test for "extends" round-tripping"
2023-05-31 08:33:23 +00:00
Adam Wight
00eede66f0
Add a test for "extends" round-tripping
...
Bug: T247922
Change-Id: Iaf8417814aa264fbeca0ad139c1a5f073ea10e8b
2023-05-31 08:15:17 +00:00
Translation updater bot
4dffe6d8e3
Localisation updates from https://translatewiki.net .
...
Change-Id: I268098cba51f1cfbb580e9e5ff970ef06c9e69a6
2023-05-31 08:19:55 +02:00
jenkins-bot
fc1e14cae7
Merge "Adding extendsRef to reference model"
2023-05-30 10:20:55 +00:00
Svantje Lilienthal
227b50d964
Adding extendsRef to reference model
...
* reads the new attribute extends from wikitext
* saves it into the reference model
* adds a message to the VE popup of an extension as a first demo
* tests will be added in a separate patch
Bug: T247922
Change-Id: If4d309c4678022642f39e21565950dc45e557d47
2023-05-30 11:56:47 +02:00
Translation updater bot
4070b9b54f
Localisation updates from https://translatewiki.net .
...
Change-Id: If4234742ebf1ffd76c97ac3a51d4b5ff184af66c
2023-05-29 09:58:47 +02:00
jenkins-bot
1d4997560f
Merge "Register a HelpCompletionAction group alias for cite"
2023-05-24 17:51:48 +00:00
Ed Sanders
dca26d905d
Disable mw-body-content clearfix in reflist
...
Bug: T337415
Change-Id: Ic94414a4b0e483b6f8945525d07ae7cbcb42045c
2023-05-24 17:22:28 +01:00
David Lynch
03bac936be
Register a HelpCompletionAction group alias for cite
...
Bug: T66905
Depends-On: I7bc614c81ae3fc1e16d8fffd9f733186bdc9c472
Change-Id: I4a0242386bb595e04a9d72a8efcff9e8949260d4
2023-05-24 15:42:36 +00:00
jenkins-bot
dc243e48aa
Merge "Streamline/minimize duplicate code in reference node classes"
2023-05-23 14:09:22 +00:00
thiemowmde
edcb4ddd0b
Streamline/minimize duplicate code in reference node classes
...
E.g. reducing indention and utilizing convenient jQuery features.
Change-Id: I08fe9d4a09630042b28fc5e35cab4460be44a0d9
2023-05-23 10:54:56 +00:00
Ed Sanders
d107f3d5a8
Fix ref list click-to-edit on mobile
...
On mobile, the first action is always 'mobileActions', so
ignore it.
Bug: T54750
Change-Id: I06e3f6225bf7a185680d89dee5b204a19a7a4fd7
2023-05-22 18:22:05 +01:00
Translation updater bot
b8af25b157
Localisation updates from https://translatewiki.net .
...
Change-Id: I46e1d6e57aafc5081a838bbc4bc10261e922f2c7
2023-05-22 08:45:03 +02:00
jenkins-bot
c9abd842a5
Merge "Add missing space to reference list rendering"
2023-05-20 10:29:49 +00:00
Ed Sanders
744cbdb56b
Launch reference editors from ve.ce.MWReferencesListNode
...
Bug: T54750
Depends-On: I502358a3229fbda44950f7f7513548d49d25e0c9
Change-Id: Idea26ffbc5ee859f6ad9456029af4180226c1a07
2023-05-17 16:05:02 +00:00
jenkins-bot
2ab7c55748
Merge "Render reference list on first load in idle callback"
2023-05-17 14:01:02 +00:00
Ed Sanders
8587e445a1
Render reference list on first load in idle callback
...
This means the reference list is always in sync with the model's
understanding of which references are available to edit.
An exception is left in if there are no references in the model
at all, as will be the case on he.wiki, as all references are
template generated. In this case we continue to use the Parsoid
DOM, so that there is a static rendering of the reference list.
Bug: T336865
Change-Id: Iaf1089c9de532e7749c9cb70a9e697917955dca8
2023-05-17 13:34:15 +00:00
thiemowmde
e4e1a38e1e
Add missing space to reference list rendering
...
Minimal test case:
<ref name=a>a</ref>
<ref name=a/>
<references/>
This renders as "1. ↑ 1.0 1.1 a" in both the legacy parser as well
as Parsoid. The moment you start editing this in VisualEditor the
space before "a" disappears. This patch fixes this inconsistency.
Change-Id: Idfea1a445fc98a0433640b4f706fafcc4e236c18
2023-05-16 15:43:16 +00:00
Translation updater bot
46a2205f5f
Localisation updates from https://translatewiki.net .
...
Change-Id: Id06f53e8ab8d0b70388cf155419f84e493bdcf9d
2023-05-16 08:18:33 +02:00
jenkins-bot
fd8db433a6
Merge "Fix empty previews in reference reuse dialog"
2023-05-11 09:43:54 +00:00
Translation updater bot
79c3edaa3e
Localisation updates from https://translatewiki.net .
...
Change-Id: If653baf2bc9e95fddc85f7e9e1dc693e32a10831
2023-05-11 09:13:41 +02:00
thiemowmde
889c2ea011
Fix empty previews in reference reuse dialog
...
This fixes a minor inconsistency: A reference that comes from a
template and is already reused outside of the template is only
partially available to VE, and previewed with a warning message
because of this:
"This reference is defined in a template or other generated block,
and for now can only be previewed in source mode."
This was missing in the reuse dialog.
Note this patch is not meant to make any design decision, but to use
the existing design consistently.
You can test this with and without the Citoid extension. It works in
both cases.
Bug: T336372
Change-Id: I962cf111b1882bcd736f1090ca17d2b176495d2f
2023-05-10 13:03:24 +00:00
jenkins-bot
d886cbd70f
Merge "Migrate CiteVisualEditorModule to a virtual file callback"
2023-05-10 04:57:57 +00:00
Translation updater bot
d6fbd0cc11
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic98e2df23aabe41eb558fc8028334309661d2367
2023-05-05 10:38:10 +02:00
Tim Starling
5315297f38
Migrate CiteVisualEditorModule to a virtual file callback
...
Depends-On: I97d61b5793159cea365740e0563f7b733e0f16de
Bug: T47514
Change-Id: Iabfbb6751707813b7ec68f49b35441ab5dbb5622
2023-05-05 16:25:14 +10:00
Translation updater bot
b81e7bd0c5
Localisation updates from https://translatewiki.net .
...
Change-Id: I01c920c74716fc99c2d36de87239a65a15173df9
2023-05-01 09:57:21 +02:00
thiemowmde
2a8fdf3d81
Hide wrong "this reference is used 0 times" in citation dialog
...
This fixes a minor regression introduced in Ib003b8a. The problem is
that undefined is not equal to anything in JavaScript, and not smaller
than 2 either.
Bug: T241885
Bug: T335410
Change-Id: Ia6deb291d923b88a08ceac8fbc0efb682e14f358
2023-04-26 16:42:08 +02:00
Translation updater bot
ad830cce16
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibc776022544a8f73e77735dc1256135598fb676c
2023-04-25 08:47:26 +02:00
Translation updater bot
3c902a8f34
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifb96b94e80763ea5e5e7d9f3582ca835f5a17823
2023-04-24 09:15:43 +02:00
jenkins-bot
23d7c3d3bf
Merge "Fix wrong "this reference is used twice" in VisualEditor"
2023-04-17 06:40:44 +00:00
Ed Sanders
ec88bde672
Drop IE CSS hacks
...
IE is no longer supported
Change-Id: I27901e87301a4ce0993f789913c83d151f264562
2023-04-12 16:33:23 +01:00
thiemowmde
ce63522726
Fix wrong "this reference is used twice" in VisualEditor
...
This patch also updates a second place that does almost the same.
That other place also excludes placeholders. We intentionally don't
do this in this new place.
Bug: T241885
Change-Id: Ib003b8a7bbe247db6f7da0a4efcfd4e5967fd033
2023-04-12 15:19:11 +02:00
thiemowmde
4ac067c0fa
Fix broken selector in MWReferenceNode.less
...
This issue was introduced in I7a8ec9f. I tried to understand what this
does but can't see an effect. The behavior and appearence seems to be
identical with and without this code. In case it turns out this is dead
code (e.g. not needed any more with our current browser requirements)
it should be removed. Otherwise the selector fixed.
Change-Id: I0bfae951aa4543c528dd7e04c00a0e978f1ce49e
2023-04-11 20:39:51 +02:00
Translation updater bot
545491a21f
Localisation updates from https://translatewiki.net .
...
Change-Id: Iefcf05de017e0fa4d10b81414051e1aae8efc22d
2023-04-10 09:20:22 +02:00
Translation updater bot
faa8173d40
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie541a2a6701a64d712245e959a2acfdb142e618e
2023-04-03 09:17:11 +02:00