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...
http://en.wikipedia.org/w/api.php?format=jsonfm&action=query&pageids...
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... 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?
Thanks for reporting, Luigi!
On 27.11.2013, 19:54 Luigi wrote:
http://en.wikipedia.org/w/api.php?format=jsonfm&action=query&pageids...
http://en.wikipedia.org/w/api.php?format=jsonfm&action=query&pageids...
Filed as https://bugzilla.wikimedia.org/show_bug.cgi?id=57668
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... Here I obtained a truncated sentence, cause the dots in the name force the sentence to be truncated.
Filed as https://bugzilla.wikimedia.org/show_bug.cgi?id=57669
Is it a fix to do? coordinates should appear only with their module, right?
Not exactly, what you're seeing are coordinates from page HTML which we fail to filter out.
glad to have contributed!! Hope they will fixed soon, I've just casted my vote :D
On Wed, Nov 27, 2013 at 5:46 PM, Max Semenik maxsem.wiki@gmail.com wrote:
Thanks for reporting, Luigi!
On 27.11.2013, 19:54 Luigi wrote:
http://en.wikipedia.org/w/api.php?format=jsonfm&action=query&pageids...
http://en.wikipedia.org/w/api.php?format=jsonfm&action=query&pageids...
Filed as https://bugzilla.wikimedia.org/show_bug.cgi?id=57668
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...
Here I obtained a truncated sentence, cause the dots in the name force the sentence to be truncated.
Filed as https://bugzilla.wikimedia.org/show_bug.cgi?id=57669
Is it a fix to do? coordinates should appear only with their module, right?
Not exactly, what you're seeing are coordinates from page HTML which we fail to filter out.
-- Best regards, Max Semenik ([[User:MaxSem]])
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
mediawiki-api@lists.wikimedia.org