Last modified: 2014-11-05 23:18:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72444, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70444 - Family file for anarchopedia looks wrong
Family file for anarchopedia looks wrong
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
: easy
Depends on:
Blocks: pwb20
  Show dependency treegraph
Reported: 2014-09-05 14:56 UTC by xqt
Modified: 2014-11-05 23:18 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description xqt 2014-09-05 14:56:46 UTC
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


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.

Note You need to log in before you can comment on or make changes to this bug.