MediaWiki SaaS/NasqueronMaintenance
From Nasqueron Agora
The NasqueronMaintenance is a repository to host a collection of scripts useful on the MediaWiki SaaS cluster. It contains scripts specific to our installation and architecture.
Scripts available
AddWiki.php
Usage: mw <code of the wiki> addWiki
Create a database and the MediaWiki tables. Set the homepage. Fire a notification.
Before running this scripts there are several things to do:
- Declare the instance in the configuration, at least the host/database name mapping
- On a shared MySQL server, you first need to grant privileges through MySQL:
GRANT ALL PRIVILEGES ON
.* TO 'mediawiki-saas'@'localhost';
You can create the database yourself, but the addWiki script can do it.
It's not required but useful to configure nginx beforehand in the rOPS repository.