Mediawiki extension error

Posted by vinylguitar on Super User See other posts from Super User or by vinylguitar
Published on 2013-10-26T02:49:34Z Indexed on 2013/10/26 3:57 UTC
Read the original article Hit count: 641

Filed under:
|
|
|

I'm running the latest version of mediawiki using MoWeS Portable II from my desktop. I just installed this extension on the wiki http://www.mediawiki.org/wiki/Extension:MsUpload

It adds an option to upload files (to be embedded in an article) to the edit screen of an article. After installing it when I try and edit an article I get the following error:

Fatal error: Call to undefined method OutputPage::addModules() in C:\Users\User\Desktop\knowledge mapedia 10 25 13 copy\mowes_portable\www\mediawiki\extensions\MsUpload\msupload.php on line 65

Also here is what I posted in the localsettings.php file (I put it in at the end of localsettings.php if it makes a difference):

Start --------------------------------------- MsUpload

$wgMSU_ShowAutoKat = false; #autocategorisation $wgMSU_CheckedAutoKat = false; #checkbox for autocategorisation checked $wgMSU_debug = false; #debug mode $wgMSU_ImgParams = '400px'; #default max-size for inserted image $wgMSU_UseDragDrop = true; #show drag&drop area require_once "$IP/extensions/MsUpload/msupload.php";

End --------------------------------------- MsUpload

require_once "$IP/extensions/msupload/msupload.php";


At line 65 in the localsettings.php file there is the following:

line 64 ## Database settings

line 65 $wgDBtype = "mysql";

line 66 $wgDBserver = "localhost";

line 67 $wgDBname = "mediawiki";

line 68 $wgDBuser = "root";

line 69 $wgDBpassword = "";


Any idea what I'm doing wrong?

© Super User or respective owner

Related posts about command-line

Related posts about php