r22273 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22272‎ | r22273 | r22274 >
Date:21:45, 19 May 2007
Author:hashar
Status:old
Tags:
Comment:
Documentation for AlternateEdit hook (triggered on &action=new). Been there for ages.
Modified paths:
  • /trunk/phase3/docs/hooks.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/docs/hooks.txt
@@ -251,6 +251,11 @@
252252 'AddNewAccount': after a user account is created
253253 $user: the User object that was created. (Parameter added in 1.7)
254254
 255+'AlternateEdit': before checking if an user can edit a page and
 256+before showing the edit form ( EditPage::edit() ). This is triggered
 257+on &action=edit.
 258+$EditPage : the EditPage object
 259+
255260 'ArticleDelete': before an article is deleted
256261 $article: the article (object) being deleted
257262 $user: the user (object) deleting the article