Dvorapa added a comment.

I know, what the problem here is, but I'm not sure, how to resolve it. The before_question option prints context before question. And after question the result is printed, which also contains the context. So multiple fixes can be made here:

  • instead of before_question, call output(): This would solve the issue, but made the code for before_question unused
  • run before_question only the first time (once)
  • do not print context in result: this could possibly break things [x]

TASK DETAIL
https://phabricator.wikimedia.org/T196676

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Dvorapa, Framawiki, Aklapper, matej_suchanek, pywikibot-bugs-list, Sc4s2cg, Magul, Tbscho, MayS, Salgo60, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to