> You would still need to rewrite the bot though, even if there was a > rotation API, wouldn't you?
No need to rewrite then because Rillke will fix the rotate link java-script. :-) > Date: Thu, 16 Jul 2015 12:21:10 -0500 > From: [email protected] > To: [email protected] > Subject: Re: [Wikitech-l] Provide a well-performing API to rotate an image > > You would still need to rewrite the bot though, even if there was a > rotation API, wouldn't you? > > On Thu, Jul 16, 2015 at 11:19 AM, YiFei <[email protected]> wrote: > > > >> 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: [email protected] > > >> To: [email protected] > > >> Subject: Re: [Wikitech-l] Provide a well-performing API to rotate an > > image > > >> > > >> Hi Steinsplitter, > > >> > > >> On 16 July 2015 at 09:00, Steinsplitter Wiki < > > [email protected]> > > >> 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 > > >> [email protected] > > >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l > > > > > > _______________________________________________ > > > Wikitech-l mailing list > > > [email protected] > > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > > > > _______________________________________________ > > Wikitech-l mailing list > > [email protected] > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
