Topic on Project:Support desk

Summary by AhmadF.Cheema

The used Wikipedia template code was for a newer version of Extension:Scribunto.

Dezedien (talkcontribs)

Hi, I had this error on different pages of my wiki project

like  :

Lua error in package.lua at line 80: module `Module:Pagetype/config' not found. Backtrace: (tail call): ? [C]: in function "error" package.lua:80: in function "load" package.lua:99: ? (tail call): ? (tail call): ? mw.lua:803: in function "loadData" وحدة:Pagetype:13: in function "init" package.lua:103: in function "require" وحدة:Portal:13: in main chunk (tail call): ? (tail call): ? [C]: in function "xpcall" MWServer.lua:87: in function "handleCall" MWServer.lua:301: in function "dispatch" MWServer.lua:40: in function "execute" mw_main.lua:7: in main chunk [C]: ?


need solution

AhmadF.Cheema (talkcontribs)

What is your Extension:Scribunto version and MediaWiki version?

Also, have you imported any templates/modules from other wikis like Wikipedia etc.

Dezedien (talkcontribs)

the version of my scribunto is 1.23 and mediawiki is 1.23 yes i have imported navbox template

Dezedien (talkcontribs)
AhmadF.Cheema (talkcontribs)

Sorry for the late reply, did not have any ideas before.

Can you confirm the page Module:Pagetype/config exists on your Wiki?

Also, how exactly did you import the navbox template? Did you import just the single navbox template page or did you also import the other templates/modules used on that page? In other words, did you check the "Include templates" option at https://en.wikipedia.org/wiki/Special:Export?

Dezedien (talkcontribs)

Hi @AhmadF.Cheema, Problem resolved because vesion of wiki installed is old the solution is to use the same script copied from wikipedia during 2014 in accordance with the last date of 1.23 update

Thanks you very much