MediaWiki is a free application, registered under the GNU General Public License (GPL). It is used to run Wikipedia, the World's largest online encyclopedia, as well as many other wikis. Mediawiki provides a rich set of features. It is the most popular wiki software and there are lots of extra resources available for it.
To use Mediawiki you should first of all install it on your wiki hosting account. With SiteGround hosting you can use all MediaWiki features.
Learn how to request free Mediawiki installation, how to automatically install it via the SiteSoftware tools provided by SiteGround or how to easily setup a manual Mediawiki installation
Learn how to alter the logo of a Mediawiki installation and how to change the skin for Mediawiki
Here you will find instructions how to alter the name of an existing page in Mediawiki
Learn how to add links to Mediawiki posts, how to set target URL and lable for it in the post
In this part of the tutorial you can learn how to craete new sections and add categories to your Mediawiki.
Simple explanation how to edit posts in Mediawiki
Learn how to install extensions such as forum, images upload functionality in Mediawiki.
SiteGround customers can request a free installation of Mediawiki from their Customer Area -> Get Support.
Mediawiki software is not included in the Fantastico automated installation tool. That is why its installation is relatively more complicated than those of Joomla or phpBB for instance.
Step 1: Database Setup
Please check our MySQL tutorial, to see how to create MySQL database and user.
Step 2: Upload Files
Once you have downloaded the release you want (Mediawiki can be downloaded from here), you can upload it to your account using the File Manager tool or an FTP client.
Now you should open the folder where you extracted the files with your favorite browser. If you have extracted the files in a folder called 'wiki', then you should go to:
www.yourdomain.com/wiki
There you will be asked to set up your MediaWiki.

When you click on the Set up the wiki link, you will be taken to the installation page.
Step 1: Site config
Under the Site config section you will be able to choose a name for your wiki, to set up a contact mail, to choose a language and license, to set an admin username and password and to select a caching method.

Step 2: E-mail, e-mail notification and authentication setup
The name of the next section - E-mail, e-mail notification and authentication setup, speaks for itself. Here you should configure the mail features for your wiki.

Step 3: Database config
In the Database config section you have to set up your database:

Step 4: MySQL specific options
Under MySQL specific options you can configure:

When you are ready, click on [Install MediaWiki!] button.
If everything has been set up correctly, you should see the Installation successful message.

Then you have to move the file LocalSettings.php from the config/ folder to your main wiki folder.
Congratulations! MediaWiki has been successfully installed to your account. You can access it through: www.yourdomain.com/wiki.
In the MediaWiki Documentation section we have included several articles, which will help you manage your wiki website. Below you will find informaiton about:
|
||||||
|
||||||
|
||||||
All posts in the Wiki are located in the text version of the page. This can be edited by clicking on the edit button.
You can change the Logo of your wiki by altering the $wgLogo variable in /includes/DefaultSettings.php to the name of the image you want to use as a logo.
Please note that this logo should be placed in the /skins/common/images/ folder.
You can create a skin all by yourself by following the steps provided below:
mywikiskin;
MyWikiSkin.php;
class SkinMyWikiSkin extends SkinTemplate;
class MyWikiSkinTemplate extends QuickTemplate;
'mywikiskin';
'MyWikiSkinTemplate';
$out->addStyle( 'mywikiskin/main.css', 'screen' );
$out->addStyle( 'mywikiskin/IE50Fixes.css', 'screen', 'lt IE 5.5000' );
$out->addStyle( 'mywikiskin/IE55Fixes.css', 'screen', 'IE 5.5000' );
$out->addStyle( 'mywikiskin/IE60Fixes.css', 'screen', 'IE 6' );
$out->addStyle( 'mywikiskin/IE70Fixes.css', 'screen', 'IE 7' );
$out->addStyle( 'mywikiskin/rtl.css', 'screen', '', 'rtl' );
$wgDefaultSkin = 'mywikiskin'
You can now enjoy the new skin you have prepared!
|
||||||
To upload images, you should ensure that:
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'doc', 'xls', 'pdf' );
You can also set
$wgStrictFileExtensions = false;
to allow most file types to be uploaded.
You can allow users to directly upload files from a URL. To allow this, in includes/DefaultSettings.php you should set:
$wgAllowCopyUploads = true
To add an image to a post, you need to indicate it in your post as an image using :
[[image:test.png]]
(where test.png is the name of the image).
You can also add thumbnailed images using:
[[image:test.png|thumb|caption]]
The image can be aligned so that you can add text next to it. Here is an example how to create a left alligned image:
[[image:test.png|left|thumb|50px|]]
By default, all registered users can upload files. To change this, you have to modify $wgGroupPermissions in includes/DefaultSettings.php:
$wgGroupPermissions['user']['upload'] = false;
$wgGroupPermissions['uploadaccess']['upload'] = true;
$wgGroupPermissions['autoconfirmed']['upload'] = true;
|
||||||