https://bugzilla.wikimedia.org/show_bug.cgi?id=19523

           Summary: prop=info&inprop=watched
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected]


There is no way to tell if a title is being watched, via the API. This is
ubiquitous in the UI so should have some API vector. If a bit expensive it
should probably be a non-default prop=info parameter like &inprop=watched
returning watched="".

If not expensive, this could be generated (optionally optionally) for all
logged-in queries using &titles= and/or a list module?

Ref:

<Reedy> and we had it setup to work out if the page was currently watched, to
set a button to watch/unwatch as appropriate...
<Reedy> So was after a way to move that accross
<Reedy> We pull
action=query&prop=info|revisions&intoken=edit&titles=Main%20Page&rvprop=timestamp|user|comment|content
currently.. So if it was in there somewhere without pulling more/an extra
query, that'd be nice


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to