Hello everybody, I noticed a possible glitch at wikipedia api prop=excerpts
In some cases, parameter *exsentences* does not return the number of sentences, but the coordinates of an article. Instead parameter *exchars* return a number of chars, and also the coordinates. E.g. please have a look here: http://en.wikipedia.org/wiki/United_World_College_of_the_Adriatic http://en.wikipedia.org/w/api.php?format=jsonfm&action=query&pageids=1266661&prop=extracts&exintro&explaintext&exsentences=10 http://en.wikipedia.org/w/api.php?format=jsonfm&action=query&pageids=1266661&prop=extracts&exchars=300&exintro&explaintext I would like to have just the intro with the sentences. Another example, though I think this is not an error, is with names, e.g. H. P. Lovecraft: Against the World, Against Life http://en.wikipedia.org/w/api.php?format=jsonfm&action=query&pageids=17545993&prop=extracts&exsentences=2&exintro&explaintext Here I obtained a truncated sentence, cause the dots in the name force the sentence to be truncated. Is it a fix to do? coordinates should appear only with their module, right? -- Luigi Assom Skype contact: oggigigi
_______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
