Added DatabaseUpdater::addExtensionUpdate() to let extensions add their own updates...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 11 Sep 2010 08:23:26 +0000 (08:23 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 11 Sep 2010 08:23:26 +0000 (08:23 +0000)
commit12d2c3af0da88956cce09622c16f6403c11e506e
treeb600550893001d5b5712bd5613a02017890f1f55
parentb9137a9cf2ed562f7fc11c84e7f2ae4c9e33e9a2
Added DatabaseUpdater::addExtensionUpdate() to let extensions add their own updates from the LoadExtensionSchemaUpdates hook.
This uses the same format as the old $wgUpdates, unless callbacks outside the DatabaseUpdater instance will recieve it as first parameter.
includes/installer/DatabaseUpdater.php