MediaWiki SaaS/NasqueronMaintenance

From Nasqueron Agora
Revision as of 00:59, 1 April 2018 by Dereckson (talk | contribs) (Created page with "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 archi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 addWiki

Create a database and the MediaWiki tables. Set the homepage. Fire a notification.

Before running this scripts there are several things to do:

  1. Declare the instance in the configuration, at least the host/database name mapping
  2. 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.

AddWiki.php