On Wed, Aug 20, 2008 at 3:08 PM, Roan Kattouw roan.kattouw@home.nl wrote:
About the hooks: most hooks should be in the backend, yes. However, extensions like ConfirmEdit need to return certain information (CAPTCHA URLs) to the user. There's a UI hook to do that in the UI, and there's an API hook to return that information to API users.
What you *should* have is a backend hook that allows cancellation of an edit, with some way of passing back an error condition that can be displayed by both the human UI and the API.
The recurring theme here is that phase4 (if we ever go there) requires a rethinking of EditPage.php (and SpecialPreferences.php, BTW).
Sounds like an interesting project . . .