| 1 | <?php |
| 2 | |
| 3 | namespace MediaWiki\Extension\Scribunto\Engines\LuaCommon; |
| 4 | |
| 5 | use MediaWiki\Parser\Parser; |
| 6 | |
| 7 | class HtmlLibrary extends LibraryBase { |
| 8 | public function register() { |
| 9 | return $this->getEngine()->registerInterface( 'mw.html.lua', [], [ |
| 10 | 'uniqPrefix' => Parser::MARKER_PREFIX, |
| 11 | 'uniqSuffix' => Parser::MARKER_SUFFIX, |
| 12 | ] ); |
| 13 | } |
| 14 | } |