Last modified: 2014-02-18 22:38:50 UTC
It'd be useful if mwscipt looked in /extensions/WikimediaMaintenance aswell as /maintenance when trying to run maintenance script so people don't have to go looking for where scripts might be hiding ie if script is not in /maintenance try /extensions/WikimediaMaintenance Thanks!
<AaronSchulz> Reedy: /trunk/tools/mwmultiversion/multiversion/MWScript.php
This will actually require a moderate amount of refactoring. You need to be able to get the MW version without knowing the file path yet. The current getMediaWikiCli() functions is not very amenable to this. Also, you'd have to do it a non-circular way. For example, locating the file path depends on getting the MW version if you want to use file_exists() checks, which depends on the --wiki param, which depends on the $wikiLess script list and the file path. Of course, you are trying to *get* the file path. $wikiLess scripts should just be assumed to exists I guess.
Created attachment 9874 [details] Patch!
r109711
Reverted in r109825
Reedy: Do you plan to work on this? If not, could you please reassign this to default (nobody@)?