Topic on Project:Support desk

Must Create Infobox!

11
In Correct (talkcontribs)

I am trying to do this by myself but now I am going to tell you what I have done so far. Perhaps you can tell me what I still need to do.

I am attempting to import Template:Infobox Company from Wikipedia.

I have the extensions installed and I have entered the codes into LocalSettings.php I also copied everything from Wikipedia's MediaWiki:Common.css and MediaWiki:Common.js into mine.

My wiki:

http://wiki.boingblogs.com/

the test page:

http://wiki.boingblogs.com/index.php?title=INFOBOX_TEST_PAGE

AKlapper (WMF) (talkcontribs)
In Correct (talkcontribs)

I have read it. I have read many articles, I even looked here

https://www.mediawiki.org/wiki/Thread:Project:Forum/Infobox_not_working#Infobox_not_working_33154

but the tutorial https://www.mediawiki.org/wiki/Manual:Importing_Wikipedia_infoboxes_tutorial but I did not understand how to use Special:Export and Special:Import. I successfully exported the source of a page into an .xml file which was renamed. That tutorial is a draft. There were very little instructions how to import it into my MediaWiki. I thought the renamed file would cause problems so instead

I created new Wiki Pages. (Template:Infobox for example) and then I copied the source from Wikipedia's Template:Infobox, and continued to do the same thing for Template:Infobox/doc and any pages I created to fix Red Links I found.

here is the test page:

http://wiki.boingblogs.com/index.php?title=INFOBOX_TEST_PAGE

It says Script Error: No Such Module.

http://wiki.boingblogs.com/index.php?title=Template:Infobox

Same Thing.

http://wiki.boingblogs.com/index.php?title=Template:Infobox_company

Also same errors.

You can just look at my Special:Version and Mediawiki:Common.css and Mediawiki:Common.js yourself, but you can't view localsettings.php so I will post what I added to it later.

In Correct (talkcontribs)
86.135.248.229 (talkcontribs)

lua is another cripting program. the extension that uses lua is scribunto. please change your database password and your upgrade code.

In Correct (talkcontribs)

What is an upgrade code?

GeorgeBarnick (talkcontribs)

I think he means run update.php...? I don't know what he means to be honest.

In Correct (talkcontribs)
In Correct (talkcontribs)

https://www.mediawiki.org/wiki/Thread:Project:Support_desk/InfoBox

https://www.mediawiki.org/wiki/Thread:Project:Support_desk/Fatal_exception_of_type_ScribuntoException

I have found these two pages and I believe that Scribunto is installed correctly.

I keep getting "Script Error: No Such Module" errors.

I began creating modules.

This is unacceptable. There must be an extension that completes this automatically, instead of spending hours and hours manually creating hundreds of Templates and Modules. Not only that, but also this should be included with all the other available extensions during the "Set Up Your Wiki".

In Correct (talkcontribs)

If anybody could read this, here is the Infobox I am trying to use:

{{infobox | bodyclass = vcard | bodystyle = {{{bodystyle|}}} | titleclass = fn org | title = {{{name|{{{company_name|<includeonly>{{PAGENAME}}</includeonly>}}}}}} | imageclass = logo | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{company_logo|}}}}}}|size={{{logo_size|}}}|sizedefault=frameless|alt={{{logo_alt|{{{alt|}}}}}}}} | caption = {{{logo_caption|{{{caption|}}}}}} | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=300px|alt={{{image_alt|}}}}} | caption2 = {{{image_caption|}}} | label1 = {{nowrap|[[Doing business as|Trading name]]}} | data1 = {{{trading_name|}}} | label2 = Native name | data2 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>|}} | label3 = [[Romanization|Romanized]] name | data3 = {{{romanized_name|}}} | label4 = Formerly called | class4 = nickname | data4 = {{{former_name|}}} | label5 = {{#if:{{{defunct|}}}|[[Types of business entity|Former type]]|[[Types of business entity|Type]]}} | class5 = category | data5 = {{{type|{{{company_type|}}}}}} | label6 = [[Ticker symbol|Traded as]] | data6 = {{{traded_as|}}} | label7 = [[International Securities Identification Number|ISIN]] | data7 = {{#if:{{{ISIN|}}}|[http://toolserver.org/~magnus/isin.php?language=de&isin={{{ISIN}}} {{{ISIN}}}]}} | label8 = Industry | class8 = category | data8 = {{{industry|}}} | label9 = Genre | class9 = category | data9 = {{{genre|}}} | label10 = Fate | data10 = {{{fate|}}} | label11 = Predecessor(s) | data11 = {{{predecessor|{{{Predecessor|}}}}}} | label12 = Successor(s) | data12 = {{{successor|}}} | label13 = Founded | data13 = {{{foundation|}}} | label14 = Founder(s) | class14 = agent | data14 = {{{founder|}}} | label15 = Defunct | data15 = {{{defunct|{{{dissolved|}}}}}} | label16 = Headquarters | class16 = {{#if:{{{location|}}}|label|adr}} | data16 = {{#if:{{{location|}}}|{{{location}}} }} {{comma separated entries |1= {{#if: {{{location_city|}}}|<span class="locality">{{{location_city}}}</span>}} |2= {{#if: {{{location_country|}}}|<span class="country-name">{{{location_country}}}</span>}} }} | label17 = Number of locations | data17 = {{{locations|}}} | label18 = Area served | data18 = {{{area_served|}}} | label19 = Key people | class19 = agent | data19 = {{{key_people|}}} | label20 = Products | data20 = {{{products|}}} | label21 = Brands | data21 = {{{brands|}}} | label22 = Production output | data22 = {{{production|}}} | label23 = Services | class23 = category | data23 = {{{services|}}} | label24 = Revenue | data24 = {{{revenue|}}} | label25 = [[Earnings before interest and taxes|Operating income]] | data25 = {{{operating_income|}}} | label26 = {{#ifeq:{{{intl|}}}|yes|[[Net income|Profit]]|[[Net income]]}} | data26 = {{{net_income|}}} | label27 = [[Assets under management|AUM]] | data27 = {{{aum|}}} | label28 = [[Asset|Total assets]] | data28 = {{{assets|}}} | label29 = [[Equity (finance)|Total equity]] | data29 = {{{equity|}}} | label30 = Owner(s) | data30 = {{{owner|}}} | label31 = Members | data31 = {{{members|}}} | label32 = Employees | data32 = {{{num_employees|}}} | label33 = [[Parent company|Parent]] | data33 = {{{parent|}}} | label34 = [[Division (business)|Divisions]] | data34 = {{{divisions|}}} | label35 = [[Subsidiary|Subsidiaries]] | data35 = {{{subsid|}}} | label36 = Website | data36 = {{{homepage|{{{website|}}}}}} | below = {{#if:{{{footnotes|}}}|'''References:''' {{{footnotes}}} }} }}<noinclude> {{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>


I read whenever the code says "Invoke", it is trying to load a module, and the Script Error: No Such Module, means it is trying to load a module that does not exist.

Are there any other terms in the code that is causing any Script Errors??

90.195.251.112 (talkcontribs)

Then one of your templates has the invoke script for going to a module page if you find the module it is asking to create and create it. If you go on to the page where it is showing that message and click edit on the page and scroll down it should show you the module you need to create.

Reply to "Must Create Infobox!"