maintenance: Detect "unknown module name" error in manageForeignResources
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 6 Oct 2018 03:05:38 +0000 (04:05 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Sat, 6 Oct 2018 03:09:54 +0000 (04:09 +0100)
commit523ecf7fd2745725404214aaff87c74768193f67
tree1dbae48ebe9a1f35c782e44bf3eb0d651578fc99
parent098e23fb9dc76bc715095f51c9547986874eea37
maintenance: Detect "unknown module name" error in manageForeignResources

Previously, `manageForeignResources.php update foo` would output
"Done!", which is very similar to "... updating foo\nDone!".

The module argument is now validated, just like how the
action argument was validated already.

Change-Id: Ia7c87de5d86b9d1a411485cac43b1529fe88a59f
maintenance/resources/manageForeignResources.php