Commit graph

323 commits

Author SHA1 Message Date
Translation updater bot 27d152e25a Localisation updates from https://translatewiki.net.
Change-Id: Ib926cf55ed57c550fd36f24559873c6bc0a29b94
2022-01-13 08:27:26 +01:00
Alexander Vorwerk 57a1d0196b Avoid using WikiPage::factory()
WikiPage::factory() is deprecated since 1.36 and should be replaced
with WikiPageFactory::newFromTitle().

Bug: T297688
Change-Id: I6c754b872c3b60ad724af8c18faacbf7320579fa
2021-12-16 23:56:08 +01:00
Translation updater bot a2f5b987a7 Localisation updates from https://translatewiki.net.
Change-Id: Iee5e9a4df5b3dcd122cc20815843fe126f30efec
2021-12-02 08:42:06 +01:00
Translation updater bot 940acebebf Localisation updates from https://translatewiki.net.
Change-Id: I27dd377564719d86a5b356fe9df2f70c5f65a73a
2021-11-29 08:12:33 +01:00
Roman Stolar cacfbe6a4f Override ContentHandler::validateSave instead of Content::prepareSave.
Prepare override for TemplateStylesContentHandler, remove usage in TemplateStylesContent.

Bug: T287159
Depends-On: I7f23e6e97b1c7d27a6aaefdb88b19b2fc6e8b3a8
Change-Id: I4d89a5871c8be9101b356dafe68fcbc0cf69f6ee
2021-11-04 13:51:27 +02:00
libraryupgrader 8b478fa5ae build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: If527ee960049e64145281c3cea4f645b4599e50e
2021-10-24 13:53:02 +00:00
jenkins-bot f6da33d28e Merge "Override ContentHandler::fillParserOutput instead of Content::getParserOutput and TextContent::getHtml()." 2021-10-19 14:15:23 +00:00
Alexander Vorwerk fe485d7c57 Override ContentHandler::fillParserOutput instead of Content::getParserOutput and TextContent::getHtml().
Prepare override for TemplateStylesContentHandler, remove usage in TemplateStylesContent.

Bug: T287158
Change-Id: Ia1c0a307337e43c26cc05a5a9b2883ad2349d07e
2021-10-19 17:09:58 +03:00
Translation updater bot 06a4ee9801 Localisation updates from https://translatewiki.net.
Change-Id: If0cb6a007ded63b1da148be1c5f965fc8ad7b859
2021-10-18 15:21:27 +02:00
libraryupgrader d338bcbb45 build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/1002401 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I2dde9ffb793fe946e6940827c1434e1b5f138bf8
2021-10-08 20:02:05 +00:00
Umherirrender 2c5b76c9f5 build: Suppress phan failure
After removable of DeprecationHelper from Parser.php with
I4ff100136a777974f7206f599422589d51f02b88 the __set function is gone,
which indicates phan that undeclared properties are possible

Depends-On: I56397a085226538a8156e0e7a195db463240624c
Change-Id: I1cef45d5b0caff53ee126a55825dc85d8a276b43
2021-10-03 21:13:22 +00:00
Translation updater bot 889361435f Localisation updates from https://translatewiki.net.
Change-Id: I2fc45ac84b88156566318ef6000ee1d37772772a
2021-09-23 12:28:02 +02:00
Translation updater bot f6be700a39 Localisation updates from https://translatewiki.net.
Change-Id: I50bb5b74d222df125d47ba6ad725acc4d0221905
2021-09-22 08:11:07 +02:00
libraryupgrader 1741e8097e build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: I867ae7558e2063db7f5a8a9f0796513e5ce441a9
2021-09-09 07:50:00 +00:00
Porplemontage cf7225f127 Allow the default source namespace to be changed
This adds a config option so that the src attribute of the <templatestyles> tag can be set to default namespace other than Template.

Bug: T290250
Change-Id: Iec4f5d630d025e0bacba05d40cd74fc9312fcae2
2021-09-05 17:19:33 +00:00
libraryupgrader 042c5e6a73 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I916870dd9c037b1b270a2c71496cd2058b55e288
2021-08-12 11:54:59 +00:00
Translation updater bot 6c538dc90e Localisation updates from https://translatewiki.net.
Change-Id: Icab9d488756704478a3fb31e7645fe987a35d8e5
2021-08-06 08:13:59 +02:00
libraryupgrader fc53ceddcb build: Updating mediawiki/mediawiki-codesniffer to 37.0.0
Change-Id: I49c9642f0fd7782ee739c4a6943a1567f4da8c4d
2021-07-24 02:37:32 +00:00
DannyS712 3d76ede23e Use WikiPage::doUserEditContent() instead of ::doEditContent()
::doUserEditContent() is available since 1.36 as a replacement
for ::doEditContent(), which has been deprecated. Bump the
required version of MediaWiki to 1.36 accordingly.

Bug: T255507
Change-Id: I5d19b24031872105a27e886242c8d580ad278354
2021-06-24 05:59:12 +00:00
Translation updater bot 753f224dc9 Localisation updates from https://translatewiki.net.
Change-Id: I413c03ab59d86b9c7916c20b9aea261e3921f6d3
2021-06-22 08:09:57 +02:00
jenkins-bot 988570195f Merge "Allow template sandboxing in sanitized-css pages" 2021-06-11 13:59:56 +00:00
Inductiveload fcf12308be Allow template sandboxing in sanitized-css pages
This adds 'sanitized-css' content model pages to the list of default-sandboxed
content models  provided by TemplateSandbox.

Bug: T279021
Depends-On: I702ffb9b196fe44a5bc099c7ee02b0e0e3fef283
Change-Id: I1e5d224c7c20ab49389744c99adcffd1971f9b08
2021-06-08 21:31:08 +01:00
libraryupgrader f7b9217d47 build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I49e9becddd99b844cb6a9cfa5197a584443b6c51
2021-05-26 05:10:16 +00:00
Translation updater bot 92d0169f7a Localisation updates from https://translatewiki.net.
Change-Id: I05ea313c55f2845ad7aa19def9e6521b451065bd
2021-05-25 08:54:22 +02:00
Translation updater bot 517724b31e Localisation updates from https://translatewiki.net.
Change-Id: I5d78b1e8251b28a3a48a7122c7e6ef173cb9c93d
2021-05-24 09:55:34 +02:00
libraryupgrader 023998a9ff build: Updating npm dependencies
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)

Change-Id: I93988ea93c609e6a861f364d0edfdc1f18f6c1a2
2021-05-14 05:06:58 +00:00
libraryupgrader b2ee2313c3 build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

Change-Id: I0105b425acd5e65b15c789015cdc9144a2d4f8f1
2021-05-04 09:54:28 +00:00
Reedy e429d5d1ab Remove deprecated config variables
Bug: T277962
Change-Id: Idc1bd573d892a38a79c5c77917dd1fe1c7653a51
2021-04-19 01:02:32 +01:00
libraryupgrader 5e42985fc5 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: Ia58f7b4bb5934f83ec7666ad1b649ca20511add8
2021-04-14 08:39:21 +00:00
Translation updater bot 41c5ce5980 Localisation updates from https://translatewiki.net.
Change-Id: Idb1f04863c20dc98af17549561174b5ce80e58f8
2021-04-12 08:38:55 +02:00
Umherirrender af68773fd1 build: Swap deprecated @codingStandardsIgnore to phpcs:ignore
Bug: T278594
Change-Id: I356955fd31ffa77f8527212a23ddb829941b9505
2021-03-27 00:59:00 +01:00
Translation updater bot df59bee0f6 Localisation updates from https://translatewiki.net.
Change-Id: Ic9f4fc21437c481438778336c699e6eb5dd30be1
2021-03-24 08:30:50 +01:00
Reedy 57eba81d96 Rename TemplateStylesPropertyBlacklist and TemplateStylesAtRuleBlacklist
* $wgTemplateStylesPropertyBlacklist is now $wgTemplateStylesDisallowedProperties
* $wgTemplateStylesAtRuleBlacklist is now $wgTemplateStylesDisallowedAtRules

Bug: T277962
Change-Id: I2eb120f5c52db1ea9c49bcaf04955771987c1d62
2021-03-21 05:06:51 +00:00
Translation updater bot 5aa7613c1c Localisation updates from https://translatewiki.net.
Change-Id: I2ea8a8f9472c84b861c49b2cd3e6da6ea771b288
2021-03-15 08:41:32 +01:00
libraryupgrader 8183db4d4e build: Updating eslint-config-wikimedia to 0.19.0
Change-Id: If10060ec8a4c17bec8296bf20367956067819c0e
2021-03-14 17:48:55 +00:00
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