Xqt added a comment.

Unless there is an immediate issue, please keep this minor backwards compatibility. Most of my stuff is now in Core but look have a library of Compat handy things that once broken are unlikely to be revisited. Deliberately breaking them does not make much sense.

compat scripts has to be converted to core framework anway. README-conversion.txt, compat2core.py and the debug option to show the deprecated stuff are able to help the conversion process. There are remaining issues like such described in T136513.

Regarding to the compat module I think it shouldn't be necessary anymore after this long time and it shouldn't be used anyway. There is no reason to use pywikibot.compat.catlib.Category instead of` pywikibot.Category` or pywikibot.compat.userlib.User instead of` pywikibot.User` or pywikibot.compat.query.GetData(request) instead of pywikibot.data.api.request(**request).submit(). Ok the last one looks a bit strange but there a a lot of high level Page or Site methods which could be used instead. What might be the reason to keep this old stuff? Older releases of the pywikibot framework are tagged with a version number and can be downloaded easily if needed.


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

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

To: Xqt
Cc: Fae, Dalba, Framawiki, gerritbot, Steinsplitter, Zoranzoki21, fantasticfears, Multichill, valhallasw, Aklapper, Xqt, pywikibot-bugs-list, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to