MediaWiki
1.34.0
|
Public Member Functions | |
register () | |
Called to register the library. More... | |
test ( $action=null, $title=null) | |
Public Member Functions inherited from Scribunto_LuaLibraryBase | |
__construct (Scribunto_LuaEngine $engine) | |
incrementExpensiveFunctionCount () | |
Increment the expensive function count, and throw if limit exceeded. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Scribunto_LuaLibraryBase | |
checkType ( $name, $argIdx, $arg, $expectType) | |
Check the type of a variable. More... | |
checkTypeOptional ( $name, $argIdx, &$arg, $expectType, $default) | |
Check the type of a variable, with default if null. More... | |
getEngine () | |
Get the engine. More... | |
getInterpreter () | |
Get the interpreter. More... | |
getLuaType ( $var) | |
Get the Lua type corresponding to the type of the variable. More... | |
getParser () | |
Get the parser. More... | |
getParserOptions () | |
Get the parser options. More... | |
getTitle () | |
Get the title. More... | |
Definition at line 3 of file Scribunto_LuaTitleBlacklistLibrary.php.
Scribunto_LuaTitleBlacklistLibrary::register | ( | ) |
Called to register the library.
This should do any necessary setup and then call $this->getEngine()->registerInterface(). The value returned by that call should be returned from this function, and must be for 'deferLoad' libraries to work right.
Reimplemented from Scribunto_LuaLibraryBase.
Definition at line 4 of file Scribunto_LuaTitleBlacklistLibrary.php.
References Scribunto_LuaLibraryBase\getEngine().
Scribunto_LuaTitleBlacklistLibrary::test | ( | $action = null , |
|
$title = null |
|||
) |
Definition at line 14 of file Scribunto_LuaTitleBlacklistLibrary.php.
References $title, Scribunto_LuaLibraryBase\checkType(), Scribunto_LuaLibraryBase\checkTypeOptional(), Scribunto_LuaLibraryBase\getParser(), Scribunto_LuaLibraryBase\incrementExpensiveFunctionCount(), and TitleBlacklist\singleton().