That doesn't really answer Brion's question. What would prevent it from continuing to run while it is being rewritten?
lack of time.
(commenting on this as I tried to debug the code previously) The code currently: * is independent from any maintained mw api libraries * use self defined api parameters * uses php's curl, which has quite weird https support * has doc strings in de, which I can't read * generates tons of php warnings * and does not check whether upload / page save is successfully done or not
The bot have failed when: * a few weeks ago from the https switch * currently from session / token-related issue (not entirely sure)
Rewrite attempts have been made, but: * the code barely make any sense (not OOP, reduced indentation, tons of bugs, etc.) * lack of time to do complete rewrite
Date: Thu, 16 Jul 2015 09:05:11 -0500 From: dgarry@wikimedia.org To: wikitech-l@lists.wikimedia.org Subject: Re: [Wikitech-l] Provide a well-performing API to rotate an image
Hi Steinsplitter,
On 16 July 2015 at 09:00, Steinsplitter Wiki steinsplitter-wiki@live.com wrote:
Out of curiosity what is the problem with the bot that prevents it from working?
It is very old and bad written and needs a complete rewrite.
That doesn't really answer Brion's question. What would prevent it from continuing to run while it is being rewritten?
Dan
-- Dan Garry Lead Product Manager, Discovery Wikimedia Foundation _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l