MediaWiki
1.34.0
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_LuaLibraryBase\getEngine
getEngine()
Get the engine.
Definition:
LibraryBase.php:56
Scribunto_LuaHtmlLibrary
Definition:
HtmlLibrary.php:3
Scribunto_LuaLibraryBase
This class provides some basic services that Lua libraries will probably need.
Definition:
LibraryBase.php:27
extensions
Scribunto
includes
engines
LuaCommon
HtmlLibrary.php
Generated on Thu Dec 19 2019 14:53:57 for MediaWiki by
1.8.16