Commit graph

9 commits

Author SHA1 Message Date
Petr Pchelko 7043d212c7 Remove usage of Revision::loadFromPageId
Bug: T246284
Change-Id: Id4ec83cc0ac0685857064486697a7daed979ea69
2020-03-04 00:45:53 +00:00
libraryupgrader 2d3b9f1d61 build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Change-Id: I56fbe7470e6dbc7ee2a2e381dc9e811db4b79224
2019-12-29 00:01:51 +00:00
Daimona Eaytoy 25b65a40fe Migrate to new Phan
Bug: T216942
Change-Id: I92c55f8af579a92baa02d9bd1b25b8290f0cd196
2019-03-09 12:42:42 +00:00
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)