Page MenuHomePhabricator

Proofread Page extension needs an API module to retrieve page status
Closed, ResolvedPublic

Description

The Proofread Page extension (http://www.mediawiki.org/wiki/Extension:Proofread_Page) needs an API module to allow users to retrieve the current status of a page (without text, problematic, etc.)


Version: unspecified
Severity: normal

Details

Reference
bz28893

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:25 PM
bzimport added a project: ProofreadPage.
bzimport set Reference to bz28893.

I would love something like this since (I think) I could use it to build my reCaptcha clone.

john wrote:

ApiQuery prop module

Eh. I'm not sure if a FauxRequest and/or relying on the categories is the best route to go here (Pulling down an entire rev to run a regex seems wasteful when you have the categories). I need to ask Roan if running the API again internally is the right way.

attachment b28893.patch ignored as obsolete

john wrote:

Improved patch

Roan and reedy confirmed this method was fine. Also added a namespace check and docs. I'll document this in my user space and put it on the extension page when it goes live.

Attached: