Commit graph

21414 commits

Author SHA1 Message Date
jenkins-bot 87e0a960ab Merge "Fix "target is undefined" exception when loading fails" 2024-10-08 13:18:28 +00:00
Translation updater bot 5e5de7f714
Localisation updates from https://translatewiki.net.
Change-Id: I04a501c50603dfbbcb275c25606e094f9c10e6d1
2024-10-08 09:45:33 +02:00
Bartosz Dziewoński 365cefa878 tests: Use real mw.Api in ve.ui.MWTemplateTitleInputWidget tests
Otherwise the changes to mw.widgets.TitleWidget in
Iec338e9f595b452c19ce8e74eb81339fbce11640 cause the test to fail.
To avoid making real API requests, use fake server instead.

Change-Id: I7ff705af79760e33200a2dfbfdd05138c18bb110
2024-10-07 19:24:43 +00:00
Bartosz Dziewoński e6f1698bcb Fix "target is undefined" exception when loading fails
When loading the editor fails, getTarget() should return a rejected
promise. However, the rejection handler that logs the loading error
also accidentally converted the promise to a resolved one.

The easiest way to reproduce is to enable offline mode in your
browser's developer tools, then click "Edit".

Change-Id: Icf6ea14f4d4e3afcb6608f4c0c49b76c297bf9a3
2024-10-07 19:24:43 +00:00
Translation updater bot 79ead8b5a8
Localisation updates from https://translatewiki.net.
Change-Id: If4f2dd912f31a8756f5ac117572cfb2eb80a9d46
2024-10-07 09:27:07 +02:00
jenkins-bot e9edcd8309 Merge "Get attached node from document model, instead of surface" 2024-10-06 20:56:07 +00:00
Translation updater bot 500a51114d
Localisation updates from https://translatewiki.net.
Change-Id: I2d243f7eb5b8eccaba871b43e9268b987758d575
2024-10-04 09:22:02 +02:00
Translation updater bot d24a90702c
Localisation updates from https://translatewiki.net.
Change-Id: Ib81cb1fecf7b9242a5c212eda7eb0595fa5e52e8
2024-10-02 09:25:00 +02:00
Ed Sanders 365950cbe6 Get attached node from document model, instead of surface
Change-Id: I37b3dfeabe7666878884d21113f928691363a39a
Depends-On: I813c341cb1a0751443880d2e05aa209d3d973a00
2024-10-01 15:01:43 +00:00
Ed Sanders 1c679fdbd1 Update VE core submodule to master (5229fb578)
New changes:
d17fb0017 Localisation updates from https://translatewiki.net.
6dc0db5eb Move attachedRoot from surface model to document model
86958d150 Find-and-replace: Add searchRange parameter
5229fb578 Follow-up I0837beaf9: findText: Ensure options exist before accessing

Change-Id: I4c6665ef8facb7e3032520df9fe93a38b7709edc
2024-10-01 16:00:51 +01:00
Bartosz Dziewoński 64a408efb0 Separate tag help links from their labels
This makes translation easier and improves how the tags are displayed
in the recent changes / watchlist filtering interface.

Renamed messages:
* editcheck-falsepositives-link → tag-editcheck-references-activated-helppage

Depends-On: I67295d82f6eb866aa380eba1966c1c9dd75653e1
Bug: T372175
Change-Id: I6118416771b8e4cb3c27a25a158aab7dc9af5e4b
2024-10-01 15:51:09 +02:00
Translation updater bot fe3d2b457a
Localisation updates from https://translatewiki.net.
Change-Id: I7804aeed18c061bb169837ad90316be5430ee3bb
2024-10-01 09:38:43 +02:00
Translation updater bot 18de13e305
Localisation updates from https://translatewiki.net.
Change-Id: Ic9c246a2441b59e0baf24b46d4155536288bec47
2024-09-30 09:22:12 +02:00
Translation updater bot d169193089
Localisation updates from https://translatewiki.net.
Change-Id: I928095d5f59552eadf0d5f52ad8dfafb0a7c1163
2024-09-27 09:19:58 +02:00
Ed Sanders 64e157385b Update VE core submodule to master (5a0396522)
New changes:
8e53dbd2b Use speechBubbleNotice icon for CommentNode
ed9e2d8c1 Follow-up I4e7b8593: Use new icon for "Comment" toolbar tool, and add variants
eb375420f Grunt: Lint hidden js files
f62b8f45e build: Updating body-parser to 1.20.3
62a061017 Localisation updates from https://translatewiki.net.
4c4d83181 Localisation updates from https://translatewiki.net.
685f73b4e Localisation updates from https://translatewiki.net.
b64549a86 Update OOUI to v0.51.1
5a0396522 Localisation updates from https://translatewiki.net.

Added files:
- src/ui/styles/ve.ui.icons.less

Bug: T374200
Bug: T374858
Change-Id: Ib7cccaddeede3e7e181f17fb6ddba8239ed1d2d6
2024-09-26 14:49:38 +01:00
Translation updater bot 229b69c45a
Localisation updates from https://translatewiki.net.
Change-Id: I1564a7c551e6a121c97c6dc232c090a52b079ed9
2024-09-26 09:20:44 +02:00
Translation updater bot 9b12858293
Localisation updates from https://translatewiki.net.
Change-Id: I6117b6706064606f2b9381607591f132f9e07250
2024-09-25 09:18:57 +02:00
Translation updater bot 99f80d55ce
Localisation updates from https://translatewiki.net.
Change-Id: I4729e0fa9a8e1f32d5fb0e1779ff38e83b6b0d07
2024-09-24 09:30:23 +02:00
Translation updater bot 960f19caeb
Localisation updates from https://translatewiki.net.
Change-Id: I1848648a69cd2fe0103c948489727a74ef4dceec
2024-09-23 09:22:58 +02:00
Translation updater bot 61122bc20a
Localisation updates from https://translatewiki.net.
Change-Id: Ic707a91d4953b77f8f30ea43ff53ef6f2a36deda
2024-09-20 09:24:22 +02:00
David Lynch 3b324983c0 Fix a reference to AbuseFilter that should be Abuse Filter
This stopped link reliability from being checked on wikis that only had
Abuse Filter enabled.

Follow-up to e6e104dda5

Change-Id: Ie0045e75633713ad9d529bec647471b2ca0137d3
2024-09-19 09:25:43 -05:00
Translation updater bot 907c7cb941
Localisation updates from https://translatewiki.net.
Change-Id: I89ee792cd8e4b2d029d7f52641c12212ac109aa3
2024-09-19 09:18:50 +02:00
David Lynch 0c91e1795c Edit check: only count ChecksAvailable after the check for source-mode
Change-Id: I96091963af56a40d94445d7b65eb5c35326d0403
2024-09-18 10:26:50 -05:00
Translation updater bot a9c91ac78f
Localisation updates from https://translatewiki.net.
Change-Id: Iebf67bf217ded268c916f4a8d15ae9d2a2a81b6a
2024-09-17 09:29:54 +02:00
John Bolorinos 4c3710c035 selenium: Document when, how and why a test is skipped
Bug: T280652
Change-Id: I04539a8fe9d0bcab43eeebaa1cc89f011b711376
2024-09-16 15:02:31 +02:00
Translation updater bot 038b644186
Localisation updates from https://translatewiki.net.
Change-Id: Ib8a8b1c57c3c49090ef31284f809911b6a14bb67
2024-09-16 09:28:41 +02:00
Translation updater bot 1c303b7e77
Localisation updates from https://translatewiki.net.
Change-Id: Idd22fe5d3bd856a4ea920e758a1d6a06fbb21399
2024-09-13 09:18:43 +02:00
Translation updater bot 7ad03b6a53
Localisation updates from https://translatewiki.net.
Change-Id: I179094890e4398472487d774bbd3a2d2b89b326a
2024-09-12 09:18:33 +02:00
Translation updater bot 5b170c6cef
Localisation updates from https://translatewiki.net.
Change-Id: I50619c47949c442262d956da4de4fb66e04f314c
2024-09-11 09:21:20 +02:00
Translation updater bot c6a52ab2a4
Localisation updates from https://translatewiki.net.
Change-Id: I8f2a57fdc2136b42c5cce7ec87ce0705a04a72a6
2024-09-10 09:30:56 +02:00
Bartosz Dziewoński cc18b8079c Update VE core submodule to master (54906000a)
New changes:
643831c6f Localisation updates from https://translatewiki.net.
803994396 Localisation updates from https://translatewiki.net.
2bf861274 Localisation updates from https://translatewiki.net.
81b8bec05 build: Update languages to add 'iba'
760cc03b0 Update jquery.uls.data (language autonyms)
1b3c2723c Remove unnecessary vendor prefix
28549dec0 Keep nails transparent when selected
62591b860 build: Updating micromatch to 4.0.8

Bug: T373868
Bug: T374308
Change-Id: I0f0e4dafff25a7015b8db39d6576216f23416c76
2024-09-09 22:27:01 +02:00
David Lynch 709e791acd Edit check: let ecenable bypass the account age requirement
Clean up accountShouldSeeEditCheck since nothing is calling it but the
new method inside BaseEditCheck

Follow-up to e947e53f98

Change-Id: Ic55187bb77f5ef003369313b76a65897fb3be392
2024-09-09 10:52:50 -05:00
jenkins-bot b19679e381 Merge "Edit check: stop from appearing outside the main namespace" 2024-09-09 13:29:48 +00:00
jenkins-bot 6125b965e7 Merge "Update VE core submodule to master (8bac83777)" 2024-09-09 13:17:58 +00:00
Translation updater bot 3dbeb7f4ae
Localisation updates from https://translatewiki.net.
Change-Id: Idaa94c3ee8592df8d6756fd9ab6c0c3cadc8e3a9
2024-09-09 09:23:26 +02:00
Ebrahim Byagowi 4330014577 Avoid use of deprecated wfGetUrlUtils
Change-Id: Ica961fd161898292f0bfe33c1980329ca548c680
2024-09-08 09:55:09 +03:30
Bartosz Dziewoński d9a99e89a2 Update VE core submodule to master (8bac83777)
New changes:
8a5b36cd2 Localisation updates from https://translatewiki.net.
15cb24580 Localisation updates from https://translatewiki.net.
1ec0304ef Localisation updates from https://translatewiki.net.
e9f9f3f51 Localisation updates from https://translatewiki.net.
8bac83777 Localisation updates from https://translatewiki.net.

Change-Id: Id346e2a99c7b6b681129051e0bca55ae4d354f5b
2024-09-06 22:32:29 +00:00
Translation updater bot 076f27a0fc
Localisation updates from https://translatewiki.net.
Change-Id: I6e2ab7152af61b57d8896a997edf66d47fc0e3b8
2024-09-06 09:40:46 +02:00
Ed Sanders cefa56ecb9 Use fixed font size for UI componenets in Vector 22
Use rem's to set the font size of the toolbar and local/global
overlays, as the font size is now variable in that skin.

Bug: T373875
Change-Id: Ib2511debd01dbc0cf03ff6d92cd9bfe71078c387
2024-09-05 11:21:08 +01:00
Translation updater bot 33182de13e
Localisation updates from https://translatewiki.net.
Change-Id: Ic31aa69079694187a727f3821de37abe83cf0a8c
2024-09-05 09:25:55 +02:00
David Lynch e947e53f98 Edit check: stop from appearing outside the main namespace
This was accidentally removed in d69d366469 during its refactor.

Because of the change to how checks are decided to be shown, I've made
AddReferenceEditCheck always be required -- later code in
hasAddedContentNeedingReference assumes that it's loaded anyway, so a
wiki deciding to configure it to not load at all for some account types
would have broken saving.

Bug: T373692
Change-Id: I007cd705451581ebacfa12e8ac5502bd1bc56a38
2024-09-04 10:33:22 -05:00
Ed Sanders ac652a2e36 MWGalleryItemWidget: Remove unnecessary event argument
Listeners will already know which object emitted the event.
Currently this event is used once as a aggregate event,
(as 'editItem' in the ve.ui.MWGalleryGroupWidget constructor)
in which case the emitting object is already prepended as the
first argument (as documented in OO.EmitterList.prototype.aggregate).

Change-Id: I490f368af8e9cae60eacac918bf83702999f705b
2024-09-04 10:58:06 +01:00
Translation updater bot 5a781dc3c8
Localisation updates from https://translatewiki.net.
Change-Id: I52e344a4fc22881ed095be0a4a89868c425c3613
2024-09-04 09:17:09 +02:00
Translation updater bot d04e86c780
Localisation updates from https://translatewiki.net.
Change-Id: I3c2e8d837b777be7c977070e5317fea359bef75d
2024-09-03 09:33:58 +02:00
Translation updater bot d29293e043
Localisation updates from https://translatewiki.net.
Change-Id: I2417fa6f554a48aeadc0164ea856a15257d1c8e6
2024-09-02 09:21:51 +02:00
libraryupgrader e58ca67d8c build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: I4761a8fed5ca2241036f4e065a733a39f2462630
2024-08-31 09:05:56 +00:00
Translation updater bot dedd30bfef
Localisation updates from https://translatewiki.net.
Change-Id: I103ce5ad2adc11b48a2d7ed8ea72e4e892dc6b9f
2024-08-30 09:20:39 +02:00
jenkins-bot f363c943cc Merge "Allow &veaction=editsource to load 2017WTE regardless of user prefs" 2024-08-30 06:20:42 +00:00
jenkins-bot 1b777d45e0 Merge "Fix exception editing cross-wiki redirects" 2024-08-29 22:54:21 +00:00
C. Scott Ananian c026712a40 Ensure page is reloaded after edit using Parsoid if appropriate
This passes the option to ApiParse which will ensure that it uses
the ArticleParserOptions hook so that the parser options used after
reload match the ones originally used to render the article.

Bug: T373212
Depends-On: I906affc8d2335b7bb48dff3a4b061fcf86b71cee
Change-Id: I18147254f1ac5f08a57e85eb2f031df7701dccef
2024-08-29 11:41:18 -04:00