MediaWiki:SidebarTree: Difference between revisions

From Riverview Legal Group
Access restrictions were established for this page. If you see this message, you have no access to this page.
(Created page with "$wgHooks['BeforePageDisplay'][] = 'wfAddSidebarTree'; function wfAddSidebarTree( $out, $skin ) { $title = Title::newFromText( 'SidebarTree', NS_MEDIAWIKI ); $article = new A...")
(No difference)

Revision as of 21:27, 28 March 2020

$wgHooks['BeforePageDisplay'][] = 'wfAddSidebarTree'; function wfAddSidebarTree( $out, $skin ) { $title = Title::newFromText( 'SidebarTree', NS_MEDIAWIKI ); $article = new Article( $title ); $html = $out->parse( $article->getPage()->getContent()->getNativeData() );

$out->addHTML( "

$html

" );

return true; }