jenkins-bot
4ec204fc3f
Merge "Use single quotes instead of double quotes in PHP"
2022-11-17 20:10:31 +00:00
Fomafix
19c2bf2920
Simplify loops over array_keys
...
Use native PHP feature of iterating over key-value pairs
instead of looking up the value if it's used.
Change-Id: I620add5f0f919923518557047773e5fff90827cf
2022-10-23 10:31:07 +00:00
Fomafix
836defe8fa
Merge "Use \t instead of TAB in the string"
2022-09-12 19:23:47 +00:00
Fomafix
3b6a6802bd
Use \t instead of TAB in the string
...
Change-Id: Ia2052d7ca3f80d0e54ce4a3923f2373c39e7620d
Depends-On: I19c1b42d9a7c76baacfad2632c4f5525532366a9
2022-09-12 19:21:30 +00:00
Fomafix
c7d80d1938
Use https://www.gnu.org/ instead of http://www.gnu.org/
...
Change-Id: I8aa4b4a8ba78fb9268021a3ddeb5e2a9c7b0cfeb
Depends-On: I19c1b42d9a7c76baacfad2632c4f5525532366a9
2022-09-12 19:13:23 +00:00
Fomafix
59f9bc6974
Use single quotes instead of double quotes in PHP
...
Change-Id: I0f05a6ffbf78a6f8150c9ef751bf92f5d7956fe3
2022-09-08 16:36:16 +00:00
Fomafix
bca8b58017
replaceAll.php: Allow empty values as target
...
This change allows to execute the following command with an empty
replacement string:
php maintenance/replaceAll.php 'FooBar' ''
Bug: T293120
Change-Id: I5d8f223f6edae771ca3cd7c68aae741f3fa64350
2022-09-08 12:11:58 +00:00
jenkins-bot
40b79328da
Merge "Use UserFactory::newFromId() and ::newFromName() instead of User::newFromId() and ::newFromName()"
2022-09-08 10:29:50 +00:00
Yaron Koren
9329d7ea56
Add long-missing category, prefix flags to replaceAll.php
...
Change-Id: I81b83c408094767f337581cf79c3c005e9486560
2022-08-11 23:25:03 +00:00
RazeSoldier
61ac0b0e7c
Use UserFactory::newFromId() and ::newFromName() instead of User::newFromId() and ::newFromName()
...
User: :newFromId() and ::newFromName() has been deprecated in 1.36.
Bug: T294128
Change-Id: Id872c28c7d20dc3d27a74cfac608aeb911c87c3d
2021-10-22 22:57:26 +08: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