Difference between revisions of "Mediawiki"

From SME Server
Jump to navigationJump to search
Line 12: Line 12:
  
 
==Download==
 
==Download==
You can download this package at ''[http://mirror.contribs.org/smeserver/contribs/dberteld/mediawiki/smeserver-mediawiki-1.6.10-4.noarch.rpm smeserver-mediawiki]'' . If you would like to save it directly on your SME Server, you should give this command at a linux-prompt
+
You can download this package at ''[http://mirror.contribs.org/smeserver/contribs/dberteld/mediawiki/smeserver-mediawiki-1.6.10-5.noarch.rpm smeserver-mediawiki]'' . If you would like to save it directly on your SME Server, you should give this command at a linux-prompt
  wget http://mirror.contribs.org/smeserver/contribs/dberteld/mediawiki/smeserver-mediawiki-1.6.10-4.noarch.rpm
+
  wget http://mirror.contribs.org/smeserver/contribs/dberteld/mediawiki/smeserver-mediawiki-1.6.10-5.noarch.rpm
  
 
==Installation and Uninstall==
 
==Installation and Uninstall==

Revision as of 15:10, 22 October 2007


Mediawiki 1.6.10 for SME 7.x

Maintainer

Dietmar Berteld
mailto:dietmar@berteld.com

Thanks a lot to Sylvain Gomez
who helped me to improve this contrib with short URL's and automatic language detection.

Description

With this RPM you can use the popular Wiki Mediawiki (known as Wikipedia) on your SME 7.x. You can install it as one single package in a very comfortable way. For more information see http://www.mediawiki.org/.

Download

You can download this package at smeserver-mediawiki . If you would like to save it directly on your SME Server, you should give this command at a linux-prompt

wget http://mirror.contribs.org/smeserver/contribs/dberteld/mediawiki/smeserver-mediawiki-1.6.10-5.noarch.rpm

Installation and Uninstall

For installation just hit the following command

yum localinstall smeserver-mediawiki-1.6.10-5.noarch.rpm

For uninstall just hit the following command

yum remove smeserver-mediawiki

You can ignore the yum-comments signal event post-upgrade and signal-event reboot.

Adjusting accessibility

The default behaviour of Mediawiki is: accessible from LAN + Internet You can easily change this default setting with following commands:

# config setprop mediawiki PublicAccess global
# config setprop mediawiki PublicAccess local

Once done, apply modifications and restart Apache:

# expand-template /etc/httpd/conf/httpd.conf
# service httpd-e-smith restart

Use

You can find mediawiki in the /opt/mediawiki directory. For using Mediawiki start your browser with the URL http://yourdomain.com/wiki and logon with the user admin + password admin.


Warning.png Warning:
For security-reasons, change your admin-password after your first login !


This special SME version is stored at '/opt/mediawiki'. You can change your settings in the file '/opt/mediawiki/LocalSettings.php' .

The default name of the wiki is simlpy 'Wiki'. Change the wiki-name in 'LocalSettings.php' at

$wgSitename         = "Wiki";

The wiki comes with sme styled logo and favicon stored at

/opt/mediawiki/skins/common/images/sme.png
/opt/mediawiki/skins/common/images/sme.ico

You can upload your favorite logo and favicon and change the settings in the file LocalSettings.php as follows

$wgLogo             = "$wgStylePath/common/images/sme.png";
$wgFavicon          = "$wgStylePath/common/images/sme.ico";

The new logo should have 135 x 135 Pixels.


Have much fun with Mediawiki as your preferred Wiki !

Dietmar Berteld (berdie)