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.
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
When list=allusers is used with auactiveusers, a property 'recenteditcount'
is returned in the result. In bug 67301 it was pointed out that this
property is including various other logged actions, and so should really be
named something like "recentactions".
Gerrit change 130093, merged today, adds the "recentactions" result
property. "recenteditcount" is also returned for backwards compatability,
but will be removed at some point during the MediaWiki 1.25 development
Any clients using this property should be updated to use the new property
name. The new property will be available on WMF wikis with 1.24wmf12, see
https://www.mediawiki.org/wiki/MediaWiki_1.24/Roadmap for the schedule.
Brad Jorsch (Anomie)
Mediawiki-api-announce mailing list
Sorry for awkwardly entering/reviving the thread, guess I wasn't on this
list until now!
Jason, thanks for jumping in! Great to "see" you again :-).
Tong, he's correct that our app is open source and you're free to use
anything there that's useful. Our current networking stack is built on top
of AFNetworking, and you can find the API calls we're making inside the
various "Fetcher" classes (in the Networking folder
We hope to eventually release a standalone MediaWiki client in Objective-C,
or Swift, or both! However, the dynamic nature of the MediaWiki API's
requests and responses will probably require us to keep the framework
limited to a set of components that allow iOS developers to build requests
and serialize responses into model objects of their choice. We can provide
high-level abstractions for the most common queries (i.e. the ones we're
already using in the app).
We're in the midst of a more UI-focused update at the moment, but hopefully
our next big infrastructure push can result in the release of such a
library, probably on CocoaPods or Carthage.
In the future, you can email mobile-l with any questions related to the iOS
client, and be sure to subscribe there for future updates on the app.
EN Wikipedia user page: https://en.wikipedia.org/wiki/User:Brian.gerstle
This page<https://www.mediawiki.org/wiki/API:Client_code> lists some popular language wrappers of Wikipedia API, however there is no mention of Objective-C, I wonder if there is any Objective-C wrapper authenticated by Wikipedia Official. Thanks.
I am using the API to get the list of Wikidata contributions of
I am using
for that. But I have seen that I can only get a maximum number of edits
(50) this way, so the response is leaving many of the edits out.
Is there a way to get all the edits of a contributor in a period of time
(e.g. one particular day), even if they are more than 50?
Institute for Web Science and Technologies (WeST)
p: +49 261 287 2772
f: +49 261 287 100 2772
Wiki API team,
I am working on a project to give structure to the knowledge base of
I am using both action=query and action=parse, the latter to fetch content
With action=query I can get the pageId of the article, but both actions
cannot be combined.
Is there a parameter to fetch pageID of a page with a parse request?