14 public function test( $action =
null, $title =
null ) {
15 $this->
checkType(
'mw.ext.TitleBlacklist.test', 1, $action,
'string' );
16 $this->
checkTypeOptional(
'mw.ext.TitleBlacklist.test', 2, $title,
'string',
'' );
17 $this->incrementExpensiveFunctionCount();
19 $title = $this->getParser()->mTitle->getPrefixedText();
24 'params' => $entry->getParams(),
25 'regex' => $entry->getRegex(),
26 'raw' => $entry->getRaw(),
27 'version' => $entry->getFormatVersion(),
28 'message' => $entry->getErrorMessage( $action ),
29 'custommessage' => $entry->getCustomMessage()