Manual:$wgParserOutputHooks/de-formal
![]() | This deprecated feature should no longer be used, but is still available for reasons of backwards compatibility. This feature was deprecated in version 1.38.0. |
Extensions: $wgParserOutputHooks | |
---|---|
Parser output hooks. |
|
Eingeführt in Version: | 1.11.0 |
Veraltet in Version: | 1.38.0 (Gerrit change 760994; git #773801e4) |
Entfernt in Version: | weiterhin vorhanden |
Erlaubte Werte: | (array) |
Standardwert: | [] |
Andere Einstellungen: Alphabetisch | Nach Funktion |
Details
This is an associative array where the key is an extension-defined tag (typically the extension name), and the value is a PHP callback. These will be called as an OutputPageParserOutput hook, if the relevant tag has been registered with the parser output object.
Registration is done with
$pout->addOutputHook( $tag, $data );
The callback has the form:
function outputHook( $outputPage, $parserOutput, $data ) {
/*...*/
}
Categories:
- MediaWiki configuration settings/de-formal
- MediaWiki configuration settings 1.11.0/de-formal
- MediaWiki configuration settings introduced in version 1.11.0/de-formal
- MediaWiki configuration settings deprecated in version 1.38.0/de-formal
- MediaWiki configuration settings still in use/de-formal
- MediaWiki deprecated or obsolete features/de-formal
- Extension variables/de-formal