Last modified: 2011-07-05 12:48:57 UTC
The parameter $formCallback of the function EditPage.php->showEditForm( $formCallback = null ) can not be set via the hook 'EditPage::showEditForm:initial'. So please change the line "wfRunHooks( 'EditPage::showEditForm:initial', array( &$this ) ) ;" to "wfRunHooks( 'EditPage::showEditForm:initial', array( &$this, $formCallback ) ) ;" With this it would be easier to add something to the EditForm instead of changing the whole page. Thanks, Benedikt
sorry, line should be changed to "wfRunHooks( 'EditPage::showEditForm:initial', array( &$this, &$formCallback ) ) ;" Should be a reference to $formCallback. Regards, Benedikt
Done in r91453.