MediaWiki: Difference between revisions

From The Brain Rot MediaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
This hides the footer (Vector skin)
This hides the footer (Vector skin)


<pre>
<syntaxhighlight lang="python" line>
/* remove some */
/* remove some */


Line 24: Line 24:
/* Or remove them all*/
/* Or remove them all*/
#footer-places { display: none; }
#footer-places { display: none; }
</pre>  
</syntaxhighlight>


This hides the tools from the sidebar
This hides the tools from the sidebar
<pre>
<syntaxhighlight lang="python" line>
#p-tb { display: none; }  
#p-tb { display: none; }  
</pre>  
</syntaxhighlight>




Line 38: Line 38:
'''Poweredby logo'''
'''Poweredby logo'''
This hides the Poweredby logo on pages.
This hides the Poweredby logo on pages.
<pre>
<syntaxhighlight lang="python" line>


# Edit LocalSettings.php and add line:  
# Edit LocalSettings.php and add line:  


unset( $wgFooterIcons['poweredby'] );
unset( $wgFooterIcons['poweredby'] );
</pre>
</syntaxhighlight>
 
 
 
 
* navigation
** mainpage|mainpage-description
** recentchanges-url|recentchanges
** randompage-url|randompage
** helppage|help-mediawiki
* SEARCH
* TOOLBOX
* LANGUAGES

Revision as of 10:28, 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; }


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'] );