Difference between revisions of "Mediawiki"

From SME Server
Jump to navigationJump to search
m
(smeserver-mediawiki package can only be found in contribs repo, adjusting install instructions accordingly)
(42 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
{{Languages|Mediawiki}}
 
{{Languages|Mediawiki}}
{{Overview}}
+
{{Needs review}}
__NOTOC__
 
=Mediawiki 1.6.10 für SME 7.x=
 
 
 
 
==Maintainer==
 
==Maintainer==
 
[[User:Berdie/de|Dietmar Berteld]]<br/>
 
[[User:Berdie/de|Dietmar Berteld]]<br/>
 
mailto:dietmar@berteld.com
 
mailto:dietmar@berteld.com
 +
 +
Thanks a lot to [[User:Cool34000|Sylvain Gomez]]<br/> who helped me to improve this contrib with short URL's and automatic language detection.
 +
==Version==
 +
{{ #smeversion: smeserver-mediawiki }}
 +
 +
 +
 +
 +
  
 
==Description==
 
==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 comforable way. For more information see ''http://www.mediawiki.org/''.
+
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==
+
==Installation==
You can download this package at ''[http://sudemo.info/sme/sme7/webapp/mediawiki/smeserver-mediawiki-1.6.10-1.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
+
For installation just hit the following command
  wget http://sudemo.info/sme/sme7/webapp/mediawiki/smeserver-mediawiki-1.6.10-1.noarch.rpm
+
yum install --enablerepo=smecontribs smeserver-mediawiki
 +
  signal-event post-upgrade ; signal-event reboot
  
==Installation and Uninstall==
+
==Update/Upgrade==
For installation just hit the following command
+
A backup is done by the RPM before updating. All Files and MySQL DataBase are saved in /opt/MW_RPM_BACKUP
yum localinstall smeserver-mediawiki-1.6.10-1.noarch.rpm
+
 
For uninstall just hit the following command
+
'''You must move the backup to a safe directory.'''
  yum remove smeserver-mediawiki
+
 
 +
==Uninstallation==
 +
For uninstall just type the following command
 +
  rpm -e smeserver-mediawiki
 
You can ignore the yum-comments ''signal event post-upgrade'' and ''signal-event reboot''.
 
You can ignore the yum-comments ''signal event post-upgrade'' and ''signal-event reboot''.
  
==Use==
+
In the new release (1.6.10-6), if you want to completly remove Mediawiki from your server, you need the following command:
For using Mediawiki start your browser with the URL ''http://servername/mediawiki'' and logon with the user ''admin'' + password ''admin''.
+
sh /root/MW_Full_Uninstall.sh
 +
This will delete MediaWiki installation files, MySQL DB and SME DB entries.
 +
 
 +
This automatic step is just for safety, '''make your own backup before updating/upgrading.'''
 +
 
 +
==Adjusting accessibility==
 +
The default behaviour of Mediawiki is: accessible from LAN + Internet with "standard http" (SSL off)
 +
You can easily change this default setting with following commands:
 +
# config setprop mediawiki HTTPS on
 +
# config setprop mediawiki HTTPS off
  
{{drawBoxWarning|content=For security-reasons, change your admin-password after your first login !}}
+
# config setprop mediawiki PublicAccess global
 +
# config setprop mediawiki PublicAccess local
 +
Once done, apply modifications and restart Apache:
 +
# expand-template /etc/httpd/conf/httpd.conf
 +
# svc -h /service/httpd-e-smith
  
Have much fun with Mediawiki as your preferred Wiki !
+
==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'' and the SME Server admin password.
  
''Dietmar Berteld (berdie)''
+
{{Warning box|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.
 
----
 
----
 
[[Category: Contrib]]
 
[[Category: Contrib]]
 +
[[Category: Webapps]]
 +
[[Category: Social Media Apps]]

Revision as of 16:53, 16 August 2011


Edit-find-replace.png Not reviewed:
This howto or contrib has not been reviewed and might contain code that could harm your installation. For more information on the review process have a look at the Development Review page.


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.

Version

Contrib 10:
smeserver-mediawiki
The latest version of smeserver-mediawiki is available in the SME repository, click on the version number(s) for more information.





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/.

Installation

For installation just hit the following command

yum install --enablerepo=smecontribs smeserver-mediawiki
signal-event post-upgrade ; signal-event reboot

Update/Upgrade

A backup is done by the RPM before updating. All Files and MySQL DataBase are saved in /opt/MW_RPM_BACKUP

You must move the backup to a safe directory.

Uninstallation

For uninstall just type the following command

rpm -e smeserver-mediawiki

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

In the new release (1.6.10-6), if you want to completly remove Mediawiki from your server, you need the following command:

sh /root/MW_Full_Uninstall.sh

This will delete MediaWiki installation files, MySQL DB and SME DB entries.

This automatic step is just for safety, make your own backup before updating/upgrading.

Adjusting accessibility

The default behaviour of Mediawiki is: accessible from LAN + Internet with "standard http" (SSL off) You can easily change this default setting with following commands:

# config setprop mediawiki HTTPS on
# config setprop mediawiki HTTPS off
# config setprop mediawiki PublicAccess global
# config setprop mediawiki PublicAccess local

Once done, apply modifications and restart Apache:

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

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 and the SME Server admin password.


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.