mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AJAXPoll
synced 2024-11-30 09:44:37 +00:00
Merge "Revert "LoadExtensionSchemaUpdates: Remove unused path from 'runMaintenance' action""
This commit is contained in:
commit
44bfab8e6d
|
@ -11,7 +11,7 @@
|
|||
"type": "parserhook",
|
||||
"license-name": "GFDL-1.2",
|
||||
"requires": {
|
||||
"MediaWiki": ">= 1.43"
|
||||
"MediaWiki": ">= 1.35.3"
|
||||
},
|
||||
"GroupPermissions": {
|
||||
"*": {
|
||||
|
|
|
@ -664,9 +664,14 @@ During the last 48 hours, {$tab2->votes} votes have been given.";
|
|||
// adding a new, UNIQUE INDEX on a new AUTO_INCREMENT field (which the
|
||||
// script also creates) and, of course, finally the new column is populated
|
||||
// with data.
|
||||
// PITFALL WARNING! Do NOT change this to $updater->runMaintenance,
|
||||
// THEY ARE NOT THE SAME THING and this MUST be using addExtensionUpdate
|
||||
// instead for the code to work as desired!
|
||||
// HT Skizzerz
|
||||
$updater->addExtensionUpdate( [
|
||||
'runMaintenance',
|
||||
'MigrateOldAJAXPollUserColumnsToActor',
|
||||
'../maintenance/migrateOldAJAXPollUserColumnsToActor.php'
|
||||
] );
|
||||
|
||||
// 3) drop the now unused column
|
||||
|
|
Loading…
Reference in a new issue