Newly, the data on [[Special:LanguageStats]] are no longer updated

Fragment of a discussion from Support
Jump to navigation Jump to search


I saw timeouts on our logs, so likely I should move that to the JobQueue.

Anyway, we should hunt down why it's not updating as it should.

Nike (talk)15:09, 29 October 2018

Virtually, we can not see the messages that need to be translated. Does this mean that we must retire temporarily?

ديفيد (talk)09:27, 31 October 2018

Your message sounds impolite. I hope that was not your intention.

Nike (talk)10:43, 31 October 2018

I have cherry-picked by untested fix and purged all statistics. Give some time for them to repopulate. Let me know if you see further issues of stats not updating.

Nike (talk)10:43, 31 October 2018

I do not mean any abuse. I mean it's because we need to update stats automatically.Thanks for responding

ديفيد (talk)10:47, 31 October 2018

The problem returned quickly

ديفيد (talk)06:55, 1 November 2018

Which problem? Can you give a specific example and/or steps to reproduce?

Nike (talk)15:32, 1 November 2018

The stats have not been updating for a few days.

Hamilton Abreu (talk)11:20, 30 November 2018

Please give concrete examples (groups, languages). I don't have time to start hunting. I did one test translation and the stats updated correctly.

Nike (talk)11:33, 30 November 2018

If I go to LanguageStats for pt, I get:

2018-12-01 Special-LanguageStats 1.png

If I then click on MediaWiki, instead of 1 message to translate I get 3:

2018-12-01 Special-LanguageStats 2.png

In fact, the MediaWiki counter for pt has been at 1 for at least a week. Only going into MediaWiki did I realize that there have been messages waiting to be translated.

By the way, when I wrote the message above, the counter was 1 and only the last of the three messages was there waiting (so, I believe it is not just a counter of the outdated messages, the MediaWiki counter is not being updated at all, as far as I can tell).

If you try to do that for other languages (say, pt-br) you'll find similar differences.

Hope this helps...

Hamilton Abreu (talk)11:06, 1 December 2018

That looks correct to me. There is one untranslated message and two outdated translatiosn (which are counted as translated), but shown in the "outdated" column as 1%.

Nike (talk)11:27, 1 December 2018

If you expand MediaWiki you get this:

2018-12-01 Special-LanguageStats 3.png

Hamilton Abreu (talk)11:47, 1 December 2018

Today, it still shows a total of 1:

2018-12-01 Special-LanguageStats 4.png

But now there are 4 messages, 2 new, 2 outdated:

2018-12-01 Special-LanguageStats 5.png

Further, if we expand MediaWiki we still get 1 for MediaWiki, 3 for MediaWiki Core, and nothing else, so the message group of the new message, Wikimedia Project Names, is not represented nor reflected in the totals:

2018-12-01 Special-LanguageStats 6.png

The MediaWiki counter continues at 1, same as it has been for over a week now, doesn't increase with new/outdated messages nor decrease with translations/updates.

Hamilton Abreu (talk)10:13, 2 December 2018

A user who was supposedly retired from decided to come in precisely now, at this time, and from the thousands of messages requiring translation, help by translating one of the 4 messages from the MediaWiki group that I have been describing.

The counter now reads 3, instead of 1.

2018-12-01 Special-LanguageStats 7.png

Did someone do anything that corrected the pt counter before that translation was made? Was anything changed or corrected?

Hamilton Abreu (talk)22:10, 2 December 2018

At this time, we have the indication of 1 message needing translation for MediaWiki:

2018-12-01 Special-LanguageStats 8.png

But there are many more messages:

2018-12-01 Special-LanguageStats 9.png

Hamilton Abreu (talk)00:15, 5 December 2018

Now, 12 hours later, the situation reported persists. LanguageStats reports 1 message for MediaWiki and 1 for MediaWiki core. Going into MediaWiki, however, there are several messages waiting for translation, not 1. It seems, at this time, that MediaWiki groups other than MediaWiki core are not being counted by LanguageStats.

I noticed that it is now apparently possible to purge the cache - that has not been possible for some time. So, I just purged LanguageStats and some people should now realise there have been 17 MediaWiki messages waiting for translation for a couple of days.

Hamilton Abreu (talk)13:05, 5 December 2018

Thanks for patience. I have a hunch what could cause this and will investigate. Due to holidays, except a response next week.

Nike (talk)13:15, 5 December 2018

Took quite a bit longer, but there is now a patch in review.

Nike (talk)19:38, 15 January 2019