mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-12-03 20:36:18 +00:00
f76ba3c465
Instead of per-file. This happens to also fix a false positive with the PhpunitAnnotations sniff. Change-Id: I22621c37217ed2db9d8b3591df1a1421c25fa7f6
11 lines
261 B
PHP
11 lines
261 B
PHP
<?php
|
|
|
|
class Scribunto_LuaHtmlLibrary extends Scribunto_LuaLibraryBase {
|
|
function register() {
|
|
return $this->getEngine()->registerInterface( 'mw.html.lua', [], [
|
|
'uniqPrefix' => Parser::MARKER_PREFIX,
|
|
'uniqSuffix' => Parser::MARKER_SUFFIX,
|
|
] );
|
|
}
|
|
}
|