Last modified: 2014-10-12 09:57:02 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 T45697, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43697 - same key, multiple values in cdb file
same key, multiple values in cdb file
Status: PATCH_TO_REVIEW
Product: Wikimedia
Classification: Unclassified
Interwiki links (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: This, that and the other (TTO)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-07 12:36 UTC by Ariel T. Glenn
Modified: 2014-10-12 09:57 UTC (History)
1 user (show)

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


Attachments

Description Ariel T. Glenn 2013-01-07 12:36:52 UTC
cdbdump on the interwiki.cdb cache file in production shows me some keys with multiple entries.  Some examples below:

+14,29:_wiktionary:dk->1 //dk.wiktionary.org/wiki/$1
+14,29:_wiktionary:dk->1 //da.wiktionary.org/wiki/$1

+14,29:_wikisource:nb->1 //nb.wikisource.org/wiki/$1
+14,29:_wikisource:nb->1 //no.wikisource.org/wiki/$1

Can this possibly be useful?  I mean, all our lookups are based on the key, right?  Or is this some tricky thing having to do with changed language codes?
Comment 1 This, that and the other (TTO) 2014-09-30 02:17:20 UTC
This is causing some issues for the "nan:" interwiki. In the two cases in comment 0, the domains redirect to the same place, so it's a moot point. But for some reason, nan.wiktionary.org is not set up as a domain redirect to zh-min-nan.wiktionary.org. So this breaks for wikt:nan:.
Comment 2 Gerrit Notification Bot 2014-10-12 09:56:04 UTC
Change 166281 had a related patch set uploaded by TTO:
Remove alias codes from langlist

https://gerrit.wikimedia.org/r/166281
Comment 3 Gerrit Notification Bot 2014-10-12 09:57:02 UTC
Change 166282 had a related patch set uploaded by TTO:
Add aliases for all language aliases in langlist

https://gerrit.wikimedia.org/r/166282

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


Navigation
Links