/mediawiki-manager

Manage MediaWiki setups

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

mediawiki-manager

This repository represents the development workbench for MWStake MediaWiki Manager.

It is not meant to be used in production (yet)!

DSMWM screenshot DSMWM screenshot

System Requirements

At the moment MWM is only being tested on Ubuntu 20.04 running Podman.

Features

Feature: Install System Instance

  1. user@server:~$ git clone https://github.com/dataspects/mediawiki-manager.git
  2. user@server:~$ cd mediawiki-manager
  3. Configure ~/mediawiki-manager/envs/my-new-system.env
  4. user@server:~/mediawiki-manager$ ./cli/install-system/install-system.sh

TBD

TBD

Feature: Operate System Instance

  • user@server:~/mediawiki-manager$ ./cli/view-logs.sh
  • user@server:~/mediawiki-manager$ ./cli/manage-system/start.sh
  • user@server:~/mediawiki-manager$ ./cli/manage-system/stop.sh
  • user@server:~/mediawiki-manager$ ./cli/manage-system/restart.sh
  • user@server:~/mediawiki-manager$ ./cli/manage-system/start-SAFE-MODE.sh

TBD

TBD

Feature: System Instance Snapshots

  • user@server:~/mediawiki-manager$ ./cli/system-snapshots/take-restic-snapshot.sh
  • user@server:~/mediawiki-manager$ ./cli/system-snapshots/view-restic-snapshots.sh

TBD

TBD

Feature: Manage Content

The following command asks for ontologies organized in accordance with the dataspects ontology repository structure, e.g. https://github.com/dataspects/dataspectsSystemCoreOntology, and injects all ontology pages into the wiki:

user@server:~/mediawiki-manager$ ./cli/manage-content/inject-ontology-WikiPageContents.sh

Implementation/abstraction levels

Ultimately, MWM will provide 3 implementation levels with regards to the features it provides:

Containerization: Podman

CLI: Bash

The bash cli can be extracted and used independently as a standalone cli. The following command will place a standalone cli next to mediawiki-manager. Please note that not all cli functionality is available.

user@server:~/mediawiki-manager$ ./extract-standalone-cli.sh

Then use it like this:

user@server:~/standalonecli$ ./cli/manage-content/inject-ontology-WikiPageContents.sh (see below "Feature: Manage Content" for more information on this command)

API: Go REST

TBD, partly implemented at https://github.com/dataspects/mwmapi

UI: React/Material-UI

TBD, partly implemented at https://github.com/dataspects/mwmui