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(a)lists.wikimedia.org
Reporter: info(a)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&sipro…
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.
--
You are receiving this mail because:
You are the assignee for the bug.