Hey,

It seems the following API call works for Wikipedia pages:

https://en.wikipedia.org/w/api.php?action=query&prop=extracts&exsentences=10&titles=Pet_door

But not for Wikisource pages:

https://en.wikisource.org/w/api.php?action=query&prop=extracts&exsentences=10&titles=A_Simplified_Grammar_of_the_Swedish_Language

Is there documentation somewhere about the API not working for Wikisource
or perhaps only certain actions / props working for certain sites?

How can I get the full plaintext from an entire book on Wikisource with the
API?

Thanks,
Julius
_______________________________________________
Mediawiki-api mailing list -- mediawiki-api@lists.wikimedia.org
To unsubscribe send an email to mediawiki-api-le...@lists.wikimedia.org

Reply via email to