Last modified: 2013-09-03 19:51:49 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 T55688, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53688 - Statistics module uses country field instead of lang field to link to Wikipedia
Statistics module uses country field instead of lang field to link to Wikipedia
Status: NEW
Product: Wiki Loves Monuments
Classification: Unclassified
Database (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Nobody - You can work on this!
http://toolserver.org/~erfgoed/api/ap...
:
Depends on:
Blocks: 42164
  Show dependency treegraph
 
Reported: 2013-09-02 20:32 UTC by intracer
Modified: 2013-09-03 19:51 UTC (History)
4 users (show)

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


Attachments

Description intracer 2013-09-02 20:32:26 UTC
This list has incorrect links to Ukrainian wikipedia http://toolserver.org/~erfgoed/api/api.php?action=statistics&stcountry=ua&format=html&limit=0

Country code is ua, but language code is uk
correct link should start with http://uk.wikipedia.org, not http://ua.wikipedia.org
Comment 1 Maarten Dammers 2013-09-03 19:50:26 UTC
The database is incorrect, see http://toolserver.org/~erfgoed/api/api.php?action=search&format=json&srcountry=ua

The problem is that the statistics module uses the country field instead of the language field to link to Wikipedia. I thought we had a bug open for that, but I can't find it. Updating this bug.

I don't have a clue where to fix this. Added Nuno, maybe he can help.

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


Navigation
Links