documenting EditPage::importFormData
authorThomasV <thomasv@users.mediawiki.org>
Wed, 8 Jul 2009 18:47:46 +0000 (18:47 +0000)
committerThomasV <thomasv@users.mediawiki.org>
Wed, 8 Jul 2009 18:47:46 +0000 (18:47 +0000)
docs/hooks.txt

index 5b1187e..d3a70a6 100644 (file)
@@ -621,6 +621,12 @@ new pages
 saved, that is before insertNewArticle() is called
 &$editpage_Obj: the current EditPage object
 
+'EditPage::importFormData': allow extensions to read additional data
+posted in the form
+$editpage: EditPage instance 
+$request: Webrequest
+return value is ignored (should always return true)
+
 'EditPage::showEditForm:fields': allows injection of form field into edit form
 &$editor: the EditPage instance for reference
 &$out: an OutputPage instance to write to