Page MenuHomePhabricator

Some interface messages are default messages instead of local overrides for language variants on Chinese Wikivoyage
Closed, InvalidPublic

Description

There are some interface message displayed as default messages (from translatewiki) instead of local overrides.
Chinese Wikivoyage: pagetitle, sidebar, Sitetitle etc
Chinese Wikipedia: pagetitle-view-mainpage, mycontris. portal, about. sitesupport and so on. (Report on Village pump)

The interface messages of Wikivoyage are good and bad, but Sidebar has never recovered to what it should look like on the local side. It has been nearly two months, but there has been no sign of improvement...
Chinese Wikivoyage problem list:


Old description:
The normal display is 維基導遊,自由的旅遊指南 (Traditional Chinese ) or 维基导游,自由的旅游指南(Simplified Chinese), not should only display is 维基导游 , by the way, the problem has recently occurred, who can help improve?

2019-07-24_21-23-09.png (144×1 px, 29 KB)

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
In T228876#5361800, @A2093064 wrote:

Are you browsing in zh-tw content language?

Interface language: zh-Hant-TW
Content language variant: zh-Hant

The changes you made are for zh-tw content language, so you won't see any changes.

Although we don't know why, but it seems to be back to normal, so can I close this task?

No site configuration changes, no site interface page changes, I suspect the problem caused by the gadget (javascript can modify the page title). But I did not debug it carefully.

The changes you made are for zh-tw content language, so you won't see any changes.

Interface message follow Interface language setting. And I use uselang=xxx to check it.

I suspect the problem caused by the gadget (javascript can modify the page title).

I don't think so. This bug still exists with safemode=1.

Xiplus renamed this task from The Chinese Wikivoyage tab name display error in browser to Some interface messages are displayed as default messages instead of local overrides on Chinese Wikipedia and Wikivoyage.Jul 25 2019, 3:53 PM
Xiplus reopened this task as Open.
Xiplus updated the task description. (Show Details)

Reopen because I found same bug happen on zhwiki.

Aklapper renamed this task from Some interface messages are displayed as default messages instead of local overrides on Chinese Wikipedia and Wikivoyage to Some interface messages are default messages instead of local overrides for language variants on Chinese Wikipedia and Wikivoyage.Jul 25 2019, 6:04 PM

I've also noticed this. Could be reproduced under Chrome 75 and on Chinese Wikipedia.

Sorry... Wikivoyage also problem again, and not fixed...

T229339 also same problem?

Umm.... I think also problem, because I also find many MediaWiki have display problem....

MediaWiki is maybe problem, but in local is no change, who can fix it in MediaWiki?

I think this problem only appears on some wikis. In my development environment, I can't reproduce this problem.

But I using Yandex and Google Chrome browser find sidebar and search bar is problem, and many Simplified Chinese user also find same problem(Via Telegram group feedback)...

And it’s sometime good and sometime bad phenomenon.

I can reproduce the problem that pagetitle wrong when I set my interface language to zh. [[MediaWiki:Pagetitle/zh]] is the default message, but this should not be the cause of the problem, because wgLanguageCode for zhwiki is zh, and [[MediaWiki:Pagetitle]] will cover [[MediaWiki:Pagetitle/zh]]. But I don't know why the coverage didn't take effect.

Umm... I have try to reproduce MediaWiki:Sidebar and MediaWiki:Pagetitle(I think include search bar name) on Wikivoyage, but no fixed successful.

Who can help reproduce the MediaWiki code?

click https://zh.wikipedia.org/wiki/Special:%E9%9A%8F%E6%9C%BA%E9%A1%B5%E9%9D%A2 (random page), click 10 times, 5 times nstab-main display as "页面", 5 times display as "条目"

Viztor subscribed.

I can reproduce the problem that pagetitle wrong when I set my interface language to zh. [[MediaWiki:Pagetitle/zh]] is the default message, but this should not be the cause of the problem, because wgLanguageCode for zhwiki is zh, and [[MediaWiki:Pagetitle]] will cover [[MediaWiki:Pagetitle/zh]]. But I don't know why the coverage didn't take effect.

This is likely due to T229992, you must have set all MediaWiki:MSG/variants to overwrite, even if it has set a fallback variant

Test Results:

  • Normal page ( nstab-main display as "条目" ): x-powered-by: PHP/7.2.16-1+0~20190307202415.17+stretch~1.gbpa7be82+wmf1
  • Anomalous page ( nstab-main display as "页面" ): x-powered-by: HHVM/3.18.6-dev

I have to say that MediaWiki.org also has this problem. The sidebar I saw was completely different from what I saw before. (I use zh as my interface language)

Maybe we should consider the impact of this ticket, it seems to affect multiple sites.

Test Results:

  • Normal page ( nstab-main display as "条目" ): x-powered-by: PHP/7.2.16-1+0~20190307202415.17+stretch~1.gbpa7be82+wmf1
  • Anomalous page ( nstab-main display as "页面" ): x-powered-by: HHVM/3.18.6-dev

This mean we using HHVM and having this error? BTW,some time Tags php7 (PHP7) will show in Tags,but some time it didn't work,like https://zh.wikipedia.org/w/index.php?title=Wikipedia:沙盒&action=history

In T228876#5407026, @Sunny00217 wrote:

Test Results:

  • Normal page ( nstab-main display as "条目" ): x-powered-by: PHP/7.2.16-1+0~20190307202415.17+stretch~1.gbpa7be82+wmf1
  • Anomalous page ( nstab-main display as "页面" ): x-powered-by: HHVM/3.18.6-dev

This mean we using HHVM and having this error? BTW,some time Tags php7 (PHP7) will show in Tags,but some time it didn't work,like https://zh.wikipedia.org/w/index.php?title=Wikipedia:沙盒&action=history

As I've said in T229379, this has nothing to do with hhvm/php7.

In T228876#5407026, @Sunny00217 wrote:

Test Results:

  • Normal page ( nstab-main display as "条目" ): x-powered-by: PHP/7.2.16-1+0~20190307202415.17+stretch~1.gbpa7be82+wmf1
  • Anomalous page ( nstab-main display as "页面" ): x-powered-by: HHVM/3.18.6-dev

This mean we using HHVM and having this error? BTW,some time Tags php7 (PHP7) will show in Tags,but some time it didn't work,like https://zh.wikipedia.org/w/index.php?title=Wikipedia:沙盒&action=history

As I've said in T229379, this has nothing to do with hhvm/php7.

Than why error show on x-powered-by: HHVM/3.18.6-dev(HHVM) but not in x-powered-by: PHP/7.2.16-1+0~20190307202415.17+stretch~1.gbpa7be82+wmf1(PHP7)?

It's big trouble.... Is this a problem due to updating MediaWiki?

In T228876#5407992, @Sunny00217 wrote:
In T228876#5407026, @Sunny00217 wrote:

Test Results:

  • Normal page ( nstab-main display as "条目" ): x-powered-by: PHP/7.2.16-1+0~20190307202415.17+stretch~1.gbpa7be82+wmf1
  • Anomalous page ( nstab-main display as "页面" ): x-powered-by: HHVM/3.18.6-dev

This mean we using HHVM and having this error? BTW,some time Tags php7 (PHP7) will show in Tags,but some time it didn't work,like https://zh.wikipedia.org/w/index.php?title=Wikipedia:沙盒&action=history

As I've said in T229379, this has nothing to do with hhvm/php7.

Than why error show on x-powered-by: HHVM/3.18.6-dev(HHVM) but not in x-powered-by: PHP/7.2.16-1+0~20190307202415.17+stretch~1.gbpa7be82+wmf1(PHP7)?

It seems that there is nothing to do with PHP engines. The randomness of the interface error has made me think of that if there is any problem in Varnish.

Is it because there is something updated in July, which will cause this problem? If so, can try to fall back to the part before July?

Before discussing when the change is causing the problem, we first need to find the time to first discover the problem. The start time for the problem may much earlier than this ticket was created.

So far, there has been no improvement. What is the progress now?

For the start, a clear description with clear steps to reproduce, expected behavior, and actual behavior, as a list of bullet-point steps, would be very welcome.
You can edit the task description by clicking Edit Task.

I have already written, this is already the problem that is currently unresolved.

And as I already wrote, we need a list of clear steps to reproduce that allow anyone else to follow that list of steps to see the problem. Thanks :)

I have update description, please help fix it, thanks.

Nobody can fix it if you do not provide clear steps that allow other people to see and reproduce a problem...
I've asked for clear steps several times here, but my requests are ignored in this task. https://www.mediawiki.org/wiki/How_to_report_a_bug

Nobody can fix it if you do not provide clear steps that allow other people to see and reproduce a problem...
I've asked for clear steps several times here, but my requests are ignored in this task. https://www.mediawiki.org/wiki/How_to_report_a_bug

Just implement anything that could be described by the following pseudocode, and you'll reproduce the problem:

do
{
     pagehtml=gethtmlbyurl("https://zh.wikipedia.org/wiki/Special:Random");
 }while (! pagehtml contains the substring "来自Wikipedia");
 print pagehtml;

Expected behavior: infinite loop, as "来自Wikipedia" is the default interface message, which should always be overridden by local settings.
Oberserved behavior: The loop terminates after a few minutes, hence the problem.

Nobody can fix it if you do not provide clear steps that allow other people to see and reproduce a problem...
I've asked for clear steps several times here, but my requests are ignored in this task. https://www.mediawiki.org/wiki/How_to_report_a_bug

Just implement anything that could be described by the following pseudocode, and you'll reproduce the problem:

Implemented in python.

1import requests
2
3cnt = 0
4while True:
5 cnt += 1
6 req = requests.get('https://zh.wikipedia.org/wiki/Special:Random?uselang=zh-tw')
7 html = req.text
8 print(cnt)
9 if '<div id="siteSub" class="noprint">維基百科,自由的百科全書</div>' not in html:
10 break
11
12with open('temp.html', 'w', encoding='utf8') as f:
13 f.write(html)

Krinkle claimed this task.
Krinkle subscribed.

Most certainly the same issue as T229379. However this is solved now per T176370.

Xiplus reopened this task as Open.EditedOct 3 2019, 4:00 AM
Xiplus removed Krinkle as the assignee of this task.
Xiplus removed a project: HHVM.

I can reproduce this bug with x-powered-by: PHP/7.2.22-1+0~20190902.26+debian9~1.gbpd64eb7+wmf1, so HHVM is not related.

WDoranWMF subscribed.

Would Language-Team have input or where the right place to start looking to resolve this might?

I've the priority to low let me know if that is incorrect.

Shizhao renamed this task from Some interface messages are default messages instead of local overrides for language variants on Chinese Wikipedia and Wikivoyage to Some interface messages are default messages instead of local overrides for language variants on Chinese Wikivoyage.Mar 25 2020, 7:37 AM
Shizhao updated the task description. (Show Details)

This problem can no longer be reproduced at Chinese Wikipedia.

Xiplus closed this task as Invalid.EditedMar 25 2020, 9:27 AM

Cannot be reproduced on Chinese Wikivoyage now. It's fixed by unknown reasons. Closing it as invalid.