Hi, I have opened bug 36839<https://bugzilla.wikimedia.org/show_bug.cgi?id=36839>for this problem.
Nico On Mon, May 14, 2012 at 5:33 PM, Nicolas Vervelle <[email protected]>wrote: > Hi, > > Very recently (saturday ?) my application, > WPCleaner<http://en.wikipedia.org/wiki/User:NicoV/Wikipedia_Cleaner/Documentation>, > started to behave strangely (report on > enwiki<http://en.wikipedia.org/w/index.php?title=User_talk%3ANicoV%2FWikipedia_Cleaner%2FDocumentation&diff=492199275&oldid=482966305> > and > frwiki<http://fr.wikipedia.org/w/index.php?title=Discussion_utilisateur%3ANicoV%2FWikipedia_Cleaner&diff=78674548&oldid=78639841>), > without any modfications on my side. > > I checked what was going on, and it seems that answers from the API have > problems with accented characters, like "é". > > For example, this very long > request<http://fr.wikipedia.org/w/api.php?prop=templates&action=query&titles=Acteur%7CAlbert%20Robbins%7CAnglais%7CAnn%20Donahue%7CAnthony%20E.%20Zuiker%7CCarol%20Mendelsohn%7CCatherine%20Willows%7CDavid%20Hodges%7CDavid%20Phillips%7CGil%20Grissom%7CGreg%20Sanders%7CHodges%7CInternet%20Movie%20Database%7CJim%20Brass%7CLady%20Heather%7CLes%20Experts%20(s%C3%A9rie%20t%C3%A9l%C3%A9vis%C3%A9e)%7CLes%20Experts%20:%20Manhattan%7CLes%20Experts%20:%20Miami%7CListe%20des%20personnages%20des%20Experts%7CListe%20des%20%C3%A9pisodes%20des%20Experts%7CMod%C3%A8le%20discussion:Palette%20Les%20Experts%7CNick%20Stokes%7CPersonnage%20de%20fiction%7CPersonnage%20fictif%7CPersonnage%20de%20fiction%7CPersonnages%20r%C3%A9currents%20dans%20Les%20Experts%7CRaymond%20Langston%7CRiley%20Adams%7CSaison%201%20des%20Experts%7CSaison%2010%20des%20Experts%7CSaison%2011%20des%20Experts%7CSaison%2012%20des%20Experts%7CSaison%202%20des%20Experts%7CSaison%203%20des%20Experts%7CSaison%204%20des%20Experts%7CSaison%205%20des%20Experts%7CSaison%206%20des%20Experts%7CSaison%207%20des%20Experts%7CSaison%208%20des%20Experts%7CSaison%209%20des%20Experts%7CSara%20Sidle%7CSofia%20Curtis%7CS%C3%A9rie%20t%C3%A9l%C3%A9vis%C3%A9e%7CWallace%20Langham%7CWarrick%20Brown%7CWendy%20Simms%7C%C3%89tats-Unis>, > gives the following result (see the strange characters instead of the é, è, > ...) : > > <?xml version="1.0"?><api> > <query> > <pages> > <page ns="0" title="Les Experts (série télévisée)" missing="" /> > <page ns="0" title="Liste des épisodes des Experts" missing="" /> > <page ns="0" title="Modèle discussion:Palette Les Experts" missing="" > /> > <page ns="0" title="Personnages récurrents dans Les Experts" > missing="" /> > <page ns="0" title="Série télévisée" missing="" /> > <page ns="0" title="Wallace Langham" missing="" /> > <page ns="0" title="États-Unis" missing="" /> > <page pageid="43579" ns="0" title="Acteur" /> > > But if I reduce the number of pages in the titles= > argument<http://fr.wikipedia.org/w/api.php?prop=templates&action=query&titles=Acteur%7CAlbert%20Robbins%7CAnglais%7CAnn%20Donahue%7CAnthony%20E.%20Zuiker%7CCarol%20Mendelsohn%7CCatherine%20Willows%7CDavid%20Hodges%7CDavid%20Phillips%7CGil%20Grissom%7CGreg%20Sanders%7CHodges%7CInternet%20Movie%20Database%7CJim%20Brass%7CLady%20Heather%7CLes%20Experts%20(s%C3%A9rie%20t%C3%A9l%C3%A9vis%C3%A9e)%7CLes%20Experts%20:%20Manhattan%7CLes%20Experts%20:%20Miami%7CListe%20des%20personnages%20des%20Experts%7CListe%20des%20%C3%A9pisodes%20des%20Experts%7CMod%C3%A8le%20discussion:Palette%20Les%20Experts%7CPersonnages%20r%C3%A9currents%20dans%20Les%20Experts%7CS%C3%A9rie%20t%C3%A9l%C3%A9vis%C3%A9e%7C%C3%89tats-Unis>, > it works again correctly (the "Modèle discussion:Palette Les Experts" is > correct, other pages also but below in the answer) : > > <api> > <query> > <pages> > <page ns="0" title="Modèle discussion:Palette Les Experts" missing="" /> > <page pageid="43579" ns="0" title="Acteur" /> > <page pageid="4307505" ns="0" title="Albert Robbins" /> > <page pageid="5539" ns="0" title="Anglais"> > > > Any idea ? > Nico >
_______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
