Wikimedia Developer Support

Scribunto/Lua Problem


I have installed scribunto, but the models are not active, it seems that there is a problem with lua … it is written that lua is not active yet I’ve followed all the steps:

`` * wfLoadExtension( ‘Scribunto’ ); $wgScribuntoDefaultEngine = ‘luastandalone’;

  • Set execute permissions for the Lua binaries bundled with this extension:

chmod a+x /path/to/extensions/Scribunto/includes/engines/LuaStandalone/binaries/yourOS/lua

  • Set type to httpd_sys_script_exec_t if SELinux is enforced:

chcon -t httpd_sys_script_exec_t /path/to/extensions/Scribunto/includes/engines/LuaStandalone/binaries/yourOS/lua


Can you post a screenshot where MediaWiki says “lua is not active yet”?


You’ve posted a screenshot, and now you’ve deleted the reply. Have you fixed the issue?


No i didnt yet.. am using arabic version of mediawiki.. All the time i create templates, they arent active and the equation is mentioned {{#if…}} it seems thats a problem with lua, Or i dont fix the problem exactely


I don’t know if the localized name of #invoke would work. Can you try with {{#invoke:}} instead of the arabic translation of invoke? See for example:قالب:عد_تنازلي&action=edit


the problem is on ({{#ifeq:…) all the time when i create a template and an invoke, the template is not displayed and display {{#ifeq:


{{#ifeq: is provided by Extension:ParserFunctions. Be sure it’s enabled on the wiki. If you installed MediaWiki from the tarball, you don’t need to download it since it will be already on the extensions folder.