SidebarTree

Z Elproma Wiki Knowledge Base
Skocz do: nawigacja, szukaj

$wgHooks['BeforePageDisplay'][] = function( $out, $skin ) { $title = Title::newFromText( 'SidebarTree', NS_MEDIAWIKI ); $page = WikiPage::factory( $title ); $html = $out->parseAsContent( $page->getContent()->getNativeData() );

$out->addHTML( "

$html

" );

return true; };