]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/wiki/templates/default/mw-ext-Scribunto.inc.php.erb
Install lua for Scribuntu
[chef.git] / cookbooks / wiki / templates / default / mw-ext-Scribunto.inc.php.erb
index 2d974f55f55d6b01759810d1b6bc98e8d4887592..4c9eb99adc2eb64c87b9e3fb54fafac92f616998 100644 (file)
@@ -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;