MediaWiki
REL1_34
HtmlLibrary.php
Go to the documentation of this file.
1
<?php
2
3
class
Scribunto_LuaHtmlLibrary
extends
Scribunto_LuaLibraryBase
{
4
public
function
register
() {
5
return
$this->
getEngine
()->registerInterface(
'mw.html.lua'
, [], [
6
'uniqPrefix'
=> Parser::MARKER_PREFIX,
7
'uniqSuffix'
=> Parser::MARKER_SUFFIX,
8
] );
9
}
10
}
Scribunto_LuaHtmlLibrary
Definition
HtmlLibrary.php:3
Scribunto_LuaLibraryBase
This class provides some basic services that Lua libraries will probably need.
Definition
LibraryBase.php:27
Scribunto_LuaLibraryBase\getEngine
getEngine()
Get the engine.
Definition
LibraryBase.php:56
extensions
Scribunto
includes
engines
LuaCommon
HtmlLibrary.php
Generated on Mon Nov 25 2024 16:04:42 for MediaWiki by
1.10.0