Commit graph

4 commits

Author SHA1 Message Date
Umherirrender
11b71b2a98 Suppress taint-check issues in maintenance scripts/cli context
all places detected as SecurityCheck-XSS by
mediawiki/phan-taint-check-plugin 3.1.0

Bug: T216348
Change-Id: Ib4c8295ad95c2c605fd2f0791e73322f747a00af
2020-12-07 17:20:07 +00:00
Derick A
fd02dc6aac maintenance: Add file extension as expected for PHP scripts
The example in the block comment above uses the .php file extension
in the example but the usage string omits it and it can be misleading.

If the extension (.php) is not given, `runScript.php` will think that
the script doesn't exist and trigger a different code path rather than
actually run the script in question.

Change-Id: I4d60f65629472f2243ead2c8768f597ae23b6beb
2020-01-29 11:44:06 +01:00
MarcoAurelio
cbe7eab07c Fix typo "maintainance"
Bug: T201491
Change-Id: I8724206404a461eaace3b60f91c7704bd6581ee2
2018-12-24 15:51:11 +01:00
aude
f36f49380e Add convenience maintenance script wrapper
Useful for scripts or extensions installed in non-standard locations.

Example usage:

php maintenance/runScript.php
extensions/Wikibase/lib/maintenance/dispatchChanges.php

Change-Id: I6ffc72f41f3f96dd535a427d90c7166372459bd2
2013-11-07 21:10:07 +01:00