Last modified: 2014-01-04 13:51:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61403, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59403 - DRTRIGON-118 Enable lua support to enable even better template programming inclusion (subster)
DRTRIGON-118 Enable lua support to enable even better template programming in...
Status: NEW
Product: Tool Labs tools
Classification: Unclassified
DrTrigonBot - General (Other open bugs)
unspecified
All All
: Unprioritized major
: ---
Assigned To: DrTrigon
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-03 16:03 UTC by Bugzilla Bug Importer (valhallasw)
Modified: 2014-01-04 13:51 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bugzilla Bug Importer (valhallasw) 2014-01-03 16:03:09 UTC
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
Comment 1 Bugzilla Bug Importer (valhallasw) 2014-01-03 16:03:10 UTC
-------------------------------------------------------------------------------
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...)
Comment 2 Bugzilla Bug Importer (valhallasw) 2014-01-03 16:03:12 UTC
-------------------------------------------------------------------------------
From: drtrigon <dr.trigon@surfeu.ch>
Date: Sun, 19 Feb 2012 20:37:38
-------------------------------------------------------------------------------

Example for usage of 'lunatic-python'.
Comment 3 Bugzilla Bug Importer (valhallasw) 2014-01-03 16:03:14 UTC
-------------------------------------------------------------------------------
From: drtrigon <dr.trigon@surfeu.ch>
Date: Tue, 12 Jun 2012 22:12:45
-------------------------------------------------------------------------------

Extension:Scribunto  
http://www.mediawiki.org/wiki/Extension:Scribunto
Comment 4 Bugzilla Bug Importer (valhallasw) 2014-01-03 16:03:16 UTC
-------------------------------------------------------------------------------
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links