gerritbot
3d34307f87
Update StaticUserOptionsLookup's FQN
...
User-options related classes are being moved to
the MediaWiki\User\Options namespace in MediaWiki Core;
reflect that change here.
Bug: T352284
Depends-On: I42653491c19dde5de99e0661770e2c81df5d7e84
Change-Id: I22ff2effcf9b7f2162f5d57608d8ec3651b48dd7
2023-11-29 17:55:07 +00:00
gerritbot
c26cc4fa44
Update UserOptionsLookup's FQN
...
User-options related classes are being moved to the MediaWiki\User\Options namespace in MediaWiki Core; reflect that change here.
Bug: T352284
Depends-On: I9822eb1553870b876d0b8a927e4e86c27d83bd52
Change-Id: I04337d15d32c1e8bdfdcfa272f1750ffecc8e47e
2023-11-29 12:38:22 +00:00
Translation updater bot
f8967415a8
Localisation updates from https://translatewiki.net .
...
Change-Id: I191f8a688ccf3b2085d9d993265f304da45d5085
2023-11-29 08:30:38 +01:00
Subramanya Sastry
f267635b48
Update tests to match update to <gallery> output in core
...
Depends-On: I5039c7ef9e07199c256fd568b4f94714e5831d17
Change-Id: I69776da432eeca134785329d424d310fb506bce6
2023-11-27 18:09:03 -06:00
Subramanya Sastry
4929e015d1
Temporarily disable test to allow us to make changes in core
...
* Needed by change I5039c7ef9e07199c256fd568b4f94714e5831d17
Change-Id: Ieeb6b98afc74595a928bd141889486acfc9eb346
2023-11-27 18:07:35 -06: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
C. Scott Ananian
d07d6affd9
Use DOMCompat::getAttribute() instead of Element::getAttribute()
...
This uses semantics consistent with the DOM spec (and any future
spec-compliant PHP DOM library, like Dodo or a native one bundled
with PHP). It also helps avoid certain classes of errors caused
by conflating empty-string values and missing attributes.
A number of minor bugs have been fixed in the process, mostly
involving the string value "0" (and similar) which are falsey
and thus were sometimes treated the same as a missing attribute.
The API for MediaStructure was slightly tweaked to conform to
this "return null for missing attribute" convention.
No one outside Parsoid appears to use MediaStructure yet:
https://codesearch.wmcloud.org/search/?q=MediaStructure
And Parsoid itself doesn't usethe MediaStructure::get* methods
which were tweaked here.
This patch squashes (and replaces):
Ib272bd2a9a2da06efc4a4d962cd191107a70f84c
Iae47c9f3c80f1642426ef985f1af6b44a9c807fb
Ic3a43516e2a0c9bbd62f9519e5663b545fd975e7
I7c45552a21ba49c76b1fc56f023d7937d9f41340
Ic231a53dba9527c6b811cba990ae35f7fc7bf153
I5209338d221ebf738a505d85fe1a019ea621fcc5
Icb6b13c2b49edb3cd725999f09f8cb7e3a4c0f99
I7eca3e616a66cac5b2a792435889cced2e2c9cd9
Change-Id: I11e7efb546c8cf1aac6b49c3361aacbd4eb5cef1
2023-11-22 14:04:11 -05:00
jenkins-bot
3462165a56
Merge "Update tests for PHPUnit 9.6"
2023-11-22 15:00:02 +00:00
Translation updater bot
eb2bd5ff15
Localisation updates from https://translatewiki.net .
...
Change-Id: I64d02118866e006a197e094f827696f3dc014573
2023-11-22 08:19:39 +01:00
Daimona Eaytoy
c71109b97b
Update tests for PHPUnit 9.6
...
- Avoid withConsecutive()
Bug: T342110
Change-Id: Icb951b461c5e6ea1ced2ab8a183c53265d4a2b4f
2023-11-22 00:15:20 +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
Translation updater bot
5e61c88f7c
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia465e62e7bcd69f908e4b10449cb3249574987dd
2023-11-13 08:40:32 +01:00
thiemowmde
67bbfe58ad
Drop obsolete PHP 7.2 "arrayToObject" workaround
...
According to T228346 and T254519 this is a workaround for a PHP 7.2
bug. We require PHP 7.4 by now.
Not used anywhere outside of this codebase:
https://codesearch.wmcloud.org/search/?q=PHPU%5Cw*%3A%3AarrayToObject&files=%5C.php%24
Bug: T254519
Change-Id: I4150900e59c5bd865ce102417ac354a54552e623
2023-11-11 21:26:22 +00: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
e7d3dec076
Document some generated messages
...
Change-Id: Id9c961f322c2f3730f29345da9ba61196243df5a
2023-11-08 12:07:50 +00: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
thiemowmde
4584c6d2b5
Add fast helper method DOMUtils::hasClass
...
While this is not really a bottleneck (usually the list of classes
is short) I was still curious. Why create an object, explode a
string into an array (even using a regex) and search the array if
we can do the same with a single regex?
This will be beneficial for other codebases, notably
DiscussionTools.
Change-Id: If9252a97562542e7a4bec29edcc6e8dee0fb8221
2023-11-03 21:27:01 +00: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
jenkins-bot
0daea7ed38
Merge "Remove closure in JavaScript files"
2023-10-30 20:53:31 +00:00
Translation updater bot
b5e9632406
Localisation updates from https://translatewiki.net .
...
Change-Id: I5517aa23c58d76660b81254d522c716828e4d994
2023-10-30 17:58:55 +01:00
Translation updater bot
228b7371ea
Localisation updates from https://translatewiki.net .
...
Change-Id: I478250979b670a8164584a9636c8ca6cbe166348
2023-10-27 09:19:45 +02:00
Fomafix
96fad3ea99
tests: Use $this->getServiceContainer()
...
Use
$this->getServiceContainer()
instead of
MediaWikiServices::getInstance()
in tests.
Change-Id: I5e56524b85ba6e34cecffba2f24fb44b3f66ec8f
2023-10-26 19:59:14 +00:00
Translation updater bot
bac8c8af79
Localisation updates from https://translatewiki.net .
...
Change-Id: I2d12c317232f316e2ce1e4231be92e297d123a88
2023-10-26 11:03:31 +02: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
740169b70c
Localisation updates from https://translatewiki.net .
...
Change-Id: I07600d76f606c19bd881fa1bfb06243f4deb2025
2023-10-25 09:01:57 +02: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
20a74c772e
Localisation updates from https://translatewiki.net .
...
Change-Id: I7248f93870f536f62f878f9008561c2f1117a4e7
2023-10-20 09:19:28 +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
Umherirrender
2d6868cfe3
Use the expression assignment operator to simplify code
...
Suggested by phan, available since php7.4
Change-Id: If31fdd7174cf71d346e4080a70fa302bb3378745
2023-10-14 00:49:13 +02:00
jenkins-bot
5c8927d62d
Merge "Remove unnecessary $() callback"
2023-10-10 15:04:38 +00:00
Fomafix
38b208b1cc
Remove closure in JavaScript files
...
In this JavaScript files the closure is not needed to prevent
declarations of functions and variables in the global scope.
Change-Id: I169a74c69a5e00b86fbcc9f56886a3c4157ebd0f
2023-10-10 09:00:00 +00:00
Fomafix
21ceb98b74
Get context directly from $editpage
...
Change-Id: I9be4b9fb6016dea86f1cfa3893b69e2c92ac6c94
2023-10-10 07:27:29 +00:00
Fomafix
87beb87ea5
Remove unnecessary $() callback
...
The hook 'wikiEditor.toolbarReady' gets fired after DOM ready.
Change-Id: Ic503c3dffcaa4301b3a3b2ab95fd3a5b4f8e7e88
2023-10-10 05:25:31 +00:00
Translation updater bot
5d0eaf7430
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifc18aa150892b54ce135fcba0f0f35549b78d9de
2023-10-09 08:55:35 +02:00
C. Scott Ananian
dadeca74b5
Proper class type for DataMw
...
Slowly inch toward replacing the plethora of `stdClass` in the
Parsoid port with proper types. The new classes could use additional
documentation of the various properties, but this is a start.
Bug: T226428
Change-Id: I87e73243203145b4067e70b0fa9e30da054fe1ed
2023-10-03 17:38:25 -04: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
41c496af38
Localisation updates from https://translatewiki.net .
...
Change-Id: Iacf711b1bc5e39023a45487fa1736507659ca0e1
2023-09-27 09:19:45 +02:00
Translation updater bot
b9ccbb932c
Localisation updates from https://translatewiki.net .
...
Change-Id: I549b165a33cf5999c5b38284b06ba2df6846c440
2023-09-25 08:45:56 +02:00
WMDE-Fisch
f97aad41f7
[build] Bump wdio-mediawiki to v2.3.0
...
Change-Id: Ifcc22478c54fe17e1c8478e7cf2fb02d3f643325
2023-09-22 16:01:56 +00:00
Translation updater bot
79db686d52
Localisation updates from https://translatewiki.net .
...
Change-Id: I7287afb3898e847350c68c6256395248583a15a0
2023-09-20 08:54:40 +02:00