Help:Customizing your wiki

Welcome to the wiki configuration guide. The purpose of this guide is to map out the functions of the many customisable pages of the MediaWiki software and make their purpose and usage easy to understand and alter yourself. If you see something missing or inaccurate please edit this page and amend it.

Before you begin
Without exception the changes detailed below can only be made by a user with administrator or sysop access. If you are the founder of a Wikia you will have this right from the beginning.

However if the page in question does not exist yet it is not yet protected, and so any user can potentially make changes to it; only a few pages such as Image:Wiki.png and Image:Favicon.ico come pre-protected in an out-of-box wiki.

Whenever you create or edit one of the pages on this list you should probably consider protecting it, as vandalism to many of these could result in severe changes to the wiki's environment that would be instantly visible and affect all users.

Customising the visual theme
There are many ways in which you can personalise your wiki's visual theme to give it its own special appearance.

Site Logo
The normal logo (the image displayed in the top left corner of Monobook and all other skins except the Quartz and Monaco skins) is located at Image:Wiki.png. The Wide logo (used in the Quartz and Monaco skins) is at Image:Wiki wide.png. Just upload another image over top of those to change them. You may need to do a hard-refresh (Ctrl+F5 on Windows, Ctrl+R in Firefox or Ctrl+Shift+R if that doesn't) before you will see the change.

Favicon (Favorites Icon)
The favicon (the small icon displayed next to the URL in the browser) is located at Image:Favicon.ico. This is also a protected page. You may need to click the link through to the icon and do a hard-refresh (Ctrl+F5 on Windows) before you will see the change.

Background Image
It is possible to create a background image for your Wikia, much like Wikipedia has. A default image identical to Wikipedia's is included with each Wikia, so you can turn that on very easily by adding the following code to MediaWiki:Monobook.css.



If the body section already exists you would merely add the background: line at the end before the closing } bracket.

However to use your own custom image you will first need to upload it. Once it is uploaded you will need to copy its exact URL. With a large image you will be provided with a "Download high resolution version" link, so follow that; for smaller images you will need to right-click and choose Copy Image Location or similar.

Now that you have the URL you can use it as the background. For example to use as the background you would need to copy its URL. You can cut off anything before the start of /images/, leaving you with /images/c/c6/Zelda_LA_Koholint_Island_background.jpg Then you would put it into MediaWiki:Monobook.css as something like the following:



Of course you can play around with its positioning ("0px 0px" are X-Y coordinates) as well as various other CSS attributes.

Bullets
The default bullet image ( http://www.wikia.com/skins/monobook/bullet.gif ) is located at http:// .wikia.com/skins/monobook/bullet.gif, where is the subdomain name of your Wikia. Once again, upload an image and copy its exact URL, then post it into the CSS code below. You will need both of these otherwise the bullet change will not be universal.

This example comes from Wikireview, where the bullet has been replaced with a blue one ( http://reviews.wikia.com/images/4/4e/Wikireview-bullet.png ).



Note that the bullet image has a certain amount of whitespace above and below it; if your bullet goes outside of these default limits it will appear misaligned (a bullet that is merely wider will not look misaligned); to have a taller bullet you will need to adjust the line-height and other attributes accordingly.

MediaWiki:Monobook.css
This page allows you to override the default CSS stylesheet for your wiki. Changes to this page will affect all users using the default Monobook theme. In addition, unless you specify a specific namespace, all pages within the wiki will be affected. Useful to keep in mind, if you are trying to distinguish between different types of pages.

The default CSS used on each Wikia can be found at http:// .wikia.com/skins/monobook/main.css, where is your Wikia's subdomain name.

Note that you should not copy the entire original monobook.css file into the MediaWiki:Monobook.css, just the parts you want changed. This not only lets you browse your customisations more easily but also means that any time an update is made to the global CSS of all wikia yours will be updated too, except of course for the portions you altered.

To override the CSS for a single user, create a page such as User:Usernamehere/monobook.css where "Usernamehere" is the person's username. As a rule you should not change anyone's CSS but your own without their permission.

Color scheme
An example of a significantly altered color scheme can be found at the Radio Control Wikia. Other examples are at Help:Wikia custom skins.

Attributes you should not alter
Each Wikia is free to customise their layout in almost any way they see fit, however there are a few exceptions.


 * All references to Google ads--that being #column-google, #content_withads, .content-noads, .content-ads--must not be changed; these ads are paying for your hosting, and to shrink or obscure them in any way is not allowed - not even in your personal CSS stylesheet.

Useful MediaWiki configuration pages
Pages in the MediaWiki: namespace allow admins to configure the wiki easily. To see a list of all pages in the MediaWiki namespace, check out Special:Allmessages. Note that you can usually use all forms of HTML (including tags such as  which usually do not work) in the MediaWiki namespace, although it will not show up when you actually view the MediaWiki page as an article, but it will work when the MediaWiki page is actually implemented.

MediaWiki:Sitenotice
This has a special purpose. It is usually used for making announcements. Whatever is placed in it will go above the page title. A current example of this in use can be seen at Gameinfo. By default the Sitenotice text is centered, but this can once again be changed via MediaWiki:Monobook.css.

MediaWiki:Sidebar
This page allows you to edit side bar - menu that is on left of your page above search box. You can add new item to 'navigation' menu by adding code:

Then create page MediaWiki:description and write there description, just simple text like 'Quotes'. Link to page is title of it, not inside of marks, but only blank text. You can also add new sections of menu and remove existing one.

MediaWiki:Mainpage
Allows you to set where the main page is &mdash; the page that the user is taken to when they go to the Wikis URL without specifying what page, or when they click on the logo (such as on this Wiki, Wikia is the main page &mdash; http://www.wikia.com/ will take you there since the content of MediaWiki:Mainpage is currently Wikia). The default main page is "Main Page". So, for example, if you wanted the main page of your wiki to be Foobar Rhinoceros, then you would create a MediaWiki:Mainpage on your wiki with only the content:

MediaWiki:Nogomatch
Allows you to set a message to be displayed when a user uses the Go button to find an article and it is not found. Should contain text asking the user if they want to create the article (follow my example). To create a link to create the article searched for, on the MediaWiki:Nogomatch page, include the following text:

MediaWiki:Noarticletext
Allows you to change the text displayed when you attempt to view an article that does not exist. The default is "(There is currently no text in this page)".

MediaWiki:Copyrightwarning2
Allows you to change or add text appearing underneath the editbox and save button while editing a page. Good to use, to say, give users a link to the sandbox rather than them testing out on any random page.

MediaWiki:Recentchangestext
Allows you to change the text that appears at the top of the Recent changes page. To do this, just create the page with only the text you want to appear at the top of Recent changes. The default text is:

MediaWiki:Tagline
Allows you to change the text which can be enabled to appear under the article title (such as on this wiki where it says "Wikia - creating communities" under the title header). By default, this text is not there. If it is enabled and MediaWiki:Tagline has not been created it will, by default, display:

To enable this text to display; add the following line to MediaWiki:Monobook.css (or create it if its not already):

MediaWiki:Lastmodified
Allows you to change the text that appears in place of the "This page was last modified (date)" in the footer. By default, the content of this page is:

MediaWiki:Currentevents
Allows you to change the text displayed for the Current events link in the sidebar. To remove it completely, create the page with only a minus symbol (-) and nothing else. If you want to remove it, the content should be, completely:

MediaWiki:Currentevents-url
Allows you to change the page the Current events link the sidebar links to. To do so, create the page containing, for content, only the name of the page Current events should link to. For example, if you wanted the text Current events in the sidebar to link to "Foobar Rhinoceros", you would create the page with only the following content:

MediaWiki:Portal
Allows you to change or remove the text displayed for the face of the Community portal link in the side bar. To change it, create the page with only the new name of Community portal, and nothing else (note that it will still link to Project:Community Portal, see below to change that).

MediaWiki:Portal-url
Allows you to change where the Community portal link points to or to hide it (See sidebar information if you wish to actually remove it). To do this, simply create the page with only the name of where you want the Community portal link to point. For example, if you wanted the text "Community portal" in the sidebar to link to "Foobar Rhinoceros", you would create the page with only the following content:

To hide the community portal link, create the page with only a minus symbol (-) and nothing else. If you want to hide it the content should only be:

MediaWiki:Recentchanges
Allows you to change the face text of the Recent changes link in the sidebar, or remove it completely. To change the text, create the page with only the new text for the face of the Recent changes link.

MediaWiki:Recentchanges-url
Allows you to change where the Recent changes link points to. To do this, simply create the page with only the name of where you want the Recent changes link to point. For example, if you wanted the text "Recent changes" in the sidebar to link to "Foobar Rhinoceros", you would create the page with only the following content:

To hide the recent changes link, create the page with only a minus symbol (-) and nothing else. If you want to hide it the content should only be:

MediaWiki:Randompage
Allows you to change the face text of the Random page link in the sidebar, or remove it completely. To change the text, create the page with only the new text for the face of the Random page link.

MediaWiki:Randompage-url
Allows you to change where the Random page link, in the sidebar, points to. To do this, simply create the page with only the name of where you want the Recent changes link to point. For example, if you wanted the text "Random page" in the sidebar to link to "Foobar Rhinoceros", you would create the page with only the following content:

To hide the random page link, create the page with only a minus symbol (-) and nothing else. If you want to hide it the content should only be:

MediaWiki:Help
Allows you to change the face text of the Help link in the sidebar, or remove it completely. To change the text, create the page with only the new text for the face of the Help link. To remove it, create the page with only a minus symbol (-) and nothing else. If you want to remove it, the content should be, completely:

MediaWiki:Helppage
Allows you to change where the Help link, in the sidebar, points to. To do this, simply create the page with only the name of where you want the Help link to point. For example, if you wanted the text "Help" in the sidebar to link to "Foobar Rhinoceros", you would create the page with only the following content:

MediaWiki:Sitesupport
Disabled by default. Allows you to create a site support link in the sidebar &mdash; by default, if this is created, it will link to Project:Site support (see below to change this). The site support link is mostly useful if you want to create a link to somewhere else &mdash; for example if you wanted to create a link to a "Foobar Rhinoceros" or something, than just create MediaWiki:Sitesupport with only the content:
 * ...and then you could configure the MediaWiki page below to point to "Foobar Rhinoceros".
 * ...and then you could configure the MediaWiki page below to point to "Foobar Rhinoceros".

MediaWiki:Sitesupport-url
This allows you to change where the "Site support" link in the sidebar points to. So, if you want the text "Site support" (see above) in the sidebar to point to "Foobar Rhinoceros", just create the page with only the content:

MediaWiki:Whatlinkshere
MediaWiki:Whatlinkshere allows the face of "What links here" link in the toolbox to be changed. Just create it with only the text you want to show in place of "What links here". Note: You can not remove this link. Using a "-" for content will only change the links face to -.

MediaWiki:Specialpages
MediaWiki:Specialpages allows the face of "Special pages" link in the toolbox to be changed. Just create it with only the text you want to show in place of "Special pages". Note: You can not remove this link. Using a "-" for content will only change the links face to -.