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
(+mediawiki-api)
Hi Chris,
I think many of us may be having trouble answering this because it's not
quite clear what you're trying to do. Can you be more concrete about what
categories (or what category scheme) you have in mind?
Wikipedia doesn't have a single, overarching hierarchy of categories. A
page may be associated with any number of categories (including zero).
Some of these categories may be subcategories of other categories. Editors
may freely create and remove categories, and add and remove page
associations with these categories.
The REST API currently doesn't expose any category information, but you can
obtain category information through follow up requests to the Action API (
https://en.wikipedia.org/w/api.php). For example:
To get all categories associated with the page "Marfa, Texas" on English
Wikipedia:
https://en.wikipedia.org/w/api.php?action=query&prop=categories&titles=Marf…
To get all pages associated with the category "Category:Cities in Presidio
County, Texas":
https://en.wikipedia.org/w/api.php?action=query&list=categorymembers&cmtitl…
Best,
Michael
On Wed, Oct 25, 2017 at 5:13 PM, Christopher Smyth <chris(a)inflighto.com>
wrote:
> Hello,
>
> We’re a small app development company that has integrated Wikipedia
> content into a geo-locating iOS app. The app is working well and the Wiki
> content is displaying correctly. However, we’d like to categorise the
> Wikipedia content into three categories rather than just one.
>
> Is there a way to filter and categorise Wikipedia content that is accessed
> through the REST API? We only use content that is geo-coded (ie has
> latitude and longitude) information associated with each article.
>
> How should we go about configuring our API integration so that we can
> split Wikipedia content according to its top-level categories? Is there a
> way to do this?
>
>
>
> Many thanks for your assistance with this request.
>
>
>
> Regards,
>
> Chris Smyth
>
>
>
>
>
> Christopher Smyth
>
> Director
>
> Inflighto
>
> chris(a)inflighto.com
>
> +61 (0)417 298 598 <+61%20417%20298%20598>
>
>
>
> [image: Inflighto_Source_file_tm_Original Horizontal - EMAIL SIGNATURE
> SMALL] <https://www.inflighto.com/>
>
>
>
>
>
> _______________________________________________
> Services mailing list
> Services(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/services
>
>
Hi Team,
I am stuck while Implementing the AutoLogin. Any help would be great.
I am using MediaWiki for my purpose. I have a website and would like to give the MediaWiki URL When a user clicks the links of MediaWiki It should redirect with MediaWiki URL with AutoLogin.
Currently, I have setup in my localhost.I am using login API for this and able to create a new user in MediaWiki. So when I am using the API for login I am able to get login success response from API. but when it redirects to MediaWiki localhost links I can't see the logged in user.
Below Environment I am using for development:
Media wiki version: 1.26System: Ubuntu14.04Server: Apache2Language: PHP/MySQL.
Looking forward to hearing back from you!
Thank you,Sudhir Gupta.
Previously, if none of the values supplied for the pltitles, tltemplates,
clcategories, or imimages parameters to prop=links, prop=templates,
prop=categories, or prop=images were valid titles, the parameter would be
ignored and all links, templates, categories, or images would be returned.
With the merge of Gerrit change 347879,[1] this situation will result in no
links, templates, categories, or images being returned, as none match the
invalid titles supplied.
Note that submitting an empty value for one of these parameters will
continue to ignore the parameter and return all links, templates,
categories, or images, since this seems to be relatively common practice.
[1]: https://gerrit.wikimedia.org/r/#/c/347879/
--
Brad Jorsch (Anomie)
Senior 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