SidebarTree
Z Elproma Wiki Knowledge Base
$wgHooks['BeforePageDisplay'][] = function( $out, $skin ) { $title = Title::newFromText( 'SidebarTree', NS_MEDIAWIKI ); $page = WikiPage::factory( $title ); $html = $out->parseAsContent( $page->getContent()->getNativeData() );
$out->addHTML( "
" );
return true; };