Allow extensions to add params to the update.php maintenance script
authorBill Pirkle <bpirkle@wikimedia.org>
Fri, 22 Mar 2019 02:52:11 +0000 (21:52 -0500)
committerBill Pirkle <bpirkle@wikimedia.org>
Wed, 27 Mar 2019 02:12:49 +0000 (21:12 -0500)
commit4d5edb65f32f3c49fdc00368318066c3e7068089
tree297a47cf582b64c506c3a9085cc42440ac6fe657
parent7d0a4d066750cc58098ca55edc29fe72803931dd
Allow extensions to add params to the update.php maintenance script

T110209 caused maintenance scripts to fail on unknown parameters,
which is normally desirable.  However, some extensions (notably
SemanticMediaWiki) need to support additional params and had no
way to add them to the list of expected parameters.  It will
now be possible them to update.php via a new hook:
MaintenanceUpdateAddParams.

Bug: T213893
Change-Id: Ia40949ccb2f32090f21e0f3f7e5b9c4aef322330
RELEASE-NOTES-1.33
docs/hooks.txt
maintenance/Maintenance.php
maintenance/doMaintenance.php
maintenance/getConfiguration.php
maintenance/update.php