Last modified: 2011-08-13 15:44:40 UTC
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.)
I would love something like this since (I think) I could use it to build my reCaptcha clone.
Created attachment 8897 [details] 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.
Created attachment 8901 [details] 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.
Thanks r94418