Last modified: 2010-04-26 08:05:24 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 T10532, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8532 - Enable variant aliases for zh WMF projects
Enable variant aliases for zh WMF projects
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Rob Halsell
http://zh.wikisource.org
: shell
Depends on:
Blocks: 19019
  Show dependency treegraph
 
Reported: 2007-01-08 11:45 UTC by shi zhao
Modified: 2010-04-26 08:05 UTC (History)
3 users (show)

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


Attachments

Description shi zhao 2007-01-08 11:45:01 UTC
see http://bugzilla.wikimedia.org/show_bug.cgi?id=7860

Please enable variant aliases for zh.wikisource.

Aliases to be set:
Alias /zh-hans <path to index.php>
Alias /zh-hant <path to index.php>

zh-hans=zh-cn : http://zh.wikisource.org/zh-hans/
zh-hant=zh-tw : http://zh.wikisource.org/zh-hant/
zh: http://zh.wikisource.org/wiki/
Comment 1 Shinjiman 2009-05-28 15:31:47 UTC
That means is to insert the following into the $wgConf->settings array:

'wgVariantArticlePath' => array(
    'zhwikisource' => '/$2/$1',
),
Comment 2 Brion Vibber 2009-05-28 19:18:15 UTC
Rob, compare with the setup on sr.wikipedia.org. Need to stick in the appropriate Aliases in the apache config, I think.
Comment 3 Shinjiman 2009-06-01 15:11:58 UTC
I think this changes can also apply to all Chinese Wikimedia projects too.

'wgVariantArticlePath' => array(
    'zhwiki' => '/$2/$1',
    'zhwiktionary' => '/$2/$1',
    'zhwikisource' => '/$2/$1',
    'zhwikibooks' => '/$2/$1',
    'zhwikiquote' => '/$2/$1',
    'zhwikinews' => '/$2/$1',
    'zhwikiversity' => '/$2/$1',
),
Comment 4 Rob Halsell 2009-08-19 19:03:48 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.

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


Navigation
Links