m |
m |
||
Line 10: | Line 10: | ||
Frankly speaking, when I started working with wiki I doubted my original choice. But gradually I've made sure that it was the best decision made. | Frankly speaking, when I started working with wiki I doubted my original choice. But gradually I've made sure that it was the best decision made. | ||
− | First of all you need to download the wiki installation from the net. The best source of mediawiki installation is http://www.mediawiki.org/wiki/Download | + | First of all you need to download the wiki installation from the net. The best source of mediawiki installation is '''http://www.mediawiki.org/wiki/Download''' |
Once it it downloaded to your PC, you need to upload it to your hosting account via FTP. If you want to create a site for your main domain then you need to upload it to 'public_html' folder (different hosting providers have different root folder, so you'd better check this with them). Alternatively you can install it into a sub-folder (e.g. 'wiki'). | Once it it downloaded to your PC, you need to upload it to your hosting account via FTP. If you want to create a site for your main domain then you need to upload it to 'public_html' folder (different hosting providers have different root folder, so you'd better check this with them). Alternatively you can install it into a sub-folder (e.g. 'wiki'). | ||
Line 21: | Line 21: | ||
To center your site skin you need to edit the file called 'main.css' located in skins/your_skin/ folder and replace the code: | To center your site skin you need to edit the file called 'main.css' located in skins/your_skin/ folder and replace the code: | ||
− | #globalWrapper { | + | #globalWrapper { |
− | font-size: 127%; | + | font-size: 127%; |
− | width: 100%; | + | width: 100%; |
− | margin: 0; padding: 0;} | + | margin: 0; padding: 0;} |
Line 30: | Line 30: | ||
− | #globalWrapper { | + | #globalWrapper { |
− | position:relative; | + | position:relative; |
− | font-size: 127%; | + | font-size: 127%; |
− | width: 900px; | + | width: 900px; |
− | margin-left:auto; | + | margin-left:auto; |
− | margin-right:auto; | + | margin-right:auto; |
− | padding: 0; | + | padding: 0; |
− | } | + | } |
This will set the width of your site to 900px. This can be replaced with the proper value for each particular site. | This will set the width of your site to 900px. This can be replaced with the proper value for each particular site. | ||
Line 46: | Line 46: | ||
1. add the following line to your main.css file: | 1. add the following line to your main.css file: | ||
− | #p-tb { display: none !important; } | + | #p-tb { display: none !important; } |
2. Remove the following line from your_skin.php file located within 'skins' folder: | 2. Remove the following line from your_skin.php file located within 'skins' folder: | ||
− | if ( !isset( $sidebar['TOOLBOX'] ) ) $sidebar['TOOLBOX'] = true; | + | if ( !isset( $sidebar['TOOLBOX'] ) ) $sidebar['TOOLBOX'] = true; |
Note: replace 'your_skin' with your actual skin name (e.g. MonoBook.php) | Note: replace 'your_skin' with your actual skin name (e.g. MonoBook.php) |