Difference between revisions of "Reference:Scribunto"

m (Text replacement - "|edition=BlueSpice pro |active=Yes" to "|edition=BlueSpice pro, BlueSpice Farm, BlueSpice Cloud |active=Yes")
 
The Scribunto (Latin: "they shall write/let them write (in the future)") extension allows

Extension: Scribunto


Overview
Description: provides a framework for embedding scripting languages
in MediaWiki. Currently the only supported scripting language is Lua.

Requirements[edit | edit source]

PCRE version compatibility[edit | edit source]

PCRE 8.33 or later is recommended. You can see the version of PCRE used by PHP by viewing a phpinfo() web page, or from the command line with the command php -i | grep 'PCRE'.

CentOS 6 and RHEL 6 are stuck on PCRE 7 and need to be upgraded.

Updating to 8.33 on a server with an older version may be relatively complicated. See Updating to PCRE 8.33 or Higher for details.

PHP pcntl[edit | edit source]

Since Scribunto for MediaWiki 1.25, your PHP server also needs to have pcntl enabled (only works with Unix/Linux platforms) if you want to use "LuaStandAlone" (i.e. running in a separate child process). Under Windows, Scribunto will run Lua only as "LuaSandbox" (within the same PHP thread as the thread used by MediaWiki to run this Scribunto extension, but within the sandboxing PHP environment configured by Scribunto).

PHP mbstring extension[edit | edit source]

PHP needs to have the mbstring extension enabled.

To see if it installed on your server, you can check if it is enabled by running the command php -m on the server. If the string mbstring is present in the output, the extension is enabled.

PCRE version compatibility[<a href="https://www.mediawiki.org/w/index.php?title=Extension:Scribunto&action=edit&section=3" title="Edit section: PCRE version compatibility">edit][edit | edit source]

PCRE 8.33 or later is recommended. You can see the version of PCRE used by PHP by viewing a phpinfo() web page, or from the command line with the command php -i | grep 'PCRE'.

CentOS 6 and RHEL 6 are stuck on PCRE 7 and need to be upgraded.

Updating to 8.33 on a server with an older version may be relatively complicated. See Updating to PCRE 8.33 or Higher for details.

Blank screen[<a href="https://www.mediawiki.org/w/index.php?title=Extension:Scribunto&action=edit&section=37" title="Edit section: Blank screen">edit][edit | edit source]

Make sure your extension version is applicable to your MediaWiki version.

Source: mediawiki
into articles.
State: stable Dependency: MediaWiki
Developer: Victor Vasiliev, Tim Starling License: GPL v2+ and MIT
Type: MediaWiki Category: Infrastructure
Edition: BlueSpice pro, BlueSpice Farm, BlueSpice Cloud
For more info, visit Mediawiki.

Features[edit source]

Scribunto provides a framework for embedding scripting languages into MediaWiki pages.


For more information visit MediaWiki.


Attachments

Discussions