Commit graph

21415 commits

Author SHA1 Message Date
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
James D. Forrester 6d527b9f0a Replace use of deprecated global URL functions with wfGetUrlUtils()
This is a quick fix rather than the proper DI fix.

Bug: T319340
Change-Id: Iea0d8a6b34aa4aea1c325868365d2bb65fa65eed
2024-08-28 15:10:21 -04:00
Mahmoud Al-Qudsi a9278f654b Fix exception editing cross-wiki redirects
As described in T326169, when editing a (manually created) cross-wiki redirect,
VisualEditor will throw a null dereference exception causing it to fail to load
in the browser (looking like it is just taking forever to load).

This patch prevents the exception from occurring by not attempting to write to
the null object.

Bug: T326169
Change-Id: I50fa803c7b4ce65dac1fe345431d8b8f9d0b3d61
2024-08-28 13:27:09 -05:00
Translation updater bot 471e84a0d9
Localisation updates from https://translatewiki.net.
Change-Id: Ic7ad4140ac4eeded1de5331ad1d57f17b2cd11ca
2024-08-28 09:41:04 +02:00
Bartosz Dziewoński b4fc696ad5 Reattempt save as temporary user only when we were previously anon
…but not when we were previously logged-in. Temporary accounts no
longer leak IP addresses, but it's still not nice to lose attribution
of edits by logged-in users.

Follow-up to 317d6dd724.

Bug: T345975
Change-Id: I24c786c0f060921f773e1d6d1c7463f1cc79aab2
2024-08-27 23:23:11 +02:00
jenkins-bot 24c53a321e Merge "Reattempt save when refreshing temporary user if session expired" 2024-08-27 13:49:58 +00:00
Translation updater bot 9edc3db1ef
Localisation updates from https://translatewiki.net.
Change-Id: Ibee782a169ba7548466f54e321441c0299ecd673
2024-08-27 09:49:07 +02:00
Bartosz Dziewoński c93d4a9695 Allow &veaction=editsource to load 2017WTE regardless of user prefs
Bug: T239796
Change-Id: I0391d44d15763980cfb48b2945bac35e5b08e930
2024-08-26 20:13:36 +02:00
Translation updater bot d9c7c05e32
Localisation updates from https://translatewiki.net.
Change-Id: I5eeb703911cd5914a71d9241be0eb97ebbd4df5c
2024-08-26 09:23:43 +02:00
jenkins-bot 0392462ba3 Merge "build: Update MediaWiki requirement to 1.43" 2024-08-24 20:49:05 +00:00
Translation updater bot ebac60d114
Localisation updates from https://translatewiki.net.
Change-Id: Ib3b161f7d0db89f85d6259796b4c21f16dffaba9
2024-08-23 09:47:37 +02:00
James D. Forrester 07c0ab5a35 build: Update MediaWiki requirement to 1.43
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I58cc6a04628f8b443b7a8ae46752151bbcfd6305
2024-08-22 18:48:21 -04:00
jenkins-bot 69d4d869d8 Merge "tests: Force templateDataInstalled condition for MWTemplateTitleInputWidget" 2024-08-22 19:32:02 +00:00
jenkins-bot eae9fc876a Merge "Edit check: center the text in the proofreading toolbar" 2024-08-22 12:28:14 +00:00
Translation updater bot 31b7db023a
Localisation updates from https://translatewiki.net.
Change-Id: If835daa3817582d7a15d2afff15224515b2b6080
2024-08-22 09:23:20 +02:00
David Lynch 16c2dd919b Edit check: center the text in the proofreading toolbar
Bug: T341308
Change-Id: I5e12cefe690c2b9fba7cd7998a11723931575465
2024-08-22 01:23:27 -05:00
Timo Tijhof 07a132d310 tests: Force templateDataInstalled condition for MWTemplateTitleInputWidget
Change-Id: I730a0e53547d4e7510fcec09905ea98030490c0d
2024-08-22 00:29:16 +01:00
Translation updater bot 55301c4596
Localisation updates from https://translatewiki.net.
Change-Id: Iba58cf8cf9a4e420145a8fd9cbc6b7dbc73ee76d
2024-08-21 09:24:20 +02:00
Translation updater bot 762a5c0ff9
Localisation updates from https://translatewiki.net.
Change-Id: I71885816cfe342b8cba5b6e5d443dbee1f12a859
2024-08-19 09:25:55 +02:00
jenkins-bot fcce9b0b89 Merge "Move edit section colorings to core" 2024-08-17 14:19:55 +00:00
jenkins-bot b54f4ebb28 Merge "Fix getTemplateDataQueryTitle() when the title ends with a newline" 2024-08-16 15:30:57 +00:00
Translation updater bot 34c9961e03
Localisation updates from https://translatewiki.net.
Change-Id: I6c6fc1c5215f7c077b6318a73f9e3667bd1a0a79
2024-08-16 09:30:10 +02:00
Translation updater bot fd15b8b6de
Localisation updates from https://translatewiki.net.
Change-Id: I7c303550e44dd07c1cca634d5f1f8d7f252bff77
2024-08-15 09:21:17 +02:00
Ebrahim Byagowi 84557b6d13 Move edit section colorings to core
Bug: T372436
Depends-On: I691dbef2313e006de4b7d096232c531d81bdd380
Change-Id: If6c606cd6d3816b9286aee0ffd4d96be704521d4
2024-08-14 22:24:00 +03:30
Translation updater bot bc43b809ff
Localisation updates from https://translatewiki.net.
Change-Id: Ic372ec473c68033fd3e24c1665429ce1760f8860
2024-08-14 09:24:10 +02:00
Jamie Kuppens 317d6dd724 Reattempt save when refreshing temporary user if session expired
A notice already appears and informs the user of the visual editor that
they're not logged in if their session has ended. Showing an additional
error dialog informing the editor of this when saving changes is not
needed.

Bug: T345975
Change-Id: I20a904dbc6d3c2f0d08e4ceea27e35ee1b65bb71
2024-08-13 16:33:55 -07:00
Translation updater bot dfb4826617
Localisation updates from https://translatewiki.net.
Change-Id: I6f3866b03f41b31f3ff10084f9b1556bc5c0b72b
2024-08-13 09:52:17 +02:00
Translation updater bot ca1586a6ed
Localisation updates from https://translatewiki.net.
Change-Id: Ic93b15e04deb2e2795d6163d62be4fca9d721522
2024-08-12 09:23:31 +02:00
libraryupgrader d2bcf4a8bf build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
Change-Id: If09c329ac41b2c30a125cf664ad2e0d9fb7ad8be
2024-08-10 16:16:11 +00:00
Bartosz Dziewoński 326b4a2804 Replace deprecated PermissionManager::getPermissionErrors() and friends
Change-Id: Ic217af5f9766ae2d7850597a4aec1a890d58766f
2024-08-09 13:35:29 +00:00
Translation updater bot 459a6e2605
Localisation updates from https://translatewiki.net.
Change-Id: Ie74c95168186a14433fd1c38f5eabe1dbce6366e
2024-08-09 09:37:31 +02:00
jenkins-bot 00e4b4cd65 Merge "Edit check: another counter for the save process" 2024-08-08 08:08:57 +00:00
Translation updater bot b0ac08ecce
Localisation updates from https://translatewiki.net.
Change-Id: I1e36f4ea3f9da58a34b988e331db64eb2a47556c
2024-08-08 09:20:55 +02:00
David Lynch 65b695ea2f Edit check: another counter for the save process
preSaveChecksShown + preSaveChecksNotShown = preSaveChecksAvailable
allowing us to use simple stat counters to detect errors in check
generation.

Follow-up to 57daf35bd6

Change-Id: I0586b766b5beec3bd059c90875ad0e2d1f092fab
2024-08-07 21:01:17 -05:00
Translation updater bot a61c488da8
Localisation updates from https://translatewiki.net.
Change-Id: I388e9c00f613d2cbe35c7261f421b1028ea9f811
2024-08-07 09:24:49 +02:00
Bartosz Dziewoński 4f76d3fef7 Update VE core submodule to master (be8847993)
New changes:
cf83d253d Use safe access (hasOwnProperty) for selection stores
c2ee0773b alphabetize scripts in package.json
3206d1e9e fix jsdoc warning
682a9bc0a Handle right-click-delete in Firefox programmatically
435d81879 ve.dm.TransactionProcessor: Use ve.compare
70cce6bb0 Update OOUI to v0.50.3
227cfd31a i18n: Use localized digits in VE's find and replace dialog
4daaf826f Localisation updates from https://translatewiki.net.
4e34a2b05 Localisation updates from https://translatewiki.net.
a4186823b Localisation updates from https://translatewiki.net.
4d129d953 Update OOUI to v0.50.4
44e1bfb1f Localisation updates from https://translatewiki.net.
79dfba95c Localisation updates from https://translatewiki.net.
4a2e52396 Localisation updates from https://translatewiki.net.
cca20d203 Follow-up 79dfba95ce4: build: Update languages to add 'sjd'
c2c5b7a56 ve.ui.AuthorItemWidget: Fix color picker
9b5f854b6 Localisation updates from https://translatewiki.net.
62cbcaf56 Localisation updates from https://translatewiki.net.
b03c13815 Localisation updates from https://translatewiki.net.
be8847993 Localisation updates from https://translatewiki.net.

Bug: T220629
Bug: T368198
Change-Id: Ib2b1a5db75598f7cf627e6fbaf0c19f53b49c925
2024-08-06 23:48:17 +02:00
Translation updater bot ee0f32d8e9
Localisation updates from https://translatewiki.net.
Change-Id: I3d5480b275d33446255a151a9b906daf7041f622
2024-08-06 09:49:26 +02:00
jenkins-bot c3e7d584e5 Merge "Reenable Cite-related test" 2024-08-05 08:10:00 +00:00
Translation updater bot f0f1623051
Localisation updates from https://translatewiki.net.
Change-Id: I651b9daca7ca198b3cf4606692438787ab357ad3
2024-08-05 09:26:07 +02:00
Ebrahim Byagowi 5c798b0eea Move editsection bidi isolate to MediaWiki
MediaWiki needs this even without VisualEditor so let's move it there.

Bug: T371702
Depends-On: I4dcfa3916a07e92565b5667adb2ead0115fdb438
Change-Id: I0562ea1e5bd28eabd3ef0bcd8372155da67bcd0c
2024-08-02 18:52:54 +03:30
jenkins-bot 48d5697d0a Merge "Define brackets spacing in a direction aware way" 2024-08-02 10:57:36 +00:00
jenkins-bot 0a25668ff6 Merge "Don't set direction for editsections" 2024-08-02 10:53:17 +00:00
Ebrahim Byagowi 0f85b14328 Define brackets spacing in a direction aware way
This also resolves the bug but it hides the underlying issue on it
that's why I like to have this but after having
Ia7dd8076c8789ed04d3fb52a078c70561ee5c6f8

Bug: T371665
Change-Id: I7340829acbd2bf3fcccfb631848964e5338470b0
2024-08-02 11:30:27 +03:30
Translation updater bot ae0d9ee102
Localisation updates from https://translatewiki.net.
Change-Id: Iddbf7d403cffa79a3987e01ed711d28375bedf5b
2024-08-02 09:41:27 +02:00
Ebrahim Byagowi 6965da7012 Don't set direction for editsections
This causes editsection to jump

Bug: T371665
Change-Id: Ia7dd8076c8789ed04d3fb52a078c70561ee5c6f8
2024-08-02 11:09:45 +03:30
David Lynch 57daf35bd6 Edit check: some simple counters for steps in the process
Change-Id: Iac0faea1f06eb30ac075a702cdcaaec29e0fbaf0
2024-08-01 11:21:46 -05:00
Translation updater bot 31bd3f00cd
Localisation updates from https://translatewiki.net.
Change-Id: I1a3897fd10a54f11e8eed9f13a6695fc1b7b6d09
2024-08-01 09:19:10 +02:00
Translation updater bot 94969b054b
Localisation updates from https://translatewiki.net.
Change-Id: Ia017745170b8464df7c943386113a4e274bcd804
2024-07-30 09:45:00 +02:00
libraryupgrader 922cb42392 build: Updating fast-xml-parser to 4.4.1
* https://github.com/advisories/GHSA-mpg4-rc92-vx8v

Change-Id: I4e2f6ba6c8dc72dabc2fcf8cbc3ee8e4bac09e0d
2024-07-30 04:34:16 +00:00
Translation updater bot a0d1ea7cd9
Localisation updates from https://translatewiki.net.
Change-Id: I3f976325bd1ceacb108358e08312a88f4a1125e2
2024-07-29 09:29:05 +02:00