MediaWiki: Difference between revisions

From The Brain Rot MediaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 42: Line 42:
<syntaxhighlight lang="python" line="1">
<syntaxhighlight lang="python" line="1">
.mw-editsection { display: none;}
.mw-editsection { display: none;}
</syntaxhighlight>
This hides the [Discussion] tab on pages.
<syntaxhighlight lang="python" line>
/* CSS placed here will be applied to all skins */
#ca-talk {
    display: none !important;
}
</syntaxhighlight>
</syntaxhighlight>


== Custom CSS ==
== Custom CSS ==
Typing '''MediaWiki:Common.css''' in search bar, and validating with Enter.
Typing '''MediaWiki:Group-user.css''' in search bar, and validating with Enter.


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

Revision as of 18:00, 6 December 2024

SideBar

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

This hides the tools from the sidebar

#p-tb { display: none; }


Footer

Poweredby logo This hides the Poweredby logo on pages.

# Edit LocalSettings.php and add line: 
unset( $wgFooterIcons['poweredby'] );


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; }

Header

Disabling section links

.mw-editsection { display: none;}

This hides the [Discussion] tab on pages.

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

Custom CSS

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

MainPage

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