MediaWiki
1.34.4
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
}
Parser\MARKER_PREFIX
const MARKER_PREFIX
Definition:
Parser.php:139
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 Sep 24 2020 22:29:09 for MediaWiki by
1.8.18