MediaWiki REL1_34
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}
This class provides some basic services that Lua libraries will probably need.
getEngine()
Get the engine.