PotsdamLamb created this task. PotsdamLamb added projects: Pywikibot-archivebot.py, Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - Run archivebot - - **What happens?**: It converts %d to %s on wiki and leaves it that way **What should have happened instead?**: It should leave it as %d or it breaks backwards compatibility. This is what one of our bc’s said “ This has become a bit more complicated now, because the latest patch explicitly states the %(...)d format string convention to be a valid one (lines 55 to 67). It is not acceptable for the bot to be modifying the on-wiki configuration from %d to %s. I believe the root cause for this behavior is at lines 598 to 600, where the bot internally performs a regex substitution to transparently account for non-latin digits. The issue is that this modified format string should not be saved back to the page on-wiki. Until this has been clarified on the developer's side, please hold off on any announcement for the d to s change, because it will be a breaking (and potentially backward-incompatible) change. Chenzw [he]“ **Software version** (skip for WMF-hosted wikis like Wikipedia): **Other information** (browser name/version, screenshots, etc.): TASK DETAIL https://phabricator.wikimedia.org/T313785 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: PotsdamLamb Cc: Xqt, Aklapper, PotsdamLamb, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, MJL, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, MarcoAurelio
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
