https://bugzilla.wikimedia.org/show_bug.cgi?id=16278
--- Comment #2 from P.Copp <[email protected]> 2008-12-20 20:18:01 UTC --- Created an attachment (id=5601) --> (https://bugzilla.wikimedia.org/attachment.cgi?id=5601) patch to add ApiReview.php (action=review) The proposed solution adds an API module ApiReview.php, which essentially imitates the behavior of RevisionReview::AjaxReview. To make it work, it has to make two changes to other FlaggedRevs files: *The code within FlaggedArticle::addQuickReview to generate the template and image parameters had to be factored out to its own function to avoid code duplication. *RevisionReview::submit had to be changed to a public function to be accessible from the api. Caveat: The revision being reviewed has to be parsed/fetched from parser cache on API call. Don't know if this will be a perfomance problem. -- 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
