Page MenuHomePhabricator

Please enable variant ShortURLs for Chinese Wikipedia
Closed, DeclinedPublic

Details

Reference
bz19019

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:38 PM
bzimport set Reference to bz19019.
bzimport added a subscriber: Unknown Object (MLST).

Hmm... dunno about the extra subdomains; we're not using those for existing variants. Any issues?

PhiLiP.NPC wrote:

(In reply to comment #1)

Hmm... dunno about the extra subdomains; we're not using those for existing
variants. Any issues?

"zh-tw.wikipedia.org" exists, and was redirected to "zh.wikipedia.org".

Rob, go ahead and set up the variant URL aliases (/zh-hans /zh-cn etc). I'm a little less certain about the subdomains; I'd rather keep variant usage stricter.

I have set the aliases in the main.conf of the apache config files. I have also set the wgVariantArticlePath in InitiliseSettings.php to allow the project to use them.

The changes have been pushed and both Fred and I are looking, yet it does not seem to be functioning properly. Just updating the ticket with progress as we go.

PhiLiP.NPC wrote:

http://zh.wikipedia.org/zh/ does not work. Same as other zh project.

PhiLiP.NPC wrote:

(In reply to comment #6)

Please set up

and

as well
as the Macao and Malaysia variant for the Chinese languages.

r55415 has solved these disabled variants problem now.

hydrogen_cyanide wrote:

These URLs aren't enabled Chinese Wikibooks/Wikinews/Wikiquote/Wikisource/Wiktionary, but they appear sometimes, then HTTP404.

I'm bumping the severity to critical since this caused a 404 when changing to "no conversion". Many user had experienced this.

Could we set the "no conversion" link back to /wiki/ or just set alias for /zh/? Regards.

/wiki/ should mean "convert according user's preferences", not "don't convert"

(In reply to comment #10)

/wiki/ should mean "convert according user's preferences", not "don't convert"

So add a /zh/ instead.

Bumping this to a blocker. This is causing indefinite redirecting on zhwikisource and other zh- sites (other than zhwiki). This happens to anonymous user (almost) every time.

404 for "/zh-cn/", redirected to another 404 "/zh-cn/zh-cn/", and kept adding more "zh-cn".

Can a link be posted here to a bad redirecting URL?

Can anyone disable the short URL in failure projects(wn, ws, wt, wq, wb)? Lots of people is questions this bug, they all cannot access these sites by ANONYMOUS.

Added /zh alias (there's a tab for plain ver that hits it... not 100% sure it should be that way but it works fine :D) and copied the full set of aliases to all the project farm site configurations to fix the 404s.

(Note that some 404s may still appear in cache, so be sure to reload thoroughly before reporting any continued problems!)

With new https it does work. secure is obsolete.