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
When list=allusers is used with auactiveusers, a property 'recenteditcount'
is returned in the result. In bug 67301[1] 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,[2] 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
cycle.
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.
[1]: https://bugzilla.wikimedia.org/show_bug.cgi?id=67301
[2]: https://gerrit.wikimedia.org/r/#/c/130093/
--
Brad Jorsch (Anomie)
Software Engineer
Wikimedia Foundation
_______________________________________________
Mediawiki-api-announce mailing list
Mediawiki-api-announce(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce
Hello,
This bug <https://phabricator.wikimedia.org/T87645> is more serious than it
seems and it's blocked a huge part of our actions (e.g. creating pages
outside of main namespace via API)
Please someone take a look at this
--
Amir
Hi,
Is there a way to get the description of the wiki page with everything
"BEFORE" the "References" section?
For example, http://en.wikipedia.org/wiki/Steve_Jobs I would need in the
wiki page "BEFORE" the below "References" section.
References
1. "The Walt Disney Company and Affiliated Companies - Board of
Directors". The Walt Disney Company. Retrieved October 2, 2009.
2. "Steve Jobs: Died Buddhist, Raised Lutheran". Archived from
the original on July 28, 2012.
3. Misa, T. J. (2011). "Steven P. Jobs (1955-2011)". Science 334
(6058): 919-919. doi:10.1126/science.1216019. PMID 22096183. edit
4. O'Reilly, T. (2011). "Steve Jobs (1955-2011)". Nature 479
(7371): 42. doi:10.1038/479042a. PMID 22051667. edit
5. Caulfield, Brian. "Steve Jobs' Death Certificate Reveals His
Final Resting Place". Forbes Magazine. Archived from the original on
September 16, 2012. Retrieved September 2, 2012. His occupation was listed
as 'entrepreneur.'
6. |
7. |
8. |
9. |
Thanks
On Thu, Jan 8, 2015 at 6:43 PM, Denny Vrandečić <vrandecic(a)gmail.com> wrote:
> Actually, since Wikidata allows now properties on properties, one might
> easily create an item "Disambiguating property" and then make a claim
> "instance of - Disambiguating property" on the relevant property. there is
> no need for any extra implementation work.
And in fact that already exists ;-) See for example
https://www.wikidata.org/wiki/Property:P345
Cheers
Lydia
--
Lydia Pintscher - http://about.me/lydia.pintscher
Product Manager for Wikidata
Wikimedia Deutschland e.V.
Tempelhofer Ufer 23-24
10963 Berlin
www.wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg
unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das
Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.
Hi mediawiki-api,
Recently we encounter some recent changes like:
*http://commons.wikimedia.org/w/api.php?action=query&continue=-%7C%7C&rccontinue=20150104205209%7C147307576&list=recentchanges&rclimit=1&rcprop=comment%7Cflags%7Cids%7Cloginfo%7Csizes%7Ctimestamp%7Ctitle%7Cuser
<http://commons.wikimedia.org/w/api.php?action=query&continue=-%7C%7C&rccont…>*
I am wondering why the page id is 0.
Thanks
Lin Jin
I’ve recently seen that merging pages does not require the usual
(delete, move, undelete, move) sequence anymore, as evidenced by
new Special:Log/merge log entries. What is the API request I
use to perform such merges?
Somehow, neither https://mediawiki.org/w/api.php, nor the API
documentation seem to mention anything like that.
TIA.
--
FSF associate member #7257 http://debbugs.gnu.org/18687 3013 B6A0 230E 334A