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
Hi,
i'd like to extract paragraph of articles already formatted, so to apply an
accordion on the content.
Is it possible to query the ID of the page like with action=mobileview?
in the same way of action=query&*pageids*=7955 ??
thank you,
Luigi
I'm doing a research work on Wikipedia, thanks to the API, I have got most
of the data I need. But now I'm trying to assess user's reputation, and
thus I need to get the deleted revisions of a user. However, API says I
don't have permission to view deleted revision information.
I really need this data, please help me.
Thanks a lot!
--
Zhang Shiyue
*Tel*: +86 18801167900
*E-mail*: byryuer(a)gmail.com, yuer3677(a)163.com
State Key Laboratory of Networking and Switching Technology
No.10 Xitucheng Road, Haidian District
Beijing University of Posts and Telecommunications
Beijing, China.
Hi to all.
I'm trying to do an exercise from FreeCodeCamp
(http://freecodecamp.com/challenges/zipline-build-a-wikipedia-viewer) and I'm
using, for now, this query (link to the API Sandbox):
https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&list=search&f…
I get something like this:
...
"query": { "pages": { "53307": { "pageid":
53307, "ns": 0, "title": "Lepidoptera",
"index": 1 }, "31500598": {
"pageid": 31500598, "ns": 0, "title": "List of
Lepidoptera of Metropolitan France", "index": 2 },
"8279262": { "pageid": 8279262,
"ns": 0, "title": "List of Lepidoptera that feed on Ipomoea",
"index": 10 }, ... }, ...,
"search": [ { "ns": 0,
"title": "Lepidoptera", "snippet": "The <span
class=\"searchmatch\">Lepidoptera</span>
(/\u02ccl\u025bp\u0268\u02c8d\u0252pt\u0259r\u0259/
lep-i-DOP-t\u0259r-\u0259) is an order of insects that includes moths and
butterflies (both called lepidopterans). 180,000 species",
"titlesnippet": "<span class=\"searchmatch\">Lepidoptera</span>"
}, { "ns": 0, "title": "List of
Lepidoptera of Metropolitan France", "snippet": "<span
class=\"searchmatch\">Lepidoptera</span> of France consist of both the
butterflies and moths recorded from Metropolitan France. According to a
recent estimate, there are a total of", "titlesnippet": "List
of <span class=\"searchmatch\">Lepidoptera</span> of Metropolitan France"
}, { "ns": 0, "title":
"Macroglossinae (Lepidoptera)", "snippet": "The Macroglossinae
are a sub-family of Sphingidae moths in the order <span
class=\"searchmatch\">Lepidoptera</span>. The subfamily is divided into three
tribes: Dilophonotini, Macroglossini", "titlesnippet":
"Macroglossinae (<span class=\"searchmatch\">Lepidoptera</span>)"
}, ... ]
...
Well... My doubt is: what thing exactly refers to the «index» parameter in
«pages» objects? At first instance, I believed it was the index of the same
page in the «search» array of objects. That seems logic. But, when using
that, sometimes certain indexes simply don't match (they pair «pageid» from
one page with «titlesnippet», «snippet», etc from another page). So, I don't
know if that «index» parameter is, in fact, about some other thing or if,
instead, there is a bug/problem with the API in this matter. And, of course,
I know that array index order starts at 0. And already searched about this in
the wiki, and found nothing.
If anybody can enlighten me about this, I will be very grateful :). Thanks in
advance for reading me :).
And also my apologies in advance, just in case I commited some mistake here:
this is my first time writing to a mailing list.
Hello,
in an effort to standardize all post parameters in the REST v1 API to use
snake_case names, we have deprecated the bodyOnly flag in the wikitext to
HTML transform end point [1]. Instead, clients should use body_only, as
mentioned in the documentation.
We plan to remove support for the old form by the end of November.
Thanks,
Gabriel
[1]:
https://en.wikipedia.org/api/rest_v1/?doc#!/Transforms/post_transform_wikit…