Andrew Kostka
21e9f5f0c4
Make the sidebar in the transclusion dialog responsive
...
Bug: T274554
Change-Id: I51e988e6fb0e50c9d542400471152807626539ea
2021-08-05 17:23:22 +02:00
Andrew Kostka
2f1cfdd187
Cleanup feature flags in ve.ui.MWTransclusionDialog
...
Change-Id: I6f6326c981da998b547a2a1990e26185763093ca
2021-08-05 17:00:27 +02:00
Thiemo Kreuz
3e5a2d6c82
Filter right content side of the template dialog as well
...
I came up with a new event to do this. This event is triggered
individually for each parameter. An alternative is a single
event that gets a list of visible parameters. Is this better?
What do you think?
Bug: T288202
Change-Id: Ia44da16917c28171a01aef0f1c613dcd5d3266ba
2021-08-05 14:36:10 +02:00
jenkins-bot
fce48b0958
Merge "Split MWTransclusionModel methods to do one thing only"
2021-08-05 10:32:18 +00:00
Thiemo Kreuz
87410aaa7d
Reduce deep nesting in ve.dm.MWTransclusionModel
...
This is split from I8fa47ed. I believe these changes are
non-controversial.
Change-Id: I3c5d4e1867ee0f53736f55fb7c6f27ad8d304596
2021-08-05 10:59:22 +02:00
Thiemo Kreuz
f37814ba61
Rename ambiguous "add button" click handlers
...
Change-Id: I25fd1430443feffcc3fb17115dc4129890063c48
2021-08-05 10:51:26 +02:00
Thiemo Kreuz
0351537ba2
Hide old sidebar when the new one is enabled
...
This is – for now – intentionally done in a way that can be
undone. This will still be helpful for debugging for a while.
But we need to get rid of the duplication to be able to make
this new functionality visible on the beta cluster.
Actual removal will hapen the moment we actually remove the
old toolbar. There are already tickets for this.
Bug: T286765
Change-Id: I842c3c39a55a273af20643fa8a602d2e57fb6b8c
2021-08-05 09:14:40 +02:00
Thiemo Kreuz
5e2a898459
Don't offer deprecated parameters when they aren't used
...
This affects only the new sidebar. Deprecated parameters don't
get a checkbox, except they are used already. "Used" includes
parameters that are present, but empty.
Bug: T274551
Change-Id: I6ebd020d02650c19060345d13495373acab363df
2021-08-04 16:34:54 +02:00
Translation updater bot
0acf57904d
Localisation updates from https://translatewiki.net .
...
Change-Id: I8967bc09f0c762dc22773d493b4124bd02fa3a6d
2021-08-04 08:15:28 +02:00
jenkins-bot
21d9f533c8
Merge "Avoid conflicts between 2017 wikitext editor and DiscussionTools new topic tool"
2021-08-03 16:14:18 +00:00
jenkins-bot
cf17a1f191
Merge "Remove tooltip from template dialog title"
2021-08-03 15:29:10 +00:00
Thiemo Kreuz
920550560d
Remove redundant ve.dm.MWTemplatePlaceholderModel.isEmpty
...
This method already exists in the ve.dm.MWTransclusionPartModel
base class where it does the exact same.
Bug: T274551
Change-Id: I19d5914ed9b4b435c83ea4d64019bc46ce1ce8fd
2021-08-03 14:40:50 +02:00
jenkins-bot
7ef4fdc0c2
Merge "Revert "Hide deprecated parameters if they don't have a value""
2021-08-03 08:42:35 +00:00
Thiemo Kreuz (WMDE)
8d9b4526c6
Revert "Hide deprecated parameters if they don't have a value"
...
This reverts commit 0d4dee341b
.
Reason for revert: This made it entirely impossible to add a
deprecated parameter, even if done intentionally. Needs more tests.
Bug: T274551
Change-Id: I7389bad0845cd1ce78f9d7ef71592cb1ce2a063e
2021-08-03 08:24:24 +00:00
Translation updater bot
553f5238e6
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaebf94b3ea940cc0c265ee29bed5cf51b77e6826
2021-08-02 08:37:43 +02:00
Translation updater bot
80b3f6889c
Localisation updates from https://translatewiki.net .
...
Change-Id: I98f464b5e69a045e7e6ecf4adf72d9e27b6cc69d
2021-07-30 08:28:11 +02:00
jenkins-bot
e57daaad98
Merge "Minor JSDoc documentation fixes in template dialog code"
2021-07-29 12:13:17 +00:00
Translation updater bot
d3a313b4fe
Localisation updates from https://translatewiki.net .
...
Change-Id: Ife2264141ac16cabb04e6d9250577d633ff0097e
2021-07-29 08:45:27 +02:00
jenkins-bot
c7274acf80
Merge "Remove skinning modules when showing preview"
2021-07-28 19:35:42 +00:00
jenkins-bot
8102c3cc36
Merge "Move abort event tracking from the start to the end of the teardown process"
2021-07-28 16:59:03 +00:00
Arlo Breault
2fd09aaba3
Remove skinning modules when showing preview
...
Bug: T185284
Change-Id: Ifec8809cd75cb76c79936a69351be0c7779de39e
2021-07-28 10:55:16 -04:00
Bartosz Dziewoński
ec3341c9a1
Avoid conflicts between 2017 wikitext editor and DiscussionTools new topic tool
...
They both want to handle the same URLs. If we detect that
DiscussionTools new topic tool will open, then do not open 2017
wikitext editor.
Bug: T282204
Change-Id: Ic7dd677ea219938969f60bab91387c2e03ebdbe6
2021-07-28 16:10:22 +02:00
Translation updater bot
11f6f06f3e
Localisation updates from https://translatewiki.net .
...
Change-Id: Icf8e71fd90981f3983757cf8aa175105a5c44d8c
2021-07-28 08:21:23 +02:00
jenkins-bot
98aeab538b
Merge "MWInternalLinkAnnotationWidget: show disambiguation pages last"
2021-07-28 03:00:52 +00:00
MusikAnimal
4fbab29e22
MWInternalLinkAnnotationWidget: show disambiguation pages last
...
Disambiguation pages are rarely the page users intend to link to,
especially with newbies. By moving the disambig page(s) as the last
result, the user is more likely to pick the page they actually intended
to link to.
Bug: T285510
Depends-On: I2b8545f6dd4849629037f81f48a540748e60da83
Change-Id: Id55a19e7665d8f88559c471de36e5447fb2babb0
2021-07-27 18:36:50 -04:00
Bartosz Dziewoński
6dc9b55b21
Move abort event tracking from the start to the end of the teardown process
...
Bug: T237063
Change-Id: I66869f8a84692e6fbe00373460449714cc722084
2021-07-27 22:50:52 +02:00
jenkins-bot
632d83aa8d
Merge "Fix rare exception when editor loading is aborted"
2021-07-27 17:27:30 +00:00
Bartosz Dziewoński
995644de88
Fix rare exception when editor loading is aborted
...
If editor loading was aborted while the surface was already being set up,
this code would cause the following exception:
Uncaught TypeError: Cannot read property 'tools' of null
Introduced in c02c529537
(2017) because
our coding conventions at the time demanded that all `var` statements
must appear at the beginning of a function.
Bug: T287487
Change-Id: Id657d6f1e1189c17ede25362f145bb7b10f441db
2021-07-27 17:40:13 +02:00
Translation updater bot
8b809794cd
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia7bdf54324026eb4955787ae339e158228bfe3e3
2021-07-26 08:12:53 +02:00
jenkins-bot
e36d67cf75
Merge "Hide deprecated parameters if they don't have a value"
2021-07-23 11:04:17 +00:00
Translation updater bot
c1a17af6e4
Localisation updates from https://translatewiki.net .
...
Change-Id: Iddacac19f760eb30b038da20673155502ea06e90
2021-07-23 08:08:48 +02:00
Andrew Kostka
0d4dee341b
Hide deprecated parameters if they don't have a value
...
Bug: T274551
Change-Id: I6bfceae2579a5bcedae9da7eb5326fe8f60ea7c0
2021-07-22 12:24:57 +02:00
Translation updater bot
8eeaabd05d
Localisation updates from https://translatewiki.net .
...
Change-Id: I467f78f1a03418f3d9e8d6b11cbdb4b901645775
2021-07-22 08:13:42 +02:00
libraryupgrader
30b68f3a74
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0
npm:
* postcss: 7.0.35 → 7.0.36
* https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.1 → 5.1.2
* https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 1.0.0 → 3.0.1
* https://npmjs.com/advisories/1753 (CVE-2021-33623)
Change-Id: Ia15aa76cb4abbfe42215532edf52b08c75f72034
2021-07-21 19:56:36 +00:00
jenkins-bot
d37cde0de0
Merge "Dynamically set the visibility of the sidebar search"
2021-07-21 12:41:26 +00:00
jenkins-bot
3d80b759b4
Merge "Don't reset the sidebar search field if the search widget is undefined"
2021-07-21 11:30:29 +00:00
Translation updater bot
adfe5c7c70
Localisation updates from https://translatewiki.net .
...
Change-Id: I54a7dbf2157568e6d16ba5b6003a3ea28bc42da3
2021-07-21 08:06:04 +02:00
Andrew Kostka
ef33a908a0
Dynamically set the visibility of the sidebar search
...
With this users can also filter undocumented parameters
that they added to an empty starting template.
Bug: T272481
Change-Id: I99adb38b0ae4d4ade91fcb506f10c0222b9bb5e8
2021-07-20 13:11:08 +02:00
Andrew Kostka
6cec42f8dc
Don't reset the sidebar search field if the search widget is undefined
...
Bug: T286987
Change-Id: I66116ea08d4682e179e9eb70d117454194e3517d
2021-07-20 12:08:00 +02:00
Translation updater bot
951f025b1d
Localisation updates from https://translatewiki.net .
...
Change-Id: I2fab4aa94b253d84a3dbb89562efdcec5aec537d
2021-07-20 08:21:12 +02:00
Bartosz Dziewoński
12c7084b46
Update VE core submodule to master (b54bff109)
...
New changes:
6cbd167ab Localisation updates from https://translatewiki.net .
74ebef479 Localisation updates from https://translatewiki.net .
599e63855 Localisation updates from https://translatewiki.net .
42666fbef Typo fix: "the the" -> "the"
b54bff109 Localisation updates from https://translatewiki.net .
Bug: T201491
Change-Id: Ia5fe3a1f0e21ff95224f35b0eb75eb21a6d4cba5
2021-07-19 23:49:40 +02:00
Translation updater bot
cd9b0ccc0d
Localisation updates from https://translatewiki.net .
...
Change-Id: I6982972fc6fe4314a30f0c2720963b016e2cdd20
2021-07-19 08:16:43 +02:00
Andrew Kostka
d44bc19d20
Adjust the styling for the template parameter search
...
Bug: T272481
Change-Id: Ie1c6b95cf32640401cb2a17bcda656a40a22e9b4
2021-07-16 18:03:48 +02:00
jenkins-bot
d738698deb
Merge "Fix incomplete back button implementation in template dialog"
2021-07-16 14:41:07 +00:00
jenkins-bot
317b78782e
Merge "Make it possible to reuse existing transclusion outlines"
2021-07-16 14:25:24 +00:00
jenkins-bot
4cb9b05668
Merge "fix order of sidebar elements"
2021-07-16 14:15:16 +00:00
Svantje Lilienthal
2f4e73d6ed
fix order of sidebar elements
...
Bug: T272481
Change-Id: Ifd925bd6e8b972fd5d4e851c3a39a91aeac97d43
2021-07-16 15:10:56 +02:00
jenkins-bot
18a18bc825
Merge "Fix incomplete template dialog event handling in new sidebar"
2021-07-16 13:07:03 +00:00
Thiemo Kreuz
014bc9369c
Fix incomplete back button implementation in template dialog
...
Bug: T286783
Change-Id: Ie86e2c8c6a874fde11591286a83faba71a34430d
2021-07-16 14:54:09 +02:00
jenkins-bot
575d4a8376
Merge "Fix ellipsis on long strings in parameter search widget"
2021-07-16 12:48:53 +00:00