Thanks a lot to Sylvain Gomez
who helped me to improve this contrib with short URL's and automatic language detection.
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/.
For installation just hit the following command
yum install --enablerepo=smecontribs smeserver-mediawiki signal-event post-upgrade ; signal-event reboot (not needed for SME10)
for SME10 the default admin user has a password set at "mediawikiadmin" clearly this should be changed immediately after installation.
Note that also for SME10 the users are local to the WikiMedia installaiton, and not related to the users on the SMEServer.
Also note that as of 12July2022, the version of mediawiki is the 1.38.2 version.
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.
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:
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.
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
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.
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
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.
Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-mediawiki component or use this link
Below is an overview of the current issues for this contrib:
|ID||Product||Version||Status||Summary (6 tasks) ⇒|
|12250||SME Contribs||10.0||RESOLVED||Upgrade MediaWiki to LTS version 1.39.0 (Supported until Dec 2025)|
|6126||SME Contribs||7.4||CONFIRMED||Unable to make user accounts|
|6046||SME Contribs||7.4||CONFIRMED||smeserver-mediawiki is installing software through %pre macro|
|5392||SME Contribs||7.4||CONFIRMED||Problem with User Configuration Changes are not Saved in Mediawiki.|
|4743||SME Contribs||7.3||CONFIRMED||Unix groups missing|
|4243||SME Contribs||7.3||CONFIRMED||Wiki is open to internet, despite db entries being set to "local"|
Only released version in smecontrib are listed here.
2022/08/02 Jean-Philippe Pialasse 1.38.2-2.sme
- update to httpd 2.4 access syntax [SME: 12133]
2022/07/12 Brian Read 1.38.2-1.sme
- Update version to Mediawiki-1.38.2 [sme: 11987]
- fix sql user create [SME: 11987]
- Update version to Mediawiki-1.38.1 [sme: 11987]
- update sql create [SME: 11987]