Forum:Issue with Scribunto/Lua

ShoutWiki — express yourself and be heard!
Jump to navigation Jump to search

Forums: Index Community help


I'm having a good deal of trouble with the use of Scribunto/Lua, especially with regards to the #invoke function. Every time such templates as {{convert}} or {{main}} are used (even though those templates have already been imported!), the text simply displays as "{{#invoke:main|main}}". It's really bugging me. Another (related, I think) issue is that, when importing templates (or anything, for that matter) which were exported with the "Include Templates" box checked, it spits back out: "Import failed: No handler for model 'Scribunto' registered in $wgContentHandlers" in the dreaded Red Text of Terror. Given the fact that I am completely clueless with things as comparatively basic as HTML coding, I have no idea what to do in this situation. Is Scribunto (or Lua in general) not installed correctly? How can I fix this?

Thanks! Meriad (talk) 01:14, 13 June 2016 (UTC)

Have you got Scribunto installed? I'm not certain it's available at Shoutwiki. Your wiki's Special:Version page lists what's installed. --Saftzie (talk) 02:42, 13 June 2016 (UTC)
We had Scribunto available everywhere for a while, but it keep causing lots of crashes with HHVM, so we disabled it pending the installation of a module that would render things more efficiently. This was incompatible with our operating system at that time which prompted the maintenance we have just completed. We should be trying to install the module again very soon. You can keep an eye on T18 for further updates on Scribunto. --Lewis Cawte (talk) ShoutWiki Staff 06:12, 13 June 2016 (UTC)