MediaWiki FAQ (52 Articles)

How to assign users to groups in MediaWiki?

If you want to grant extra permissions to some of your registered users in MediaWiki, you have to login with your admin user, click on the Special pages link at the left column and then follow the User rights management link. On the next page, enter the user name you want to modify in the […]

How to get complex math formulas working in MediaWiki

This article explains how to overcome issues with Math formulas not properly displaying in MediaWiki with enabled Math Support. The problem is mainly caused by the fact that the default Math Support in MediaWiki does not include all desired formulas or mathematical signs. Particularly more complex ones. If you are getting an error that the […]

How to convert your MediaWiki database to SQLite?

Sometimes, when you have a very popular MediaWiki web site with a lot of articles, the database becomes quite large. Slow MySQL queries could be generated and this will cause a negative impact to your web server performance. In such a case there are two possible solutions. You can either decrease the database size by […]

How to run the MediaWiki update script through a browser?

By default, when upgrading MediaWiki, you have to run the update.php file from a command prompt. This becomes a problem if you don't have SSH access to your account. Fortunately, there is a way to run the script through your browser. Follow the steps below to complete the process: Rename LocalSettings.php to something else (e.g. […]

How to install MediaWiki?

MediaWiki is a free wiki application. It is used to run Wikipedia, the World's largest online encyclopedia, as well as many other wikis. Installing MediaWiki is not very difficult. You can check our MediaWiki installation tutorial for more information on the installation steps. However, many people find it hard to perform a script installation themselves. […]

How to change the color of the bottom borders in MediaWiki?

In order to change the color for the bottom borders (the lines under the headings) in MediaWiki, you should edit the skin's main.css file. For example, if you are using the default Monobook skin, the file you should edit is: /home/user/public_html/skins/monobook/main.css Look for the following code: h1, h2, h3, h4, h5, h6 {     color: […]

How to change the font color for the headings in MediaWiki?

In order to change the font color for the headings in MediaWiki, you should edit the skin's main.css file. For example, if you are using the default Monobook skin, the file you should edit is: /home/user/public_html/skins/monobook/main.css Look for the following code: h1, h2, h3, h4, h5, h6 {     color: black;      background: none;     […]

How to change the font color for the content in MediaWiki?

In order to change the font color for the content in MediaWiki, you should edit the skin's main.css file. For example, if you are using the default Monobook skin, the file you should edit is: /home/user/public_html/skins/monobook/main.css Look for the following code: #content {     background: white;     color: black;        border: 1px solid #aaa;     […]

How to change the favicon in MediaWiki?

You can create a favicon manually on your computer or you can use an online favicon generator. Here are several such generators: Dynamic Drive Generator Graphics Guru Generator 1Favicon Generator Once you create the favicon, you should upload it to your MediaWiki folder. Then in LocalSettings.php you should add the following line: $wgFavicon = "$wgScriptPath/favicon.ico"; […]

How to automatically go to editing a page if it is not found in search?

When a MediaWiki search does not produce any results, you can automatically redirect the visitor to create the new page related to the search word.    To do this, you should add the following line to the LocalSettings.php file: $wgGoToEdit = true; You need help with an application? SiteGround is specialized in hosting and supporting […]

How to enable HTML tags in MediaWiki?

In order to use HTML tags such as <form> and <input> in your MediaWiki pages, you should add the following line to your LocalSettings.php file: $wgRawHtml = true; This is useful when you wish to add a PayPal button to your MediaWiki. Don't forget to insert your HTML code between an opening <html> and closing […]

How to change the ‘Main Page’ title to something else.

The default name for the MediaWiki main page is Main Page. You can change this by editing the MediaWiki:Mainpage page. Go to: www.yourdomain.com/wiki/index.php?title=MediaWiki:Mainpage and click the edit button to edit the page. Change Main Page to the new page name you wish to use and save the change. You need help with an application? SiteGround […]

How to change the default skin for guests in MediaWiki?

To change the MediaWiki skin for users which have not logged in, you should change the $wgDefaultSkin variable in LocalSettings.php. For example, if you wish to change the default skin to standard, you should open LocalSettings.php and change the $wgDefaultSkin variable to: $wgDefaultSkin = 'standard'; You need help with an application? SiteGround is specialized in […]

How to view the print-friendly version of a MediaWiki page?

By default, you should be able to view the print-friendly version of a MediaWiki page by clicking on the Printable version button located in the toolbox section on the left side of the wiki (assuming the default skin is used). However, if the button is missing, or you don't want to use it, you can […]

How to disable caching in MediaWiki?

If you wish to disable caching in your MediaWiki, you should open the LocalSettings.php file and add the following lines to it: $wgEnableParserCache = false; $wgCachePages = false; You need help with an application? SiteGround is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us […]

How to remove the additional footer links in MediaWiki?

By default, MediaWiki shows additional items in the footer such as the time of the last page modification, the privacy policy, etc. You can remove these items by modifying the skins file of your MediaWiki. The default skin's file is skins/MonoBook.php. Open the file with a text editor and find this section:        // Generate […]

How to customize the MediaWiki sidebar?

To edit the links in your MediaWiki sidebar, you should log in as admin and edit the MediaWiki:Sidebar page. The format of the link items is: ** link target|link text The link target can be the name of an interface message, a wiki page or an external link. The link text can be the name […]

How can I see the exact version of my MediaWiki?

You can see the version of your MediaWiki from the Special pages menu > Version. Alternatively, you can access the page directly through: www.yourdomain.com/wiki/index.php?title=Special:Version You need help with an application? SiteGround is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your […]