libraryupgrader
fb1a1d70c5
build: Updating eslint-config-wikimedia to 0.18.2
...
Change-Id: I7947cb9901dba928752047650e083682187a2205
2021-03-08 03:06:02 +00:00
Translation updater bot
fcaa2407ab
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibab1b39c2bedf59a6344748e2bd6c4d29d8b503d
2021-02-25 08:39:28 +01:00
jenkins-bot
72ebefd8c5
Merge "Replace use of Parser::$mPreprocessor, deprecated in 1.35"
2021-02-25 02:46:41 +00:00
C. Scott Ananian
9b7f131d8e
Replace use of Parser::$mStripState, deprecated in 1.35
...
The replacement, Parser::getStripState(), was added to MediaWiki in
1.34. This extension already requires MediaWiki >= 1.35.
Bug: T275160
Change-Id: I429da35ca4e276c852b8d6ee102ff19f742c22c0
2021-02-19 17:09:55 -05:00
C. Scott Ananian
ef286c1cb7
Replace use of Parser::$mPreprocessor, deprecated in 1.35
...
This code was a valiant but futile attempt to break a cyclic reference
cycle, copied no doubt from similar code in
tests/phpunit/includes/parser/TagHooksTest.php in core. However,
there are other cyclic references to Parser, including in StripState,
and unit test code shouldn't really be trying to optimize for memory
usage in any case.
Bug: T275160
Change-Id: I0917290d4ade8675b2d0eac17a22682c9c1b4a85
2021-02-19 12:36:35 -05:00
C. Scott Ananian
2c3e8a8097
Replace use of Parser::$mTagHooks, deprecated in 1.35
...
The replacement, Parser::getTags(), has been in MediaWiki for over a decade
(since sometime before 1.11).
Bug: T275160
Change-Id: Ib708e3f84aa871de84aa56561c875f4a85bb000c
2021-02-18 17:23:22 -05:00
Translation updater bot
238e0cfa9f
Localisation updates from https://translatewiki.net .
...
Change-Id: I10efa78974f45f1e1c10dc6aa151ad027c0fb74e
2021-02-11 08:40:15 +01:00
Translation updater bot
31eba767d8
Localisation updates from https://translatewiki.net .
...
Change-Id: I1d4630b73eefcb3ae5078b3b508a4d3b7924d926
2021-02-08 08:45:22 +01:00
libraryupgrader
bc8cc1253a
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1
npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1
Additional changes:
* Added the "composer phan" command to conveniently run phan.
Change-Id: I8602db6c3312c0ecfd647bf80808ece7121c417b
2021-01-30 14:54:04 +00:00
Translation updater bot
b970d40d51
Localisation updates from https://translatewiki.net .
...
Change-Id: I958b9e123f953f4aaf86b1a3f17d50e061432100
2021-01-18 08:39:57 +01:00
Reedy
24cb62e044
Update use of css-sanitizer classes for PHP 8.0 compat
...
Bug: T268862
Depends-On: Ia33f51d54f0e0f51249c999c2bd6a0091aac0b66
Change-Id: I13ad3abe70b693886a79ab37c64f34e0113e9071
2021-01-08 19:03:26 +00:00
libraryupgrader
f3ff772296
build: Updating mediawiki/mediawiki-phan-config to 0.10.6
...
Change-Id: Id74a9ad4e10a69a41954999e34f8179f398872ee
2020-12-20 03:50:55 +00:00
libraryupgrader
27a60e0e72
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-phan-config: 0.10.4 → 0.10.5
npm:
* ini: 1.3.5 → 1.3.7
* https://npmjs.com/advisories/1589
Change-Id: Ia29ca74e1ddaf47919154a473516396521c1c241
2020-12-11 11:10:39 +00:00
Translation updater bot
e33276baec
Localisation updates from https://translatewiki.net .
...
Change-Id: If01143f8a5db0320282c860b865d27e7a451bb88
2020-12-07 08:47:42 +01:00
libraryupgrader
72f5bffa81
build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
...
Change-Id: Ibc27a91c218a93efb10e4d4a9e8c1a9ee6fa7a56
2020-12-07 03:31:09 +00:00
libraryupgrader
49bbea7ec1
build: Updating mediawiki/mediawiki-phan-config to 0.10.4
...
Change-Id: Iafd4c78988f4a62a28bf4ad2cde813d9faff92de
2020-11-20 20:03:38 +00:00
Thiemo Kreuz
7af3fcc8e3
Trivialize TemplateStylesHooks::getConfig()
...
This is cached anyway in the ConfigFactory.
This patch also includes a few very minor cleanups in the
same file.
Change-Id: Iec44dae1d6a69e0f28d62f875a22f30f8b10cf78
2020-11-11 16:44:09 +01:00
libraryupgrader
f17b06db0a
build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
...
Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).
Change-Id: I19196f86a18cc4be7ac9e24d8c84a2ed4c8121f4
2020-11-04 13:51:41 +00:00
Translation updater bot
58aea1a6af
Localisation updates from https://translatewiki.net .
...
Change-Id: I13d169b1275a510c9325dab85497b27013e1942c
2020-10-21 08:27:57 +02:00
Gergő Tisza
53e0377986
Fix type doc for the extra wrapper
...
A token is a component value, but not all component values are tokens.
Follows up I5dc04611f.
Bug: T258093
Change-Id: I2292a5dbedf1607f9ad25d2b4021a225a202d407
2020-10-19 08:37:08 +00:00
jenkins-bot
8edccc8d4c
Merge "Fix wrapper="…" failing for more complex selectors"
2020-10-15 17:03:02 +00:00
Thiemo Kreuz
b76898e848
Fix remaining PHPCS warnings about missing PHPDocs
...
Change-Id: Ic1c638902066dd5bb9333a2607c9ff84093fb4a2
2020-10-15 08:53:57 +02:00
Thiemo Kreuz
1c0687c850
Fix wrapper="…" failing for more complex selectors
...
For example, <templatestyles wrapper="a[href]" /> fails with an
InvalidArgumentException very late in the process, long after
the actual validation in TemplateStylesHooks::validateExtraWrapper()
was done. This happens because validateExtraWrapper() works on a
proper tree (where the [href] from the example is a nested object),
but flattens this tree in the end via toTokenArray(). This
flattened array ends in StyleRuleSanitizer::doSanitize() where it
is added to a ComponentValueList – which expects a tree.
The only change in this patch is that the object structure is not
flattened any more. That's all.
Bug: T258093
Change-Id: I5dc04611f91fe672da706f31fa8d0c254e3123d3
2020-10-15 06:51:21 +00:00
libraryupgrader
efdcaa278c
build: Updating mediawiki/mediawiki-phan-config to 0.10.3
...
Additional changes:
* Consolidated .phpcs.xml encoding to "UTF-8" (T200956).
* Dropped .php5 files from .phpcs.xml (T200956).
Change-Id: I40902ceda27db7781045e1c721d963e09f19da21
2020-09-25 10:52:28 +00:00
Translation updater bot
1202aafa3b
Localisation updates from https://translatewiki.net .
...
Change-Id: I1171dd13a76bcd18b3f93f53788c7d49b1591cc9
2020-09-24 08:29:49 +02:00
Translation updater bot
b325abfdd5
Localisation updates from https://translatewiki.net .
...
Change-Id: I29347721a43cde11ce3e168cf576c02e28912db7
2020-09-21 08:30:37 +02:00
Umherirrender
f67fbc1394
build: Use existing eslint also for json linting
...
Bug: T220036
Change-Id: I7e9c43ea56366785b8cb94c9c6863b87841a6135
2020-09-11 23:49:03 +02:00
libraryupgrader
8bff1e5bba
build: Updating npm dependencies
...
* eslint-config-wikimedia: 0.16.2 → 0.17.0
* grunt: 1.2.1 → 1.3.0
Change-Id: I203a380057f62c181a40cfe86372595d151d70f8
2020-09-04 23:25:13 +00:00
Translation updater bot
78345b163d
Localisation updates from https://translatewiki.net .
...
Change-Id: If222d73b80c2cffbd15a96f80c3e64e7418701d8
2020-08-24 11:59:14 +02:00
Translation updater bot
e9b7001a93
Localisation updates from https://translatewiki.net .
...
Change-Id: I6ddc47e9a4bfadec70282f38a349cc37b5c35c38
2020-08-10 09:02:02 +02:00
Translation updater bot
abc1cb5a4d
Localisation updates from https://translatewiki.net .
...
Change-Id: I61ff62ebf7e5fba68cade0c8c05f175be3bf43d7
2020-07-27 08:38:34 +02:00
Translation updater bot
9bde861add
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic9e748382babd6085661924b30d6f793a8def927
2020-07-21 09:13:40 +02:00
libraryupgrader
c434758822
build: Updating grunt to 1.2.1
...
Change-Id: I74d2a2da678d817223929649f75288bb85f8af76
2020-07-19 02:04:48 +00:00
libraryupgrader
f5fb5c3579
build: Updating npm dependencies
...
* eslint-config-wikimedia: 0.15.3 → 0.16.2
* grunt-eslint: 22.0.0 → 23.0.0
Change-Id: I1025318076083519745263b796c44474b6c336ca
2020-07-17 05:24:58 +00:00
libraryupgrader
7743810422
build: Updating lodash to 4.17.19
...
* https://npmjs.com/advisories/1523
* CVE-2019-10744
Change-Id: Ife54da1658b625461aff595cefa148a55aac743a
2020-07-11 05:23:48 +00:00
Translation updater bot
9cb9fcd999
Localisation updates from https://translatewiki.net .
...
Change-Id: If22f05bd8016b93e7efa1d3fbb0bd577f4253414
2020-06-19 08:41:58 +02:00
Translation updater bot
6723979e8d
Localisation updates from https://translatewiki.net .
...
Change-Id: Id6b28077e378f9d52d63e5b13f08b31735da5c58
2020-06-15 08:40:45 +02:00
libraryupgrader
dee1c954c1
build: Updating mediawiki/minus-x to 1.1.0
...
Change-Id: Id35756a9fa58070dab5e8231d30997c20e9bb479
2020-06-10 08:09:13 +00:00
DannyS712
324dcb3d06
Remove use of Parser::fetchCurrentRevisionOfTitle
...
Bug: T249384
Change-Id: Ice32a365ef7b85b46cb5a78d6d07a35a21727173
2020-06-03 03:27:35 +00:00
DannyS712
c74a26d111
Use RevisionRecordCallback in ParserOptions, require MW 1.35+
...
Bug: T249384
Change-Id: I36b7a57278f9c32040180fc885827731a2d94098
2020-06-03 03:12:20 +00:00
libraryupgrader
f1d183cc18
build: Updating composer dependencies
...
* php-parallel-lint/php-console-highlighter: 0.4.0 → 0.5.0
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.2.0
Change-Id: Ic828e64e2db213e1abff5af52fca0eeb53da6bfd
2020-05-31 15:11:35 +00:00
Umherirrender
660b940b2e
build: Bump phan to 0.10.2, remove taint-check
...
Change-Id: I09d1ce6d4768c2849a21f2cc3a481692d6c71ca8
2020-05-31 17:08:35 +02:00
libraryupgrader
52b1ad503d
build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
...
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".
Change-Id: I616722aa3eec40ddf3b80b4c6c227a233504f901
2020-05-30 08:03:48 +00:00
jenkins-bot
89724e4b64
Merge "Revert "Remove use of WikiPage::doEditContent""
2020-05-08 01:06:17 +00:00
DannyS712
9f3832efdf
Revert "Remove use of WikiPage::doEditContent"
...
This reverts commit eb94a40c3e
.
Reason for revert: autopatrol status wasn't included in the
use of PageUpdater, revert for now and reapply properly with
autopatrol later.
Bug: T252179
Change-Id: I38e29e607bc01146ccab00ef8e10d59b769e4044
2020-05-08 00:16:42 +00:00
Michael Holloway
9cc02fc154
Add a README
...
Change-Id: Iaae761db2a7d185ddc78aefab1c6c927b75455d8
2020-04-30 11:44:33 -04:00
libraryupgrader
de19f61cad
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0
npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
Change-Id: If18d71390a1efdf7a91d98ba2f81c4450dab1b75
2020-04-22 20:28:37 +00:00
DannyS712
eb94a40c3e
Remove use of WikiPage::doEditContent
...
Bug: T250638
Change-Id: Ie2ee283ba34db120586469b5d34c3840297e134b
2020-04-20 00:31:43 +00:00
libraryupgrader
d1dae631d6
build: Updating grunt-banana-checker to 0.9.0
...
Change-Id: I85882214dc9ad8d89d3f7da5bcf2298bab36fe91
2020-04-19 20:27:57 +00:00
C. Scott Ananian
eb0babef80
Don't use deprecated $wgParserConf global
...
The modern way to create a Parser object is to use a ParserFactory.
Change-Id: I97d58750c91b06eeca5d810509becdf53a39cc95
2020-04-16 14:39:33 -04:00