Topic on Project:Support desk

[RESOLVED] invoke infobox error in mediawiki (template copied from Wikipedia)

13
180.149.49.231 (talkcontribs)

I have installed the latest mediawiki and i am having trouble installing infobox in my mediawiki. After a lot of searching in web i found this tutorial http://trog.qgl.org/20110815/setting-up-infobox-templates-in-mediawiki. I have done all things as described in the tutorial , downloaded the template:infobox xml then imported in my wiki made proper changes in my common.css ,localsetting.php. But when i put the example code given in the tutorial in my wiki its giving this error.

{{#invoke:Infobox|infobox}} http://i44.tinypic.com/157m0bd.png

Creating a infobox in mediawiki is making me mad,any help will be appreciated

Advance thanks for input

77.250.212.237 (talkcontribs)

Exactly the same problem over here. Any help would be nice.

Thanks in advance.

Ciencia Al Poder (talkcontribs)

Wikipedia is now using Extension:Scribunto for heavy templates like this.

You need to install that extension or select an old version of the template, prior of the switch to Scribunto / Lua .

173.57.184.105 (talkcontribs)

I've installed the Scibunto extension and I'm still getting this error. I *did* have to comment out the sort function in LuaCommon.php to get the extension to run. I did an export/import to copy the templates into my wiki.

I presume the problem is that I'm using MW 1.19 and WP is on the latest version. Upgrading is too much of a hassle. Guess I'm stuck with stripping out templates...

116.202.96.220 (talkcontribs)

I am getting errors as bellow after setting up Extension:Scribunto

Script error: No such module "Infobox".
Script error: No such module "citation/CS1".
Template:Cite news
116.202.96.220 (talkcontribs)

My error URL

wikicinema.org/index.php?title=Mammootty
Ciencia Al Poder (talkcontribs)

The errors are self-explanatory:

There's no Module:Infobox nor Module:citation/CS1 on your wiki. Try creating/importing them?

66.3.7.50 (talkcontribs)

And so would anyone care to explain how to actually do the task of "Try creating/importing them?" so that someone can actually follow a list of instructions to do this task?

JamesPoulson (talkcontribs)

As 66.3.7.50 says it is not clear how modules should be imported.

Lua has been installed.

However, attempting to add a source to a module page gives a "Fatal exception of type MWException".

I will dig into this by displaying debug and have been searching for a solution for around a week.

I'm a developer so it's not the technical manipulations that are a problem and it's just unfamiliarity with how mediawiki functions.

This post was hidden by 66.3.7.50 (history)
116.202.96.220 (talkcontribs)
This post was hidden by 66.3.7.50 (history)
Ciencia Al Poder (talkcontribs)