MediaWiki:SidebarTree: Difference between revisions

From Riverview Legal Group
Jump to navigation Jump to search
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 edit summary
Line 1: Line 1:
$wgHooks['BeforePageDisplay'][] = 'wfAddSidebarTree';
.fancytree ul {
function wfAddSidebarTree( $out, $skin ) {
    background: none;
$title = Title::newFromText( 'SidebarTree', NS_MEDIAWIKI );
    border: none;
$article = new Article( $title );
    font-size: 12px;
$html = $out->parse( $article->getPage()->getContent()->getNativeData() );
}
$out->addHTML( "<div id=\"wikitext-sidebar\">$html</div>" );
ul.fancytree-container {
return true;
    outline: 0;
    border: none;
    overflow: hidden;
}
.fancytree p {
    display: none;
}
span.fancytree-title {
    cursor: default;
}
span.fancytree-title a {
    color: black;
}
}

Revision as of 21:28, 28 March 2020

.fancytree ul {

   background: none;
   border: none;
   font-size: 12px;

} ul.fancytree-container {

   outline: 0;
   border: none;
   overflow: hidden;

} .fancytree p {

   display: none;

} span.fancytree-title {

   cursor: default;

} span.fancytree-title a {

   color: black;

}