Commit graph

381 commits

Author SHA1 Message Date
Translation updater bot a0f32c42b0 Localisation updates from https://translatewiki.net.
Change-Id: I6b9829e8e0a216d7c8c7f68704f326debb409437
2022-04-05 08:26:13 +02:00
jenkins-bot 71d75b731f Merge "Namespace extension" 2022-03-05 16:00:06 +00:00
Translation updater bot 5ac95d79ba Localisation updates from https://translatewiki.net.
Change-Id: I3692215da576c03de1089fb64388224452fdb47c
2022-03-02 09:37:23 +01:00
Translation updater bot db7ebd5e37 Localisation updates from https://translatewiki.net.
Change-Id: I9f3af06f55689c52a3591c77dc0e7621d7997be7
2022-02-25 09:45:55 +01:00
Reedy 5d7bc99cae Use namespaced quietCall
Change-Id: Ifcacc35721d5509c3bc1fe602587c0701af5201f
2022-02-24 20:29:18 +00:00
Translation updater bot 017fb7490b Localisation updates from https://translatewiki.net.
Change-Id: Ia0921bbd873d37b3b2379b2f7845170515d582de
2022-02-11 08:42:22 +01:00
Reedy 3b337af58d Namespace extension
Change-Id: I7f64539f1c9c4c03088e28e99f77a9acc503f627
2022-02-06 15:05:09 +00:00
Translation updater bot 583c930a4b Localisation updates from https://translatewiki.net.
Change-Id: I215afff889d2296556e7aa7a4c8b026f61ae1c61
2022-01-17 08:13:05 +01:00
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