X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=debian%2Ftree%2Fpve-docs-mediawiki%2Fpvedocs-include.php;h=6a37f9aa98770335c1f7d7237b86ae6e63a7d992;hp=29f013fa8d65acc1f6f03e8eeb14da7cf427a1f4;hb=599714d65543dd88a17222526116c36da615f463;hpb=115aef16f8bedba9ea2016815e427d442b5ccb55 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