Difference between revisions of "Mediawiki"

From SME Server
Jump to navigationJump to search
m
 
(17 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{{Languages|Mediawiki}}
 
{{Languages|Mediawiki}}
=Mediawiki 1.6.10 for SME 7.x=
+
{{Needs review}}
 
 
 
==Maintainer==
 
==Maintainer==
 
[[User:Berdie/de|Dietmar Berteld]]<br/>
 
[[User:Berdie/de|Dietmar Berteld]]<br/>
Line 7: Line 6:
  
 
Thanks a lot to [[User:Cool34000|Sylvain Gomez]]<br/> who helped me to improve this contrib with short URL's and automatic language detection.
 
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 comfortable 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==
 
You can download this package at ''[http://mirror.contribs.org/smeserver/releases/7/smecontribs/i386/RPMS/smeserver-mediawiki-1.6.10-7.el4.sme.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
 
<nowiki>wget http://mirror.contribs.org/smeserver/releases/7/smecontribs/i386/RPMS/smeserver-mediawiki-1.6.10-7.el4.sme.noarch.rpm</nowiki>
 
  
 
==Installation==
 
==Installation==
 
For installation just hit the following command
 
For installation just hit the following command
  yum --enablerepo=smecontribs install smeserver-mediawiki
+
  yum install --enablerepo=smecontribs smeserver-mediawiki
After finishing the install process you can find MediaWiki in the ''/opt/mediawiki'' directory.
+
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 installation, and not related to the  users on the SME KOOZALI server.
 +
 
 +
Also note that as of 12July2023, the latest version of mediawiki is the 1.39.4 (LTS) version.
 +
 
 +
===Configuration===
 +
 
 +
You can enter the configuration page by:
 +
 
 +
https://<localip>/mediawiki/mw-config/
 +
 
 +
It will ask for the UpgradeSwitch key, which you can find by:
 +
 
 +
find /opt -name LocalSettings.php | xargs -I %  sh -c 'grep UpgradeKey %'
  
 
==Update/Upgrade==
 
==Update/Upgrade==
Line 30: Line 47:
 
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''.
  
In the new release (1.6.10-6), if you want to completly remove GroupOffice from your server, you need the following command:
+
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
 
  sh /root/MW_Full_Uninstall.sh
 
This will delete MediaWiki installation files, MySQL DB and SME DB entries.
 
This will delete MediaWiki installation files, MySQL DB and SME DB entries.
Line 49: Line 66:
  
 
==Use==
 
==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''.  
+
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 box|For security-reasons, change your admin-password after your first login !}}
 
{{Warning box|For security-reasons, change your admin-password after your first login !}}
Line 65: Line 82:
 
The new logo should have 135 x 135 Pixels.
 
The new logo should have 135 x 135 Pixels.
  
 +
== Bugs ==
 +
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 +
and select the smeserver-mediawiki component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-mediawiki|title=this link}}
 +
 +
Below is an overview of the current issues for this contrib:{{#bugzilla:columns=id,product,version,status,summary|sort=id|order=desc|component=smeserver-mediawiki |noresultsmessage=No open bugs found.}}
  
Have much fun with Mediawiki as your preferred Wiki !
 
  
''Dietmar Berteld (berdie)''
+
==Changelog==
 +
Only released version in smecontrib are listed here.
  
 +
{{ #smechangelog: smeserver-mediawiki }}
  
 
----
 
----
 
[[Category: Contrib]]
 
[[Category: Contrib]]
 
[[Category: Webapps]]
 
[[Category: Webapps]]
 +
[[Category: Social Media Apps]]

Latest revision as of 21:23, 25 July 2023


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  (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 installation, and not related to the users on the SME KOOZALI server.

Also note that as of 12July2023, the latest version of mediawiki is the 1.39.4 (LTS) version.

Configuration

You can enter the configuration page by:

https://<localip>/mediawiki/mw-config/

It will ask for the UpgradeSwitch key, which you can find by:

find /opt -name LocalSettings.php | xargs -I %  sh -c 'grep UpgradeKey %'

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.

Bugs

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:

IDProductVersionStatusSummary (6 tasks)
12416SME Contribs10.0CONFIRMEDUpdate LTS to 1.39.5
6126SME Contribs7.4CONFIRMEDUnable to make user accounts
6046SME Contribs7.4CONFIRMEDsmeserver-mediawiki is installing software through %pre macro
5392SME Contribs7.4CONFIRMEDProblem with User Configuration Changes are not Saved in Mediawiki.
4743SME Contribs7.3CONFIRMEDUnix groups missing
4243SME Contribs7.3CONFIRMEDWiki is open to internet, despite db entries being set to "local"


Changelog

Only released version in smecontrib are listed here.

smeserver-mediawiki Changelog: SME 10 (smecontribs)
2023/07/22 Brian Read 1.39.4-1.sme
- Update to LTS version 1.39.4 (Supported until dec 2025)[SME: 12385]
2022/12/01 Brian Read 1.39.0-1.sme
- Update to LTS version 1.39.0 (Supported until dec 2025)[SME: 12250]

2022/08/02 Jean-Philippe Pialasse 1.38.2-2.sme
- update to httpd 2.4 access syntax [SME: 12133]

- add to core backup [SME: 12134]

2022/07/12 Brian Read 1.38.2-1.sme
- Update version to Mediawiki-1.38.2 [sme: 11987]

- Fix initial admin user password
2022/06/09 Brian Read 1.38.1-2.sme
- fix sql user create [SME: 11987]