Page MenuHomePhabricator

mutante's Wikistats uses the old English name of Gõychi Konknni
Closed, ResolvedPublic1 Estimated Story Points

Description

The Gõychi Konknni Wikipedia entry is appearing incorrectly translated as "Gova Konknni" on Wikistats (#198). How can we fix this?

The language name in English should be "Goan Konkani", and not "Gova Konkani".
The local name of the language should be "गोंयची कोंकणी / Gõychi Konknni"

Related to T126148

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Translations for this project are handled on translatewiki. I tried to find details of how that works, but could not.

Niedzielski added a subscriber: Nikerabbit.

@Milimetric, hm maybe this is it except it looks correct: https://translatewiki.net/w/i.php?title=MediaWiki:Project-localized-name-gomwiki/en&action=edit

@Nikerabbit, do you know we can update the Goan Konkani Wikipedia translations for Wikistats?

Language names are not translated in translatewiki.net. You have to check the source code for the source of language names.

And as far as I know Wikistats is not translated in translatewiki.net (I see no language selector on that page).

The actual WikiStats used to fetch names from Names.php, IIRC. mutante's wikistats (which is what you're reporting about) might fetch them from the API.

Nemo_bis renamed this task from Gõychi Konknni's English Wikistats translation is incorrect to mutante's Wikistats uses the old English name of Gõychi Konknni.Feb 3 2017, 7:53 AM

Thank you @Nemo_bis, @Nikerabbit! (Sorry for the confusion @Milimetric)

It looks like Names.php has been updated. @Dzahn, are there any plans to revise your Wikistats instance? Thanks!

I'll look into it but it's unrelated to Names.php. Those names are just in a local database on a labs instance.

MariaDB [(none)]> use wikistats;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
MariaDB [wikistats]> select lang,loclang from wikipedias where prefix='gom';
+--------------+-------------------------------------------------------------------------+
| lang         | loclang                                                                 |
+--------------+-------------------------------------------------------------------------+
| Gova Konknni | गोवा कोंकणी |
+--------------+-------------------------------------------------------------------------+
1 row in set (0.00 sec)

MariaDB [wikistats]> update wikipedias set lang="Goan Konkani",loclang="गोंयची कोंकणी / Gõychi Konknni" where prefix="gom";
Query OK, 1 row affected (0.00 sec)
Rows matched: 1  Changed: 1  Warnings: 0


MariaDB [wikistats]> select lang,loclang from wikipedias where prefix='gom'
;+--------------+-------------------------------------------------------------------------------------------------------------+
| lang         | loclang                                                                                                     |
+--------------+-------------------------------------------------------------------------------------------------------------+
| Goan Konkani | गोंयची कोंकणी / Gõychi Konknni |
+--------------+-------------------------------------------------------------------------------------------------------------+