GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Get MediaWiki
  • Get extensions
  • Tech blog
  • Contribute
  • User help
  • FAQ
  • Technical manual
  • Support desk
  • Communication
  • Developer portal
  • Code statistics
  • Community portal
  • Recent changes

This view

  • Original page
  • New address

GeezerVison is showing www.mediawiki.org — Manual:Hooks/ParserOutputPostCacheTransform - MediaWiki

< Manual:Hooks
ParserOutputPostCacheTransform
Available from version 1.31.0 (Gerrit change 393260)
Called from ParserOutput::getText() to do post-cache transforms.
Define function:
public static function onParserOutputPostCacheTransform( $parserOutput, &$text, &$options ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"ParserOutputPostCacheTransform": "MediaWiki\\Extension\\MyExtension\\Hooks::onParserOutputPostCacheTransform"
	}
}
Called from: File(s): Parser/ParserOutput.php
Function(s): getText
Interface: ParserOutputPostCacheTransformHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:ParserOutputPostCacheTransform extensions.

Details

  • $parserOutput: The ParserOutput object.
  • &$text: The text being transformed, before core transformations are done.
  • &$options: The options array being used for the transformation.
Retrieved from "https://www.mediawiki.org/w/index.php?title=Manual:Hooks/ParserOutputPostCacheTransform&oldid=8098423"
Categories:
  • MediaWiki hooks
  • Hooks added in MediaWiki 1.31.0
  • MediaWiki hooks included in ParserOutput.php
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.