Page MenuHomePhabricator

Both nb and no appear as target languages on Special:CXStats
Open, LowPublic

Description

Both nb and no appear as target languages on Special:CXStats. There should only be one, probably "no".

Event Timeline

Amire80 created this task.Apr 7 2015, 2:33 PM
Amire80 raised the priority of this task from to Normal.
Amire80 updated the task description. (Show Details)
Amire80 added subscribers: Amire80, Aklapper, Nikerabbit.
jeblad added a subscriber: jeblad.Jun 20 2015, 9:20 PM

This still happens with the redesigned CXStats page.

Amire80 set Security to None.
Amire80 raised the priority of this task from Normal to High.Jun 23 2015, 9:31 AM
Amire80 moved this task from Needs Triage to CX6 on the ContentTranslation board.

It is not obvious to me why there should only be one. There are two separate Wikipedias. Can you explain?

santhosh lowered the priority of this task from High to Normal.Jun 25 2015, 3:15 AM
santhosh added a subscriber: santhosh.

There are two separate Wikipedias.

The two locales are "nb" and "nn". The "nb" wiki is still at "no" subdomain, technically one translates to nb.

So we could remove one from the language selector, but we also would need to manually update the database for existing entries – or do it on the fly, but that is a bit icky.

'no' and 'nn' are separate Wikipedias.

'nb' and 'no' refer to the same language in the Wikimedia world (ideally, 'no' should be a macro code that refers to 'nb' and 'nn', according to ISO).

The way MediaWiki works now, it doesn't make much sense that both 'nb' and 'no' will appear in the same screen, be it a selector, a statistics table, etc.

So we could remove one from the language selector, but we also would need to manually update the database for existing entries – or do it on the fly, but that is a bit icky.

Updating the database would be nice, and getting new entries created under just one correct code would be nice as well.

Amire80 lowered the priority of this task from Normal to Low.Jul 2 2015, 12:51 PM
Pginer-WMF moved this task from CX6 to CX7 on the ContentTranslation board.Jul 21 2015, 4:26 PM
Nemo_bis removed a subscriber: Nemo_bis.Jan 18 2016, 2:29 PM
Amire80 moved this task from CX8 to Bugs on the ContentTranslation board.Apr 20 2016, 1:07 PM

No new entries using code no should appear after T132217: Machine translation in Content translation from nowiki to nnwiki broken. That should be confirmed by inspect the database after some time.

I can confirm the above.

mysql:research@analytics-store.eqiad.wmnet [wikishared]> select substr(translation_start_timestamp,1,6) as ts, count(*) from cx_translations where translation_source_language = 'no' or translation_target_language = 'no' group by ts;
+--------+----------+

tscount(*)

+--------+----------+

20150114
20150221
2015038
20150423
20150517
20150618
20150713
20150830
20150918
20151016
20151176
201512296
201601100
20160257
20160336
20160415
20160535
2016063

+--------+----------+

Last one is from 2016-06-03