Extension talk:ValidUserEdit

Mediawiki 1.17: Detected bug in an extension! Hook efValidUserEdit has invalid call signature; Parameter 1 to efValidUserEdit expected to be a reference, value given

Backtrace:


 * 0 C:\xampp\htdocs\mediawiki\includes\EditPage.php(313): wfRunHooks('AlternateEdit', Array)
 * 1 C:\xampp\htdocs\mediawiki\includes\EditPage.php(296): EditPage->edit
 * 2 C:\xampp\htdocs\mediawiki\includes\Wiki.php(522): EditPage->submit
 * 3 C:\xampp\htdocs\mediawiki\includes\Wiki.php(69): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
 * 4 C:\xampp\htdocs\mediawiki\index.php(114): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
 * 1) 5 {main}

Thank you for this extension, i hope you can fix the problem ;-)

fix
This bug is caused by the declaration of the function efValidUserEdit. You have to delete the "&" in front of "$editpage" like that: