|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onParserLogLinterData (string $title, int $revId, array $lints) | |
| This hook allows Parsoid to log additional linting information during a parse to a database maintained by the [[Extension:Linter]]. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ParserLogLinterData" to register handlers implementing this interface.
Definition at line 13 of file ParserLogLinterDataHook.php.
| MediaWiki\Parser\Hook\ParserLogLinterDataHook::onParserLogLinterData | ( | string | $title, |
| int | $revId, | ||
| array | $lints ) |
This hook allows Parsoid to log additional linting information during a parse to a database maintained by the [[Extension:Linter]].
See [[Extension:Linter]] for more information.
| string | $title | The title of the page being parsed |
| int | $revId | The revision ID of the page being parsed (this hook is typically only invoked if this corresponds to the most recent revision of the given page). |
| array | $lints | The linter information for the given revision of the page. |
Implemented in MediaWiki\HookContainer\HookRunner.