MediaWiki  1.34.4
HtmlLibrary.php
Go to the documentation of this file.
1 <?php
2 
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