(bug 44244) Add number of watchers to API prop=info
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 23 Jan 2013 20:40:57 +0000 (15:40 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 4 Mar 2013 01:29:03 +0000 (20:29 -0500)
commitb16f5bf88ea4841d077bdcf0d52cb441783a9a2c
tree254bfc46c66a50214420743b3ca8505a035356de
parent4b13d3c6dc1e43951c2a4c858696c1fbf0f3ced9
(bug 44244) Add number of watchers to API prop=info

Following up I1cb6ee22, which added this information to each page's
action=info, this adds inprop=watchers to query the number of people
watching the page. It is subject to the same limitations (user has
unwatchedpages or watchers >= $wgUnwatchedPageThreshold) as action=info.

Also, update doc for $wgUnwatchedPageThreshold to match reality.

Bug: 44244
Change-Id: Ideaac1d84bbe0349154ffe96ba54d74305e3da1d
RELEASE-NOTES-1.21
includes/DefaultSettings.php
includes/api/ApiQueryInfo.php