mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-27 09:40:12 +00:00
ac62e34952
A module for building complex HTML from Lua using a fluent interface. The module is originally from enwiki, but the authors allowed us to reuse it under GPLv2+ (as stated in the file). The module will be loaded per default and comes with unit tests. As discussed on wikitech-l: http://lists.wikimedia.org/pipermail/wikitech-l/2013-December/073320.html Change-Id: I7c8d4378091c13d5ace0dd1fcbb4e27163e8c896
8 lines
168 B
PHP
8 lines
168 B
PHP
<?php
|
|
|
|
class Scribunto_LuaHtmlLibrary extends Scribunto_LuaLibraryBase {
|
|
function register() {
|
|
$this->getEngine()->registerInterface( 'mw.html.lua', array() );
|
|
}
|
|
}
|