Page MenuHomePhabricator

DRTRIGON-118 Enable lua support to enable even better template programming inclusion (subster)
Closed, DeclinedPublic

Description

This issue was converted from https://jira.toolserver.org/browse/DRTRIGON-118.
Summary: Enable lua support to enable even better template programming inclusion (subster)
Issue type: New Feature - A new feature of the product, which has yet to be developed.
Priority: Major
Status: Open
Assignee: drtrigon <dr.trigon@surfeu.ch>


From: drtrigon <dr.trigon@surfeu.ch>

Date: Sun, 19 Feb 2012 17:24:11

As mentioned in [1] the mediawiki software will include lua in future as template scripting language. In order to improve subster and enable even closer integration and e.g. write postproc funcs in lua also use [2] to combine lua with python with lua with ... ![][1]

[1] http://www.mediawiki.org/wiki/Lua_scripting
[2] http://labix.org/lunatic-python

[1]: https://jira.toolserver.org/images/icons/emoticons/wink.gif

Version: unspecified
Severity: major

Details

Reference
bz59403

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:28 AM
bzimport set Reference to bz59403.

From: drtrigon <dr.trigon@surfeu.ch>

Date: Sun, 19 Feb 2012 20:30:34

'postproc' functions with lua have some unicode issues (tested) and would make not that much sence - introduces another layer of complexibility - since they are written and modified by the bot operator only!

May be enhancing 'simple' (or introduce a new parameter called 'lua-simple' or 'lua', ...) with lua support would make more sence.

One issue may be that the bot's (local) lua is not in same scope like the lua in the wiki (has other libraries in background). This would always be an issue.

(may be write a lua syntax checker bot...)


From: drtrigon <dr.trigon@surfeu.ch>

Date: Sun, 19 Feb 2012 20:37:38

Example for usage of 'lunatic-python'.


From: drtrigon <dr.trigon@surfeu.ch>

Date: Tue, 12 Jun 2012 22:12:45

Extension:Scribunto
http://www.mediawiki.org/wiki/Extension:Scribunto


From: drtrigon <dr.trigon@surfeu.ch>

Date: Sun, 23 Dec 2012 22:22:09

script_wui.py (from rewrite) has lua support included. TS-1583 needed in order to activate it.

Aklapper subscribed.

Declining this task as this project is not active anymore. See T300969 for more information.