Hello,
I am writing a Java program to extract the abstract of the wikipedia page
given the title of the wikipedia page. I have done some research and found
out that the abstract with be in rvsection=0
So for example if I want the abstract of 'Eiffel Tower" wiki page then I am
querying using the api in the following way.
http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Eiffel…
and parse the XML data which we get and take the wikitext in the tag <rev
xml:space="preserve"> which represents the abstract of the wikipedia page.
But this wiki text also contains the infobox data which I do not need. I
would like to know if there is anyway in which I can remove the infobox data
and get only the wikitext related to the page's abstract Or if there is any
alternative method by which I can get the abstract of the page directly.
Looking forward to your help.
Thanks in Advance
Aditya Uppu
Hello there,
I recently developed an Android application that communicates with
wizard101central wiki API. There is an unofficial API programmed by my
friend, that parses data from the official API, which I use to calculate
results in my Android application.
There is an unknown error.
For example:
If I fetch data from this link:
https://wiki.wizard101central.com/wiki/api.php?action=query&list=search&srl…,
I will get 200 OK.
But if I use my localhost API that parses data from same endpoint
(localhost:3000/creatures/lormaster, which fetch data from
https://wiki.wizard101central.com/wiki/api.php?action=query&list=search&srl…),
it will return me unknown error 520.
Let me know if there are any recent changes.
Thank you for your consideration.