I used to install Scribunto extension yesterday. While I failed. I just did as the manual says:
Installation
https://www.mediawiki.org/wiki/Extension:Scribunto#Installation
If using Vagrant, install with vagrant roles enable scribunto --provision
Manual installation
Download and place the file(s) in a directory called Scribunto in your extensions/ folder. Add the following code at the bottom of your LocalSettings.php: wfLoadExtension( 'Scribunto' ); $wgScribuntoDefaultEngine = 'luastandalone'; Set execute permissions for the Lua binaries bundled with this extension:
chmod a+x /path/to/extensions/Scribunto/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/engines/LuaStandalone/binaries/yourOS/lua
Yes Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
To users running MediaWiki 1.29 or earlier:
The instructions above describe the new way of installing this extension using wfLoadExtension() If you need to install this extension on these earlier versions (MediaWiki 1.29 and earlier), instead of wfLoadExtension( ‘Scribunto’ );, you need to use:
Later on I found that my site has become blank.
I disable the extensions of Scribunto. Not work. And I delted the line in LocalSettings.php. Still no work. So I disable all extensions. Still no work.
And I did as the manual says:(https://www.mediawiki.org/wiki/Manual:Errors_and_symptoms#You_see_a_Blank_Page)
add the following lines to the LocalSettings.php file, underneath the <?php:
error_reporting( E_ALL );
ini_set( ‘display_errors’, 1 );
and then I could see the error information. But I still don’t know how to resolve that.
I just wondered how I could resolve the problem?(I used to change the memory limit size before the Scribunto extension installed. But after that my site could still work(I uploaded several file then.)