Manual:$wgParserOutputHooks
![]() | この機能は廃止予定であるため使用してはいけませんが、後方互換性のためまだ利用できる状態です。 この機能はバージョン 1.38.0 で廃止予定になりました。 |
拡張機能: $wgParserOutputHooks | |
---|---|
Parser output hooks. |
|
導入されたバージョン: | 1.11.0 |
廃止予定になったバージョン: | 1.38.0 (Gerrit change 760994; git #773801e4) |
除去されたバージョン: | 使用中 |
許容される値: | (配列) |
既定値: | [] |
その他の設定: アルファベット順 | 機能順 |
詳細
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/ja
- MediaWiki configuration settings 1.11.0/ja
- MediaWiki configuration settings introduced in version 1.11.0/ja
- MediaWiki configuration settings deprecated in version 1.38.0/ja
- MediaWiki configuration settings still in use/ja
- MediaWiki deprecated or obsolete features/ja
- Extension variables/ja