mediawiki-extensions-Scribunto/includes/Engines/LuaCommon/HtmlLibrary.php

15 lines
332 B
PHP
Raw Permalink Normal View History

<?php
namespace MediaWiki\Extension\Scribunto\Engines\LuaCommon;
use MediaWiki\Parser\Parser;
class HtmlLibrary extends LibraryBase {
public function register() {
return $this->getEngine()->registerInterface( 'mw.html.lua', [], [
'uniqPrefix' => Parser::MARKER_PREFIX,
'uniqSuffix' => Parser::MARKER_SUFFIX,
] );
}
}