Similar to generateAutoload.php, this should work even without an active MW install. Fix the casing and signature to match the base class while at it. Change-Id: I1b0928f7bbb2c151c8350b4bbe503dd2a07da34e
This also makes generateAutoload work with maintenance/run. Change-Id: I431ba0c3af83ffe0f1df457c7640b1a187048418