From: ThomasV Date: Tue, 7 Jul 2009 15:55:56 +0000 (+0000) Subject: new hook, that allows extensions/ProofreadPage to read form data server-side rather... X-Git-Tag: 1.31.0-rc.0~41068 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=5cd1fc372579bffc14fa3c878d77d61a88582a51;p=lhc%2Fweb%2Fwiklou.git new hook, that allows extensions/ProofreadPage to read form data server-side rather than using javascript --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 8fbbdb187a..ecd4bbb0fe 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -664,6 +664,9 @@ class EditPage { $this->editintro = $request->getText( 'editintro' ); wfProfileOut( $fname ); + + // Allow extensions to modify form data + wfRunHooks( 'EditPage::importFormData', array( &$this ) ); } /**