diff --git a/debian/tree/pve-docs-mediawiki/pvedocs-include.php b/debian/tree/pve-docs-mediawiki/pvedocs-include.php index 29f013f..6a37f9a 100644 --- a/debian/tree/pve-docs-mediawiki/pvedocs-include.php +++ b/debian/tree/pve-docs-mediawiki/pvedocs-include.php @@ -18,8 +18,19 @@ function efPvedocsParserFunction_Setup(&$parser) { # Set a function hook associating the "pvedocs" magic # word with our function $parser->setFunctionHook( 'pvedocs', 'efPvedocsParserFunction_Render' ); + + $parser->setHook('pvehide', 'renderTagPveHideContent' ); + return true; } + +// Render +function renderTagPveHideContent($input, array $args, Parser $parser, +PPFrame $frame ) { + // simpry return nothing + return ''; +} + function efPvedocsParserFunction_Magic(&$magicWords, $langCode) { # Add the magic word