r77953 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r77952
|
r77953
|
r77954
>
Date:
02:42, 7 December 2010
Author:
demon
Status:
ok
Tags:
Comment:
Fix breakage from
r75542
: FakeMaintenance needs to set at least $mSelf so when runChild() calls loadParamsAndArgs() it doesn't pass nothing and thus try to fall back on $argv. This breaks the web updater, where that is undefined.
Modified paths:
/trunk/phase3/maintenance/Maintenance.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/maintenance/Maintenance.php
—
—
@@ -1130,6 +1130,7 @@
1131
1131
}
1132
1132
1133
1133
class FakeMaintenance extends Maintenance {
1134
+ protected $mSelf = "FakeMaintenanceScript";
1134
1135
public function execute() {
1135
1136
return;
1136
1137
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r75542
Make update.php obey --quiet
platonides
14:38, 27 October 2010
Status & tagging log
13:33, 7 December 2010
Platonides
(
talk
|
contribs
)
changed the
status
of r77953
[
removed:
new
added:
ok]