Topic on Project:Support desk

[RESOLVED] Norwegian Infobox script error

12
OlePedia (talkcontribs)

I have a problem with Norwegian Infoboks biografi (=Infobox person?) which I have imported from the Norwegian Wikipedia for a genealogy project. The error can be seen on my web place: OlePedia

I get Skriptfeil (= Scripterror) on the page and klicking says Skriptfeil: Ingen slik modul (=Scripterror: no such module).In wiew source, under Maler som brukes på denne siden (=Templates used on this page), Module (with e) is requested and shown in red as being nonexistent. However, they are imported from the Norwegian Wikipedia as Modul (without e). I have found reference to Module in the Norwegian part of Scribunto.i18n.php and changed it to Modul, but the script error is still there. I guess that the problem is in the language somewhere, but as you can see, the project is in the beginning, I am new to the wikisystem, I am stuck and would be very grateful for an answer.

I am running:

  • Mediawiki 1.22.5
  • PHO 5.4.26 (cgi-fcgi)
  • MySQL 5.6.17
  • Lua 5.1.4

and have installed among other extensions:

  • Scribunto
  • ExpandTemplates
  • Parserfunctions
90.195.251.112 (talkcontribs)

What it means is you have not create the module page meaning like model:infobox like that. So you would need to create the module page.

OlePedia (talkcontribs)

I have the correct requested module, for instance Modul:WikidataCommonscat downloaded from the Norwegian Wikipedia www.no.wikipedia.org. The problem is that my Norwegian wikipedian website is requesting the Module:WikidataCommonscat like it is named in English as you can see on my website www.hattebol.no in the source of the main page.

90.195.251.112 (talkcontribs)

Easy find the template that is requesting to use that and change the name or do a redirect to the module you want it to be named. I am not sure if you can do redirects in modules. But you need to create all the modules it requires for that message to go.

Ricordisamoa (talkcontribs)
OlePedia (talkcontribs)

That's right thank you! The modules were missing. Importing them however, didn't help. They were imported and saved as Modul (without e) and Mediawiki asked for Module (with e). That was because I had imported Infobox person from an english wikipedia which had written Module into my sites namespace. Following Manual:Importing Wikipedia infoboxes tutorial i entered into my Localsettings.php:

  • $wgExtraNamespaces[828]="Modul";
  • $wgExtraNamespaces[829]="Moduldiskusjon";

which made the script error disappear.

86.135.251.50 (talkcontribs)

It should still work. But if you used the word module in different languages and our it on a English site it would not work.

86.135.251.50 (talkcontribs)

You know you can change the language of the site to language code no.

86.135.251.50 (talkcontribs)

You know you can change the language of the site to language code no.

86.135.251.50 (talkcontribs)

You know you can change the language of the site to language code no.

86.135.251.50 (talkcontribs)

The language code was changed from no to nb

86.135.251.50 (talkcontribs)

And please update the messages because it seems that the messenges from a previous Mediawiki install are still there but where removed.

Reply to "[RESOLVED] Norwegian Infobox script error"