--- Comment #10 from zayoo <> 2010-09-14 08:03:41 UTC ---
It works very nice in Mediawiki 1.16, while both client and server are Chinese,
and non-unicode is set to Chinese(PRC), using both IE and Firefox. I will test
it in English system soon.

PHP warnings occur several times about something undefined, so I made this in

if (!isset($_SERVER['REQUEST_URI']))
    if(!isset($_SERVER['SCRIPT_NAME'])) $_SERVER['SCRIPT_NAME']='';
    if(isset($_SERVER['QUERY_STRING'])) {
        $_SERVER['REQUEST_URI'] .= "?" . $_SERVER['QUERY_STRING'];

By the way, when I use IIRF for rewrite, Chinese comes into massy code
sometimes (repeatable for certain titles), especially the number of Chinese is
ODD or there're ASCII letters inside, on both clicking a link and typing into
the bar. It occurs only when the server uses Chinese for non-unicode, but
becomes normal when set English for non-unicode. It is a bug of PHP (not
Mediawiki), but never occur on ASP pages (Why?). Fortunately, I did these and
it works for most of the titles. In iirf.ini:

RewriteRule ^/$ /i/index.php?title=%E9%A6%96%E9%A1%B5 [L,QSA]
RewriteRule ^/zh[/]*$ /i/index.php?title=%E9%A6%96%E9%A1%B5 [L,QSA]
RewriteRule ^/zh/(.*)[_\x20]\((.*)\)$ /i/index.php?title=$1|||$2|| [L,QSA]
RewriteRule ^/zh/(.*)$ /i/index.php?title=$1| [L,QSA]

and in LocalSettings.ini:

if (isset($_GET['title']))

I know it's not a good method. I need some help.

And I also want Extension:SpecialUploadLocal for 1.16.0. I tried but failed -
there are too many classes involved in uploading. I think it's better to take
this function as an official (embedded) one.

Another question: can it be ignored for upper-lower case and/or
traditional-simplified Chinese for titles in Mediawiki?

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to