Commit graph

6 commits

Author SHA1 Message Date
Kunal Mehta d6f826bd1f Unbreak and modernize cleanup.php
Bumped MediaWiki requirement for usage of Maintenance::fatalError(),
which was introduced in 1.31.

Change-Id: I24446b93d47184907847ed825b42735a74fbddf0
2018-04-06 10:58:25 -07:00
Brian Wolff b4c45d3597 Fix phan-taint-check false positive
This was causing by echo'ing a value from the database. Since
this script does not use the standard Maintenance class,
phan-taint-check was unable to determine it was a command line
script and thought this was an XSS.

Casting to int caused phan-taint-check to know that the value
was safe, and thus prevents the false positive warning.

Change-Id: Ib786fd591ed50f9b3934efa0c3f06e4c307a81f5
2018-02-15 13:09:49 +00:00
Umherirrender 77e4b9db61 Improve some parameter docs
Change-Id: I2f2027eb1abec05238f36f111dfc35013aa016e2
2017-10-07 11:15:06 +02:00
libraryupgrader 819e31d416 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I7562a27108030044bdac1cf880ed22e4558f0c83
2017-09-24 05:33:27 +00:00
Umherirrender 3c4e117932 Add phpcs and make pass
Change-Id: I623a982fe6362daab34906a111d123f19676dc22
2017-06-06 18:29:27 +02:00
MarcoAurelio d4760f96e8 Move cleanup.php maintenance script to maintenance folder
Change-Id: I8e937738bb9b7c01606fec134372d1491d91ba86
2017-01-24 11:22:13 +01:00
Renamed from cleanup.php (Browse further)