[MediaWiki] The wiki software use to run Wikipedia

I didn’t see this thread yet, so I create one …


Integration level
Install mediawiki with YunoHost

Lire ce readme en français.

This package allow you to install mediawiki quickly and simply on a YunoHost server.
If you don’t have YunoHost, please see here to know how to install and enjoy it.



MediaWiki is a free and open source software wiki package written in PHP, originally for use on Wikipedia.

Shipped version: 1.32.0





How to configure this app:

  • by the admin panel : Log in then click on Preferences
  • you can edit the file Localsettings.php located in /var/www/mediawiki.


YunoHost specific features

Multi-users support

Are LDAP and HTTP auth supported? : not yet
Can the app be used by multiple users? : yes

Supported architectures

  • x86-64b - Build Status
  • ARMv8-A - Build Status
  • Jessie x86-64b - Build Status


  • Any known limitations.

Additional information

  • Other information you would add about this application

More information on the documentation page:


Developers info

Only if you want to use a testing branch for coding, instead of merging directly into master.
Please do your pull request to the testing branch.

To try the testing branch, please proceed like that.

sudo yunohost app install https://github.com/YunoHost-Apps/mediawiki_ynh/tree/testing --debug
sudo yunohost app upgrade mediawiki -u https://github.com/YunoHost-Apps/mediawiki_ynh/tree/testing --debug
1 Like

Current focus is:

Once I get maintainer access and finish more work, I will post testing updates.


1 Like

OK, there is a new version on testing.

This was a big upgrade for the package since it was somewhat abandoned for some time (despite having a very good level rating). So, I urge you to take some caution with this testing upgrade. I have personally tested a new install and upgrade so far.

New changes:

  • LDAP Support (using new supported LDAP Stack)
  • Set requirement of >= Yunohost 3.6
  • Allow to configure “wiki name” when installing

This new installation method involves copying over a new LocalSettings.php. So please note that any modifications to this file will be overwritten by the new packaging process.

I am not sure what is the case when you have already created a number of wiki users (because you did not have LDAP support before) and now LDAP is enabled. I have not tested this. You should experiment with a backup/restore of your application for this use case. Please see https://yunohost.org/#/backup for more.

See the following for upgrade commands:


Feedback is much appreciated!

Potentials issues:

1 Like

J’ai installé et, hormis quelques messages d’erreur, tout a l’air de bien fonctonner.

yunohost app install mediawiki
Available domains:
Choose a domain name for MediaWiki (default: test.tst):
Choose a path for ynhexample (default: /wiki):
Available users:
Choose an admin user: mediawiki
You are now about to define a new user password. The password should be at least 8 characters - though it is good practice to use longer password (i.e. a passphrase) and/or to use various kind of characters (uppercase, lowercase, digits and special characters).
Set the administrator password:
Choose the application language [fr | en] (default: fr):
Is it a public application? [yes | no] (default: yes):
Info: Installing application mediawiki…
Info: Validating installation parameters…
Info: Storing installation settings…
Info: Configuring firewall…
Info: Installing dependencies…
Info: Creating a MySQL database…
Info: Setting up source files…
Info: Configuring nginx web server…
Process AsynchronousFileReader-3:
Traceback (most recent call last):
File “/usr/lib/python2.7/multiprocessing/process.py”, line 258, in _bootstrap
Info: Configuring system user…
File “/usr/lib/python2.7/dist-packages/moulinette/utils/stream.py”, line 47, in run
data += os.read(self._fd, 50)
OSError: [Errno 11] Resource temporarily unavailable
Success! The SSOwat configuration has been generated
Success! Installation complete

1 Like

There is a new experimental testing release.


As usual, please take care with testing releases, they can break things :stop_sign:

1 Like


I tried to deploy the extension and received an error about package/file availability
any chance for un update or this package is abandoned ?

c.f. https://github.com/YunoHost-Apps/mediawiki_ynh/issues/17 … Supposedly the issue shouldn’t be too hard to fix, it should be just about updating the hashes in the *.src files in there https://github.com/YunoHost-Apps/mediawiki_ynh/tree/master/conf

I would gladly help but without any development skills i 'm a bit useless

Installation failed! The reason according to the log: The password has be at least 10 characters long while in the YH interfavce it says 8 characters are enough. After making the password longer, installation worked without issue.

I tried to install Mediawiki today and failed due a 404 error related to extension download.
Here is my full log https://paste.yunohost.org/raw/xufewadugi