Topic on Extension talk:InputBox

ERROR : undefined method MediaWiki::getAction()

3
80.11.250.81 (talkcontribs)

Hello to all. I just installed the extenion "InputBox-MW1.19-110961.tar.tar" and added the reference in the LocalSettings.php.

I get this error when I try to view my user-created pages : Fatal error: Call to undefined method MediaWiki::getAction() in /home/thebigma/public_html/wiki/extensions/InputBox/InputBox.hooks.php on line 55"

Line 55 is : if( $wiki->getAction( $request ) !== 'edit' ){

I can however click the back arrow and view my home page or the special pages.

I commented the if statement out... /**if( $wiki->getAction( $request ) !== 'edit' ){ # not our problem return true; }*/ ...and the wiki is again functional. (Of course, I expected to see something special. Still trying to understand how to get this extension working.)

80.11.250.81 (talkcontribs)

I am replying to my own question above. I am going to upgrade from MediaWiki v 1.17.0 to 1.19. I assume that the method will be defined and all will work.

80.11.250.81 (talkcontribs)

OK. I have finished the upgrade and the error message no longer appears.

Reply to "ERROR : undefined method MediaWiki::getAction()"