Last modified: 2014-02-25 12:49:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62473, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60473 - 404 error when changing between zh-hans, zh-hant, zh-hk, zh-sg etc. ("p-variants") at Chinese Wikivoyage
404 error when changing between zh-hans, zh-hant, zh-hk, zh-sg etc. ("p-varia...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Apache configuration (Other open bugs)
wmf-deployment
All All
: High major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
https://zh.wikivoyage.org/
:
Depends on:
Blocks: 60367
  Show dependency treegraph
 
Reported: 2014-01-27 15:11 UTC by Hkjacksonhk
Modified: 2014-02-25 12:49 UTC (History)
13 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Hkjacksonhk 2014-01-27 15:11:10 UTC
Just like the topic, when we change the language between zh-hans, zh-hant , zh-hk, zh-sg, zh-mo, zh-cn, etc. the websit will auto transfer to tools.wmflabs.org and tell me "page not found". Please fix this bug.
Comment 1 Andre Klapper 2014-01-27 18:55:06 UTC
Please provide steps to reproduce, click by click, so somebody else could try to see the same problem too.
Comment 2 Sam Reed (reedy) 2014-01-27 19:53:14 UTC
(In reply to comment #0)
> Just like the topic, when we change the language between zh-hans, zh-hant ,
> zh-hk, zh-sg, zh-mo, zh-cn, etc. the websit will auto transfer to
> tools.wmflabs.org and tell me "page not found". Please fix this bug.

Redirecting to meta has some sense, redirecting to tools.wmflabs.org seems very unlikely...
Comment 3 Andre Klapper 2014-01-27 20:34:59 UTC
I again wonder where that code is related (Gadget? Cannot see anything in https://zh.wikivoyage.org/wiki/MediaWiki:Common.css and .js)
Comment 4 Byfserag 2014-01-28 02:45:01 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > Just like the topic, when we change the language between zh-hans, zh-hant ,
> > zh-hk, zh-sg, zh-mo, zh-cn, etc. the websit will auto transfer to
> > tools.wmflabs.org and tell me "page not found". Please fix this bug.
> 
> Redirecting to meta has some sense, redirecting to tools.wmflabs.org seems
> very
> unlikely...

Yes.It will redirect to zh.wikivoyage.org/wiki/Zh/* ,not tools.wmflabs.org.
Comment 5 Byfserag 2014-01-28 02:48:59 UTC
See also https://bugzilla.wikimedia.org/show_bug.cgi?id=60367.
Comment 6 zhuyifei1999 2014-01-28 03:42:31 UTC
(In reply to comment #0)
> the websit will auto transfer to tools.wmflabs.org and tell me "page not found". 

Which page in labs?
Comment 7 This, that and the other (TTO) 2014-01-29 01:47:00 UTC
(In reply to comment #1)
> Please provide steps to reproduce, click by click, so somebody else could try
> to see the same problem too.

Go to zh.wikivoyage.org, and select an item from the dropdown next to the "talk" tab. You should get a page written in a different language variant (as seen on zhwiki, for example). Instead you get a 404.

Variants seems not to be enabled on zhwikivoyage. Maybe a missing setting in InitialiseSettings.
Comment 8 This, that and the other (TTO) 2014-01-29 01:48:25 UTC
(In reply to comment #7)
> Maybe a missing setting in InitialiseSettings.

or a missing Apache setup directive.
Comment 9 Byfserag 2014-01-29 03:11:26 UTC
zh.wikivoyage.org/wiki/首页?variant=zh works.
Comment 10 Liangent 2014-01-29 04:11:34 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > Maybe a missing setting in InitialiseSettings.
> 
> or a missing Apache setup directive.

Yes, in https://noc.wikimedia.org/conf/main.conf there're some lines like

  Alias /zh /usr/local/apache/common/docroot/wikipedia.org/w/index.php

which need to copied to the Wikivoyage section.
Comment 11 Liangent 2014-01-29 04:15:22 UTC
(In reply to comment #1)
> Please provide steps to reproduce, click by click, so somebody else could try
> to see the same problem too.

Andre could you please cc me for any similar issues related to variant configurations?
Comment 12 Gerrit Notification Bot 2014-01-29 10:18:57 UTC
Change 110155 had a related patch set uploaded by TTO:
Add variant rewrites for zhwikivoyage

https://gerrit.wikimedia.org/r/110155
Comment 13 Byfserag 2014-02-05 13:06:12 UTC
Please fix it quickly.
Comment 14 Andre Klapper 2014-02-05 14:34:28 UTC
Liangent gave a -1 on https://gerrit.wikimedia.org/r/#/c/110155/ so you should discuss the patchset in Gerrit instead to reach agreement.
Comment 15 Liangent 2014-02-05 15:00:06 UTC
(In reply to comment #14)
> Liangent gave a -1 on https://gerrit.wikimedia.org/r/#/c/110155/ so you
> should
> discuss the patchset in Gerrit instead to reach agreement.

That -1 is for some technical inconsistency between configuration files, not for any disagreement in consensus.
Comment 16 Byfserag 2014-02-09 02:30:32 UTC
It isn't a normal bug ,please change the importance to "high" and change the severity to "critical". Because the bug blocks language converting completely.
Comment 17 Andre Klapper 2014-02-10 12:53:35 UTC
https://gerrit.wikimedia.org/r/#/c/110155/ looks like we only need deployment now. 
Reedy?
Comment 18 zhuyifei1999 2014-02-16 06:12:23 UTC
@Dzahn / Faidon Liambotis
Comment 19 zhuyifei1999 2014-02-18 09:50:30 UTC
@Andre / TTO / Dzahn / Faidon Liambotis: Any updates?
Comment 20 Andre Klapper 2014-02-18 11:27:05 UTC
Obviously not yet, otherwise updates would be mentioned here. You can find out by clicking at the link in comment 17 and checking the status of the patch.

Also note that every comment added to Bugzilla creates bugmail that recipients need to read. :)
Comment 21 Byfserag 2014-02-25 07:52:40 UTC
Who can deploy it?
Comment 22 Gerrit Notification Bot 2014-02-25 08:04:14 UTC
Change 110155 merged by Faidon Liambotis:
Add variant rewrites for zhwikivoyage

https://gerrit.wikimedia.org/r/110155
Comment 23 Faidon Liambotis 2014-02-25 08:15:20 UTC
I just did. The links work from here but it's hard for me to test it properly. Please do and let us know!
Comment 24 Byfserag 2014-02-25 12:46:46 UTC
It works now!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links