MediaWiki: Difference between revisions

From The Brain Rot MediaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
>__TOC__
__TOC__


== SideBar ==
== SideBar ==
'''Sidebar'''  
'''Sidebar'''  
Typing MediaWiki:Sidebar in search bar, and validating with Enter.
Typing MediaWiki:Sidebar in search bar, and validating with Enter.
Line 15: Line 16:
}
}
</syntaxhighlight>
</syntaxhighlight>
== Footer ==
'''Poweredby logo'''
This hides the Poweredby logo on pages.
<syntaxhighlight lang="python" line>
# Edit LocalSettings.php and add line:
unset( $wgFooterIcons['poweredby'] );
</syntaxhighlight>


This hides the footer (Vector skin)
This hides the footer (Vector skin)
Line 41: Line 54:


'''Mainpage'''  
'''Mainpage'''  
Typing MediaWiki:Mainpage in search bar, and validating with Enter.  
Typing MediaWiki:Mainpage in search bar, and validating with Enter.
 
'''Poweredby logo'''
This hides the Poweredby logo on pages.
<syntaxhighlight lang="python" line>
 
# Edit LocalSettings.php and add line:
 
unset( $wgFooterIcons['poweredby'] );
</syntaxhighlight>

Revision as of 17:48, 6 December 2024

SideBar

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

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

This hides the tools from the sidebar

#p-tb { display: none; }


Disabling section links

.mw-editsection { display: none;}

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