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 Everyone,
Sorry for posting here. I am Jay Prakash. As part of my
GSoC project, I have developed the sample code in PHP, Javascript, and
MediaWiki JS to demonstrate the use of MediaWiki Action API modules. I
want/seek review, valuable suggestions, and feedback on the sample code
format and accuracy. Please give us your valuable suggestions and feedback
at T228549.[1]
Thank you :)
User:Jayprakash12345
Intern, GSoC 2019 w/o Wikimedia Foundation
[1] https://phabricator.wikimedia.org/T228549
Hello everyone.
Please see this link: https://phabricator.wikimedia.org/T212907
The problem in short description is that in some wikis there is a problem
with number of articles. Specially the big articles. When any article
exceed the transclusion limit of the templates, then the templates in the
bottom will not be shown. Also the article loads very very slow.
Then I find out that if we use Rest API
https://www.mediawiki.org/api/rest_v1/ to get the content of the pages that
contain the same problem, then it will loads very fast, and the problem
disappear.
So Aklapper ask to post this question in this email list. See the Phab ID
for more details.
Best regards.
Ahmed.