On Thu, 13 Dec 2007, Jan Hecking wrote: > On 12/13/2007 1:04 AM, Roan Kattouw wrote: > > Jan Hecking schreef: > > > >> Hi, > >> > >> Is it possible to retrieve content in different Chinese language > >> variants using the /w/api.php API? There doesn't seem to be a variant or > >> language parameter that would allow selecting a variant like "zh-tw" or > >> "zh-hk". Is there some other way to do this? > >> > > How is this done in the regular user interface, then? > > > I would like to know that as well. :) > > My suspicion is that the user interface, i.e. the frontend servers, do > the conversion. Which would mean that all users of the MediaWiki API > would have to replicate that work. That would severely limit the use of > the API for Chinese language content IMHO. But then I don't know much > about MediaWiki yet and maybe I have just missed something obvious. > > Thanks, > Jan > >
There is a "variant" parameter in http://www.mediawiki.org/wiki/Manual:Parameters_to_index.php I believe it's only used for Chinese. Paolo [[User:Tizio]] _______________________________________________ Mediawiki-api mailing list [email protected] http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
