Extension talk:ValidUserEdit
Add topicAppearance
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))
- 5 {main}
Thank you for this extension, i hope you can fix the problem ;-)
fix
[edit]This bug is caused by the declaration of the function efValidUserEdit. You have to delete the "&" in front of "$editpage" like that:
function efValidUserEdit($editpage) {