https://bugzilla.wikimedia.org/show_bug.cgi?id=26165

Bawolff <bawolff...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bawolff...@gmail.com
         Resolution|                            |WORKSFORME

--- Comment #1 from Bawolff <bawolff...@gmail.com> 2011-01-27 19:47:11 UTC ---
This works for me. (Assuming the language code of the wiki is one that has
variants like zh or sr);

(I'm testing Serbian, because I can't make heads or tails out of Chinese
characters, but I can tell the difference between Latin and Cyrillic.)

http://sr.wikipedia.org/w/api.php?action=parse&text=foo&prop=text&disablepp
produces "foo" (plus some html). (aka no variant)

http://sr.wikipedia.org/w/api.php?action=parse&text=foo&prop=text&disablepp&uselang=sr-el
produces "foo" (aka, the Latin variant is selected)

http://sr.wikipedia.org/w/api.php?action=parse&text=foo&prop=text&disablepp&uselang=sr-ec
produces "фоо" (aka Cyrillic variant)

This also works using the page parameter as well. Thus, this is supported via
the uselang parameter, so closing works for me.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to