[Bug 26165] mediawiki api action=parse does not support language variants
https://bugzilla.wikimedia.org/show_bug.cgi?id=26165 --- Comment #3 from Derk-Jan Hartman hart...@videolan.org 2011-01-28 09:30:09 UTC --- Does it also support variant=, like index.php uses ? -- 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
[Bug 26165] mediawiki api action=parse does not support language variants
https://bugzilla.wikimedia.org/show_bug.cgi?id=26165 --- Comment #4 from Derk-Jan Hartman hart...@videolan.org 2011-01-28 09:31:30 UTC --- (In reply to comment #3) Does it also support variant=, like index.php uses ? seems it does. http://sr.wikipedia.org/w/api.php?action=parsetext=fooprop=textdisableppvariant=sr-el http://sr.wikipedia.org/w/api.php?action=parsetext=fooprop=textdisableppvariant=sr-ec -- 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
[Bug 26165] mediawiki api action=parse does not support language variants
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=parsetext=fooprop=textdisablepp produces foo (plus some html). (aka no variant) http://sr.wikipedia.org/w/api.php?action=parsetext=fooprop=textdisableppuselang=sr-el produces foo (aka, the Latin variant is selected) http://sr.wikipedia.org/w/api.php?action=parsetext=fooprop=textdisableppuselang=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
[Bug 26165] mediawiki api action=parse does not support language variants
https://bugzilla.wikimedia.org/show_bug.cgi?id=26165 Robert Chin robert.c...@gmail.com changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #2 from Robert Chin robert.c...@gmail.com 2011-01-28 04:15:29 UTC --- Thanks for that, I guess this is new in 1.17 which is why it is not in the documentation returned by api.php. -- 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
[Bug 26165] mediawiki api action=parse does not support language variants
https://bugzilla.wikimedia.org/show_bug.cgi?id=26165 Robert Chin robert.c...@gmail.com changed: What|Removed |Added Priority|Normal |High -- 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