|This page is about Monobook, a non-default skin.|
Each wiki has a sidebar on the left of the page. Above the "search" box, administrators on each Wikia can customise the sidebar by adding, reordering or editing lines in MediaWiki:Sidebar. The "search", "toolbox", and "wikia" sections cannot be changed this way.
A default sidebar
* navigation ** mainpage|mainpage ** portal-url|portal ** currentevents-url|currentevents ** recentchanges-url|recentchanges ** randompage-url|randompage ** helppage|help
This is the easy way, and it is good enough for most Wikia.
* navigation ** mainpage|mainpage ** portal-url|portal ** forum:index|Forum ** currentevents-url|currentevents ** recentchanges-url|recentchanges ** randompage-url|randompage ** helppage|help
Advanced procedure: If you want, you could instead create MediaWiki:forum-url and MediaWiki:forum, then add the line
** forum-url|forum. You could then create localised MediaWiki:forum/de, MediaWiki:forum/es, and so on for users who set the wiki language in their preferences. (You could also create MediaWiki:forum-url/de if you expect speakers of that language to use a separate forum.) The six default links already do it this way, so you can readily create MediaWiki:mainpage/de for example if you have a main page in another language.
* navigation ** mainpage|mainpage ** recentchanges-url|recentchanges ** randompage-url|randompage ** helppage|help * community ** portal-url|portal ** helppage|help ** contactus-url|contactus * language ** alphabet-url|alphabet ** numerals-url|numerals ** grammar-url|grammar ** dictionary-url|dictionary
If you look at any page in the D'ni wiki, you see three sections: navigation, community, and language (unless they change their sidebar).
Lines that do not begin with * or ** are discarded. Lines that do begin with ** and do not contain | are presently also discarded, but this might change in newer releases of MediaWiki (to which Wikia might upgrade).
A line that begins with * indicates a section header. Each Wikia starts with a "navigation" section, but it is possible to change that section's name and to add more sections.
A line that begins with ** and contains a | represents a link in the sidebar menu.
Do not localise MediaWiki:Sidebar itself
In order maintain consistency for users who have set another language in their preferences, MediaWiki:Sidebar should only be edited in the default language of the wiki. This means, you should not edit "MediaWiki:Sidebar/de" unless you explicitly want German speaking users to see a different sidebar from everyone else.
Do not repeat list values
Do not repeat list values in MediaWiki:Sidebar; they will cause duplicate XHTML ids, which are illegal in XHTML.
You also should not name any section "search", "toolbox", or "wikia" because that duplicates the existing sections and also causes CSS problems.
More help can be found at Manual:Interface/Sidebar on MediaWiki.org.