Commit graph

17 commits

Author SHA1 Message Date
Yaron Koren 9329d7ea56 Add long-missing category, prefix flags to replaceAll.php
Change-Id: I81b83c408094767f337581cf79c3c005e9486560
2022-08-11 23:25:03 +00:00
Alexander Vorwerk a4997109ea Avoid using MWNamespace
The MWNamespace class has been deprecated in favor of the NamespaceInfo
service. All methods in the MWNamespace should be replaced with the
equivalent methods of the NamespaceInfo service.

Bug: T291389
Change-Id: I9e3a0aff012d1524205cebe61c10e016f989cecb
2021-10-01 15:51:09 +02:00
libraryupgrader a765c687c9 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: I33ceb173eb7775833a00dd4ae1761df5e4a4c4d0
2021-09-09 18:43:17 +00:00
Fomafix 1d8693829b Remove backwards compatible code for MediaWiki < 1.28
Extension already requires 1.32+ in extension.json

Change-Id: I76005515ca2dbf367cfc13ab5db8ee7c51bb11cb
2021-07-06 23:46:16 +00:00
libraryupgrader 756212a5c8 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

npm:
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 3.0.7 → 3.0.8
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)
* postcss: 7.0.35 → 8.2.15
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: Ie63a64b73266230d2805383625fbca576d1be83b
2021-05-13 05:12:32 +00:00
Mark A. Hershberger eb73831c19
Move to MW\Extension namespace
Change-Id: I8f96ef2fd787a516d71a4391d812ede3cbbb30d4
2021-04-09 13:12:48 -04:00
Umherirrender 85969b01e2 build: Swap deprecated @codingStandardsIgnore to phpcs:ignore
Bug: T278594
Change-Id: I42c60bcfb58c863dc37735258422e3307ed33dad
2021-04-04 00:00:48 +02:00
Umherirrender 2fb5c57fba Remove unneeded break after throw
Change-Id: Ief0dd9ecbf62ab84a3e504634eff4a236c115691
2021-01-06 00:21:50 +01:00
Reedy 7d4e871037 Use $this->output() rather than echo
Change-Id: I25c6abcce573ed3ad0884eb4ad21522c8f4d9d85
2020-03-31 22:26:49 +00:00
Umherirrender 750738cc23 Avoid deprecated param on Maintenance::error
Use Maintenance::fatalError instead

Change-Id: I76cbaf355462a41aec40d239577123de6b04223a
2019-12-28 19:37:40 +01:00
Umherirrender dab839001a build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: I752c89cd13ecc55cbbcbe9c3b94c862c096daf87
2019-11-06 20:02:54 +01:00
Umherirrender f98647f62c Use Maintenance::addDescription
It is better to use a setter function than setting a property

Change-Id: Idc5985e0fa4e773687bcd829e21259cee3045939
2019-08-19 20:33:06 +02:00
libraryupgrader 73843895f6 build: Updating mediawiki/mediawiki-phan-config to 0.5.0
Change-Id: I6132f22888b2e63087d9b47fbde2bf5872b87b5b
2019-03-10 22:24:02 -07:00
Niklas Laxström 19da42d081 Support renaming pages from CLI
Change-Id: I3e14d127cdf63ad4bbff9fcc0a165cc1a0552831
2018-09-07 14:29:58 +02:00
libraryupgrader 6adf0a0712 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
The following sniffs are failing and were disabled:
* Squiz.PHP.NonExecutableCode.Unreachable

Change-Id: Ifa593af5d3fb2aa38dea9f73e903a2fb27d1d6e6
2018-09-03 14:30:30 +00:00
Cindy Cicalese f7b59db9b3 Fix path to maintenance directory.
Change-Id: Ife7a7076ee87938cadb84aa56982cc667bd90e2f
2018-05-16 12:43:54 +00:00
Kunal Mehta 2beae377e7 Move replaceAll.php into maintenance/
And fix an issue that phan found.

Change-Id: I91cb562ac674b02bb84c6c1da4236810f6a3aa3c
2018-05-03 13:08:15 -07:00