https://bugzilla.wikimedia.org/show_bug.cgi?id=70444
Bug ID: 70444 Summary: Family file for anarchopedia looks wrong Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: info@gno.de Web browser: --- Mobile Platform: ---
There are few site codes which are obsolete and redirected to other. Seems the Family.obsolote dict is twisted, e.g.
self.obsolete = { 'deu': 'de', }
must be
self.obsolete = { 'de': 'ger', 'deu': 'ger', }
some entry are overridden by later entries e.g. for 'ell' code
'nno' and 'nob' are still valid and not obsolete
See http://pt.anarchopedia.org/api.php?action=query&meta=siteinfo&siprop...
Note: the api is very very slow and should be cached maybe some kind of precaching e.g. for Site.lang to get the right i18n quickly.
https://bugzilla.wikimedia.org/show_bug.cgi?id=70444
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayvdb@gmail.com Version|unspecified |compat (1.0)
https://bugzilla.wikimedia.org/show_bug.cgi?id=70444
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |easy Version|compat (1.0) |core (2.0) Blocks| |70936
pywikipedia-bugs@lists.wikimedia.org