MediaWiki support #6

Closed
opened 2017-06-09 13:00:42 +00:00 by raucao · 3 comments
raucao commented 2017-06-09 13:00:42 +00:00 (Migrated from github.com)

Some kind of incoming notification from MediaWiki should be supported for automatically proposing kredits based on edits details.

Some kind of incoming notification from MediaWiki should be supported for automatically proposing kredits based on edits details.
raucao commented 2017-07-05 15:22:05 +00:00 (Migrated from github.com)

Latest idea is to check for changes once a day and create one proposal per user with the combined contributions (so as to not have one proposal for every single wiki page save).

Latest idea is to check for changes once a day and create one proposal per user with the combined contributions (so as to not have one proposal for every single wiki page save).
raucao commented 2018-04-18 10:28:01 +00:00 (Migrated from github.com)

Here's the changes JSON feed from our current wiki, with all relevant filters and fields as params:

https://wiki.kosmos.org/api.php?action=query&list=recentchanges&rctype=edit|new&rcshow=!minor|!bot|!anon|!redirect&rclimit=max&rcprop=ids|title|timestamp|user|sizes|comment|flags|tags

Adding format=json forces JSON, no matter the accept headers: https://wiki.kosmos.org/api.php?action=query&format=json&list=recentchanges&rctype=edit|new&rcshow=!minor|!bot|!anon|!redirect&rclimit=max&rcprop=ids|title|timestamp|user|sizes|comment|flags|tags

Here's the changes JSON feed from our current wiki, with all relevant filters and fields as params: https://wiki.kosmos.org/api.php?action=query&list=recentchanges&rctype=edit|new&rcshow=!minor|!bot|!anon|!redirect&rclimit=max&rcprop=ids|title|timestamp|user|sizes|comment|flags|tags Adding `format=json` forces JSON, no matter the accept headers: https://wiki.kosmos.org/api.php?action=query&format=json&list=recentchanges&rctype=edit|new&rcshow=!minor|!bot|!anon|!redirect&rclimit=max&rcprop=ids|title|timestamp|user|sizes|comment|flags|tags
raucao commented 2018-04-18 10:28:48 +00:00 (Migrated from github.com)
And here's the documentation: https://www.mediawiki.org/w/api.php?action=help&modules=query%2Brecentchanges
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kredits/hubot-kredits#6
No description provided.