X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1b772d6a33c4776ab4800f1b85db2f20dfbf88b5..b52a55582446c7639f6727db470a9ba4d6ba7c1b:/cookbooks/wiki/templates/default/mw-ext-Scribunto.inc.php.erb diff --git a/cookbooks/wiki/templates/default/mw-ext-Scribunto.inc.php.erb b/cookbooks/wiki/templates/default/mw-ext-Scribunto.inc.php.erb index 2d974f55f..4c9eb99ad 100644 --- a/cookbooks/wiki/templates/default/mw-ext-Scribunto.inc.php.erb +++ b/cookbooks/wiki/templates/default/mw-ext-Scribunto.inc.php.erb @@ -3,6 +3,12 @@ wfLoadExtension('Scribunto'); +// Use standalone mode +$wgScribuntoDefaultEngine = 'luastandalone'; + +// Set path to lua interpreter +$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/bin/lua'; + // Enable syntax highlighting $wgScribuntoUseGeSHi = true;