jayvdb claimed this task. jayvdb added a comment. I have an implementation of all the above for Python 3.3+. Just need to tidy it up a bit before pushing up, probably without `pywikibot_families` support for Python 2.
I currently have some restrictions, so that override precedence can be established, but this change doesnt need to revise/standardise the permissible characters in family names/modules (as there is already patches under review which do that): 1. if `pywikibot_families` uses a 'name' already used within pywikibot/families , it replaces the existing family class. i.e. someone creating a package providing pywikibot_families.foo.test_family.py replaces pywikibot/families/test_family.py. 2. the same name cant be provided by two modules within `pywikibot_families`. i.e. it is illegal to have `pywikibot_families.wikia.roblox_family` and `pywikibot_families.other.roblox_family`, as I cant determine precedence between them, and do not want to allow '.' in the name given to pywikibot.Site(..) in order to allow both to be loaded. TASK DETAIL https://phabricator.wikimedia.org/T104130 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: pywikibot-bugs-list, jayvdb, Gallaecio, Aklapper, XZise, Malyacko, P.Copp _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
