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
Actually this API looks so easy, I don't think I need an a code example. All
I need is the GET url with api.php and an example that would get the first
dictionary definition for something like 'Turtle' For example, it should
return something like this:
1. A land or marine reptile having a protective shell (made up of a
carapace and a plastron) enclosing its body.
---------------------------------
Jeff - President
JEFFCOMPUTERS LLC.
636-256-7901
<BLOCKED::mailto:Jeff@JeffComputers.com> Jeff(a)JeffComputers.com
<BLOCKED::http://www.jeffcomputers.com/> www.JeffComputers.com
From: Jeff Computers [mailto:Jeff@JeffComputers.com]
Sent: Tuesday, March 30, 2010 12:34 PM
To: 'mediawiki-api(a)lists.wikimedia.org'
Subject: RE: Wiktionary API VB6
Is the Wiktionary available though the API? Can you give me a quick example
how to use it in VB6 or .NET if you do not have a VB6 example? Thanks!
---------------------------------
Jeff - President
JEFFCOMPUTERS LLC.
636-256-7901
<BLOCKED::mailto:Jeff@JeffComputers.com> Jeff(a)JeffComputers.com
<BLOCKED::http://www.jeffcomputers.com/> www.JeffComputers.com
Is the Wiktionary available though the API? Can you give me a quick example
how to use it in VB6 or .NET if you do not have a VB6 example? Thanks!
---------------------------------
Jeff - President
JEFFCOMPUTERS LLC.
636-256-7901
<BLOCKED::mailto:Jeff@JeffComputers.com> Jeff(a)JeffComputers.com
<BLOCKED::http://www.jeffcomputers.com/> www.JeffComputers.com
Hi,
I am trying to retrieve geo location information of search suggest results. Can you please suggest ?
I am using http://en.wikipedia.org/w/api.php?action=opensearch&search=London&format=xml
however I need to get back extent or lat/long info of the search results.
Regards,
Pratik
________________________________
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/
Hi, is there any way to get the interwiki links from a page. It seems, neither
prop=extlinks nor prop=links are able to find these.
I think it would be nice for instance to have links from Wikisource texts to
Wikipedia articles and hence search for story locations etc in a book.
Regards
Alex
--
http://de.wikipedia.org/wiki/Benutzer:Alexrk2
Hello,
I'm trying to use Wikipedia as a translation web service by using the
language links from an article. I searched the documentation, but I only
found a way to retrieve all language links from an article[1]. Is there
any additional parameter to specify a single language and only get the
title for that language? Or is there another simple solution?
[1] http://www.mediawiki.org/wiki/API:Query_-_Properties#langlinks_.2F_ll
--
Klaus Purer
This E-Mail contains a digital signature and can be verified with this
PGP|GPG Public Key: http://web.student.tuwien.ac.at/~e0426223/key/kp.asc
Hi everybody,
i´m trying to export a complete Wikinews article in XML format. I found this
feature here:
http://en.wikinews.org/wiki/Special:Export
This allows you to extract a page in XML, which is already pretty cool, but:
this function doesn´t export the related articles which are shown in the
infobox on the right.
Any idea how to solve this problem? I didn´t found an appropriate function
or parameter in the API (http://en.wikinews.org/w/api.php)
Perhaps someone could help me, that would be very nice! :)
Thanks in advance :)
Sascha
Hi,
Over two years ago I submitted a bug regarding the lack of size
information for revisions made before May 2007.
Having access to this information is important to study the evolution
of MediaWiki articles. Also, it would greatly reduce the burden put
over the current API.
The bug is almost solved. A script to update the database was written
and is ready to be run.
So, if you care about historical information (or simply about data
consistency) in MediaWiki, please consider voting:
http://bugzilla.wikimedia.org/show_bug.cgi?id=12188
Thanks (for your vote)!
--
Sérgio Nunes