Last modified: 2013-06-18 15:29:51 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 T21019, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19019 - Please enable variant ShortURLs for Chinese Wikipedia
Please enable variant ShortURLs for Chinese Wikipedia
Status: RESOLVED WORKSFORME
Product: Wikimedia
Classification: Unclassified
Language setup (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://zh.wikipedia.org
: ops
Depends on: 8532
Blocks: 21301 21389
  Show dependency treegraph
 
Reported: 2009-05-31 08:00 UTC by Philip Tzou
Modified: 2013-06-18 15:29 UTC (History)
14 users (show)

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


Attachments

Comment 1 Brion Vibber 2009-06-22 23:38:43 UTC
Hmm... dunno about the extra subdomains; we're not using those for existing variants. Any issues?
Comment 2 Philip Tzou 2009-06-23 05:01:37 UTC
(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".
Comment 3 Brion Vibber 2009-07-13 20:42:12 UTC
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.
Comment 4 Rob Halsell 2009-08-19 19:04:07 UTC
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.
Comment 5 Philip Tzou 2009-08-20 15:59:15 UTC
http://zh.wikipedia.org/zh/ does not work. Same as other zh project.
Comment 6 Shinjiman 2009-08-21 14:15:15 UTC
Please set up 
* http://zh.wikipedia.org/zh-mo/ => http://zh.wikipedia.org/wiki/?variant=zh-mo and
* http://zh.wikipedia.org/zh-my/ => http://zh.wikipedia.org/wiki/?variant=zh-my as well
as the Macao and Malaysia variant for the Chinese languages.
Comment 7 Philip Tzou 2009-08-21 17:35:37 UTC
(In reply to comment #6)
> Please set up 
> * http://zh.wikipedia.org/zh-mo/ => http://zh.wikipedia.org/wiki/?variant=zh-mo
> and
> * http://zh.wikipedia.org/zh-my/ => http://zh.wikipedia.org/wiki/?variant=zh-my
> as well
> as the Macao and Malaysia variant for the Chinese languages.
> 

r55415 has solved these disabled variants problem now.
Comment 8 Hat600 2009-08-24 06:57:05 UTC
These URLs aren't enabled Chinese Wikibooks/Wikinews/Wikiquote/Wikisource/Wiktionary, but they appear sometimes, then HTTP404.
Comment 9 Jimmy Xu 2009-09-05 14:06:21 UTC
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.
Comment 10 Liangent 2009-09-05 14:40:20 UTC
/wiki/ should mean "convert according user's preferences", not "don't convert"
Comment 11 Jimmy Xu 2009-09-05 14:41:08 UTC
(In reply to comment #10)
> /wiki/ should mean "convert according user's preferences", not "don't convert"
> 

So add a /zh/ instead.
Comment 12 Jimmy Xu 2009-09-08 13:03:15 UTC
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".
Comment 13 Aaron Schulz 2009-09-12 19:46:36 UTC
Can a link be posted here to a bad redirecting URL?
Comment 15 Alex S.H. Lin 2009-10-30 21:34:48 UTC
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.
Comment 16 Brion Vibber 2009-11-08 15:35:19 UTC
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!)
Comment 17 Jimmy Xu 2010-04-06 13:55:22 UTC
REOPENED this bug, the alias does not work on the secure server.

https://secure.wikimedia.org/wikipedia/zh/zh-cn/Wikipedia:%E9%A6%96%E9%A1%B5
compared to
https://secure.wikimedia.org/wikipedia/zh/wiki/Wikipedia:%E9%A6%96%E9%A1%B5
Comment 18 matanya 2012-08-05 21:11:28 UTC
With new https it does work. secure is obsolete.

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


Navigation
Links