Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does one alter the sidebar of a MediaWiki site?

Tags:

mediawiki

The default left sidebar for a MediaWiki powered sidebar contains such links as "Random Page" and "Current Events." I want to hide these.

Is there a way to do this aside from using CSS (display:none;)? Correspondingly, is there a way to add pages to this list?

Would this require editing any PhP files?

Thank you.

like image 282
dangerChihuahua007 Avatar asked Jan 14 '12 16:01

dangerChihuahua007


People also ask

How do you edit the sidebar on Wikipedia?

First of all, you need to navigate to 'MediaWiki:Sidebar' – by editing the address bar. For example, the http://sitename.com/index.php?title=MediaWiki:Sidebar. Once done, you will be taken to Sidebar page – click 'Edit'.

How does MediaWiki search work?

On every page there is a search box. Enter keywords and phrases and press Enter or Return or click the magnifying glass icon (or Search or Go button when using other skins). If a page has the same title as what you entered, you jump straight to that page.


2 Answers

No coding needed, just edit the page "MediaWiki:Sidebar" in your wiki. Admin rights required, obviously.

like image 52
lambshaanxy Avatar answered Oct 13 '22 00:10

lambshaanxy


The MediaWiki manual may have the information you're looking for. (That was the top hit for "mediawiki customize sidebar" on a search engine.)

like image 42
Kurt McKee Avatar answered Oct 13 '22 00:10

Kurt McKee