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
Most of the time, the ordering implied by revision ID number and the
ordering implied by revision timestamp are the same. Differences occur
mainly when revisions are imported from another wiki, however there may be
other situations that can cause this.
The database queries that were formerly used to handle the rvstartid and
rvendid parameters were found to be very inefficient.[1] As of Gerrit
change 349448,[2] these parameters are now equivalent to using the
timestamps of the corresponding revisions for rvstart and rvend.
This change should be deployed to WMF wikis with 1.30.0-wmf.1, see
https://www.mediawiki.org/wiki/MediaWiki_1.30/Roadmap for the schedule.
[1]: https://phabricator.wikimedia.org/T163495#3200490
[2]: https://gerrit.wikimedia.org/r/#/c/349448/
--
Brad Jorsch (Anomie)
Senior Software Engineer
Wikimedia Foundation
Hello,
Since the early days of REST API it provides two features that haven’t been widely used neither internally in the WMF nor by the community. Today in a clean-up pass over the API we have decided to deprecate and eventually remove those features to allow some long-needed refactorings and stability improvements of other, more important, endpoints.
The first one is the ability to query metadata about the page via the `/page/title/{title}`~[1] endpoint. The metadata includes properties like the latest revision number of the page, user who have made the last edit, whether the page is a redirect and similar. The backend storage model used to power the feature is quite unique in the system and has a significant maintenance cost without providing a clear benefit to users.
Another feature that’s never found it’s audience is the ability to get listings of revisions, titles and renders stored in RESTBase. These listings suffer from scaling issues and cannot work reliably with the data model we have.
We have, hence, opted to remove these unused and complex endpoints until there is some actual need for this data in the REST API when we can design and implement them better. Here’s the list of endpoints that are now deprecated and will be removed on May, 1st 2017:
• /page/title/
• /page/title/{title}
• /page/title/{title}/
• /page/revision/
• /page/revision/{revision}
In case you are using them please switch to using the MediaWiki Action API. In case you need assistance or have questions, feel free to reply to this e-mail or contact the Wikimedia Services team~[2].
Best regards,
Petr Pchelko
Software Engineer
Wikimedia Foundation
[1] https://en.wikipedia.org/api/rest_v1/#!/Page_content/get_page_title_title
[2] https://www.mediawiki.org/wiki/Wikimedia_Services
Hello,
We have retired the subdomain citoid.wikimedia.org at 17:00 UTC today. As
previously indicated by James, the way to reach Citoid, the citation
service, is now exclusively through the REST API~[1].
Cheers,
Marko Obrovac, PhD
Senior Services Engineer
Wikimedia Foundation
[1] https://en.wikipedia.org/api/rest_v1/#!/Citation/getCitation
On 8 March 2017 at 11:51, James Forrester <jforrester(a)wikimedia.org> wrote:
> Hey all,
>
> The citoid service, which looks up URLs and similar strings and turns them
> into citations, has moved to be accessed via RESTbase as part of
> decommissioning the per-service domain system[0]. The old domain will stop
> working on *1 May 2017* (just under two months from now).
>
> In simple terms, this means that requests to citoid via
> citoid.wikimedia.org/api?… (*e.g.* [1]) now need to go to {wiki
> domain}/api/rest_v1/data/citoid/… (*e.g.* [2]) to work. End-point
> documentation is available in the usual place.[3]
>
> We have already moved the automatic citation feature inside the visual
> editor to use the domain. If you are responsible for a script, gadget, or
> tool which is using the old domain, please switch over before the deadline.
>
> [0] https://phabricator.wikimedia.org/T133001
> [1]
> https://citoid.wikimedia.org/api?format=mediawiki&search=
> http%3A%2F%2Flink.springer.com%2Fchapter%2F10.1007%2F11926078_68
>
> [2]
> https://www.mediawiki.org/api/rest_v1/data/citation/
> mediawiki/http%3A%2F%2Flink.springer.com%2Fchapter%2F10.1007%2F11926078_68
>
> [3] https://en.wikipedia.org/api/rest_v1/#!/Citation/getCitation
>
> Yours,
>
> --
>
> James D. Forrester
> Lead Product Manager, Editing
> Wikimedia Foundation, Inc.
> jforrester at wikimedia.org
> <https://lists.wikimedia.org/mailman/listinfo/wikimedia-l> |
> @jdforrester
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l