MediaWiki: Difference between revisions

From The Brain Rot MediaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:
/* Or remove them all*/
/* Or remove them all*/
#footer-places { display: none; }
#footer-places { display: none; }
</syntaxhighlight>
</syntaxhighlight>
This hides the tools from the sidebar
This hides the tools from the sidebar
<syntaxhighlight lang="python" line>
<syntaxhighlight lang="python" line>
Line 31: Line 31:
</syntaxhighlight>
</syntaxhighlight>


 
</syntaxhighlight>
Disabling section links
<syntaxhighlight lang="python" line>
#p-tb { display: none; }
</syntaxhighlight>


'''Mainpage'''  
'''Mainpage'''  

Revision as of 20:43, 5 December 2024

Sidebar Typing MediaWiki:Sidebar in search bar, and validating with Enter.

Common.css Typing MediaWiki:Common.css in search bar, and validating with Enter.

This hides the [Discussion] tab on pages.

/* CSS placed here will be applied to all skins */
#ca-talk {
    display: none !important;
}

This hides the footer (Vector skin)

/* remove some */

#footer-places-privacy { display: none; }
#footer-places-about { display: none; }
#footer-places-disclaimer { display: none; } 

/* Or remove them all*/
#footer-places { display: none; }

This hides the tools from the sidebar

#p-tb { display: none; }

</syntaxhighlight> Disabling section links

#p-tb { display: none; }

Mainpage Typing MediaWiki:Mainpage in search bar, and validating with Enter.

Poweredby logo This hides the Poweredby logo on pages.

# Edit LocalSettings.php and add line: 

unset( $wgFooterIcons['poweredby'] );