Page MenuHomePhabricator

Impossible to reach certain Japanese Wikipedia pages about Cyrillic characters in Firefox; returns zero bytes (due to protectionIndicator gadget)
Closed, ResolvedPublic

Description

In jawiki, if you access a page name that uses non-major Cyrillic characters, you will not be able to jump to the next page.
This only happens in Firefox. There was no problem with Chrome and Edge.

jawiki first report

Operating environment
・ Windows10 64bit Japanese Edition
・ Firefox 93.0

Target page
Ӑ -jawiki
Ӕ -jawiki
Ӄ -jawiki
Ӆ -jawiki
etc ...

Event Timeline

Seems to also happen in Firefox for Android. Also after visiting those pages further pages on jawiki do not open even via links here which is weird.

Aklapper renamed this task from Non-major Cyrillic characters cannot transition pages when used in page names. For Firefox. to Impossible to reach certain Japanese Wikipedia pages about Cyrillic characters in Firefox; returns zero bytes.Oct 28 2021, 8:49 PM

Removing Language-Team (as it's up to each team what they plan to work on).

I *cannot* reproduce this when using firefox -safe-mode. Can someone confirm this?

I see the same problem on one machine in Firefox 93 when *not* using safe mode, but this seems to be spurious. I even have problems reaching the URL https://ja.wikipedia.org/ in a Firefox private window on that machine.

Screenshot from 2021-10-28 23-08-20.png (597×1 px, 202 KB)

However, on another machine on the same network (with less Firefox customizations and no add-ons), the same Firefox 93 has no problems at all.

Which makes me think that this has to do with either some Firefox settings, or some add-ons or extensions.

I can reproduce this in Firefox safemode.

The source of the problem appears to be the cookie curPage. Removing the cookie from the request header returns the page. Blocking the cookie fixes the issue.

Legoktm triaged this task as Unbreak Now! priority.Oct 28 2021, 10:16 PM
Legoktm subscribed.

Uhh, I can reproduce this too. Where is this curPage cookie coming from?

Uhh, I can reproduce this too. Where is this curPage cookie coming from?

From IRC:

00:20 <urbanecm> legoktm: maybe https://ja.wikipedia.org/wiki/MediaWiki:Gadget-protectionLog.js/core.js#L-30?
00:24 <urbanecm> loaded at https://ja.wikipedia.org/wiki/MediaWiki:Gadgets-definition with `protectionIndicator[ResourceLoader|default]|protectionLog.js|protectionLog.css`, see https://ja.wikipedia.org/wiki/MediaWiki:Gadget-protectionLog.js#L-191

Per @Legoktm's request, I temporarily removed the gadget from the list of gadgets loaded by default.

Legoktm lowered the priority of this task from Unbreak Now! to High.Oct 28 2021, 10:48 PM

Screenshot from 2021-10-28 15-47-27.png (142×3 px, 32 KB)

Screenshot from 2021-10-28 15-47-55.png (1×1 px, 263 KB)

Screenshot from 2021-10-28 15-48-08.png (2×3 px, 932 KB)

Aklapper renamed this task from Impossible to reach certain Japanese Wikipedia pages about Cyrillic characters in Firefox; returns zero bytes to Impossible to reach certain Japanese Wikipedia pages about Cyrillic characters in Firefox; returns zero bytes (due to protectionIndicator gadget).Oct 29 2021, 8:36 AM