Manual:Hooks/TreeViewParseItem

Details
$this is the global tree-view object which encapsulates all tree-view functionality.

$text is the wikitext content of the tree-view item which can be manipulated.

$parser the MediaWiki parser object which will parse the content

$treeID the unique numerical ID of the tree in which the item resides.