Last modified: 2011-12-29 15:40:39 UTC
WMF-specific maintenance scripts have been moved to extensions/WikimediaMaintenance/ in trunk but still live in maintenance/ in 1.18wmf1. I'm assuming these will move on the cluster as well when 1.19 is deployed, but as it stands that will break horribly. The way the scripts includes Maintenance.php still assumes they are directly in the maintenance/ directory (or a subdirectory thereof). Some are so old they include commandLine.inc instead, sometimes even without an absolute path. Also, only one script respects MW_INSTALL_PATH. It looks like WikimediaMaintenance.php is an appropriate bootstrap script that these scripts should be including instead. It also includes an abstract Maintenance subclass that new scripts should probably use, like dumpInterwiki.php does. Should the other scripts just be ported to use WikimediaMaintenance.php then?
(In reply to comment #0) > Should the other scripts just be ported to use WikimediaMaintenance.php then? Yes.
r107575, r107576, r107577