https://bugzilla.wikimedia.org/show_bug.cgi?id=55115
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Logged In: YES user_id=47476 Originator: NO
The obvious solution is to separate the action from the page generator. Not something I will do right now, but it prompted me to review the general solution to make a page generator based on command line arguments.