Last modified: 2011-05-03 21:19:45 UTC
On pihwiki the interwikimap is missing. The strange thing is that llurl on api langlink module is working correct. Why doesn't these both reports use the same data source? Please add the data for interwikimap report on pihwiki because my interwiki bot needs it for parsing the page content correctly. Missing: <http://pih.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=interwikimap> Working llurl example: <http://pih.wikipedia.org/w/api.php?action=query&prop=langlinks&titles=Category:Citii_i%27_Soria_prowins&llurl=1>
This is probably because the interwikimap prop pulls from the database, whereas actual interwikis are pulled from the interwiki cache. Ideally, if you're using the interwiki cache, we should be pulling the list from that, rather than the DB. Repurposing as MW bug, not really an issue with WMF setup. The coolest way would be something like Interwiki::getFullList().
Changing to code to use the interwiki cache would be the best, but this need code changes. I need a quick fix so that my bot could keep on running. For this its easier to update the wmf config instead of recoding the module. Thats why i assigned to as wmf config bug.
There's no configuration to change, it's just that nobody ever remembers to update the interwiki table when adding a new wiki (because outside of this case, it's not used).
Adding data to interwiki table on wmf server on database pihwiki isn't a wmf configuration issue?
I mean it's probably broken on more than one wiki, so a general fix would be preferable.
If this bug is a mediawiki bug which should be fixed according to your solution it would duplicates bug 20654 i created years ago. So i change this back to a wikimedia config bug. Comments for a gerneral fix should be added to the other bug.
(In reply to comment #6) > If this bug is a mediawiki bug which should be fixed according to your solution > it would duplicates bug 20654 i created years ago. > No, that's not quite the same thing. bug 20654 asks for population of the interwiki DB tables from the CDB files. However, it would be much nicer if the interwikimap module could just use the CDB files directly.
There is also no data at interwikimap on barwiki and bat_smgwiki.
Really, these should all be fixed simultaneously by bug 19838. Duping this to that (just like we did with bug 21169 and bug 20528) *** This bug has been marked as a duplicate of bug 19838 ***