Le 14/10/13 06:38, Tito Dutta a écrit :
We have installed Scribunto
(
http://sarkarverse.org/wiki/Special:Version), but it is not working
properly. Please see this page and the errors:
http://sarkarverse.org/wiki/Ananda_Marga
Can someone help to fix these errors?
And for posterity, the references shows up "Script error" with a
redlink. The backtrace says:
Lua error in Module:Citation/CS1 at line 191: attempt to index field
'text' (a nil value).
Backtrace:
(tail call): ?
Module:Citation/CS1:191: in function "internallinkid"
Module:Citation/CS1:703: in function "buildidlist"
Module:Citation/CS1:1442: in function "buildidlist"
(tail call): ?
mw.lua:463: ?
(tail call): ?
[C]: in function "xpcall"
MWServer.lua:73: in function "handleCall"
MWServer.lua:266: in function "dispatch"
MWServer.lua:33: in function "execute"
mw_main.lua:7: in main chunk
[C]: ?
The related code is:
186 -- Formats a wiki style internal link
187 function internallinkid(options)
188 return mw.ustring.format( '[[%s|%s]]%s[[%s%s%s|%s]]',
189 options.link, options.label, options.separator or " ",
190 options.prefix, options.id, options.suffix or "",
191 mw.text.nowiki(options.id)
192 );
193 end
Seems the mw object does not have any 'text', whatever it could mean :/
--
Antoine "hashar" Musso