MWStake MediaWiki Manager: Difference between revisions
Jump to navigation
Jump to search
Lex Sulzer (talk | contribs) (→) |
Lex Sulzer (talk | contribs) No edit summary |
||
Line 69: | Line 69: | ||
| | | | ||
[[File:mwm-normal-mode.png]] | [[File:mwm-normal-mode.png]] | ||
| | | | ||
[[File:mwm-safe-mode.png]] | [[File:mwm-safe-mode.png]] | ||
|} | |} | ||
Line 163: | Line 81: | ||
[[File:Mediawiki-manager-Service-Architecture.png|1000px]] | [[File:Mediawiki-manager-Service-Architecture.png|1000px]] | ||
=== ALcontainerization: | === ALcontainerization: Podman === | ||
# The [https://hub.docker.com/r/dataspects/mediawiki/tags?page=1&ordering=last_updated mediawiki | # The [https://hub.docker.com/r/dataspects/mediawiki/tags?page=1&ordering=last_updated mediawiki container image] contains a [https://github.com/dataspects/dataspectsSystemBuilder/blob/master/docker-images/mediawiki/Dockerfile full MediaWiki installation]. | ||
# [https://github.com/dataspects/mediawiki-manager/blob/main/cli/install-system/initialize-persistent-mediawiki-service-volumes.sh initialize-persistent-mediawiki-service-volumes.sh] will copy the 5 persistence-relevant files/directories out to the host so they can be volumed in when starting the mediawiki container | # [https://github.com/dataspects/mediawiki-manager/blob/main/cli/install-system/initialize-persistent-mediawiki-service-volumes.sh initialize-persistent-mediawiki-service-volumes.sh] will copy the 5 persistence-relevant files/directories out to the host so they can be volumed in when starting the mediawiki container. | ||
# This shall allow for [https://github.com/dataspects/mediawiki-manager/blob/main/cli/manage-system/start-SAFE-MODE.sh start-SAFE-MODE.sh]. | # This shall allow for [https://github.com/dataspects/mediawiki-manager/blob/main/cli/manage-system/start-SAFE-MODE.sh start-SAFE-MODE.sh]. | ||
Revision as of 10:17, 17 March 2021
What is this about? 1. Install MediaWiki. 2. Manage (settings), upgrades, extensions, snapshots and content through an independent CLI/API/UI. 3. Put MediaWiki in SafeMode in case of problems.
Development Broadcasting
There are videos about MWStake MWM at dataspects' YouTube channel.
Target User Groups
UGcli: Users willing/able to use the command line
UGclis: Users wanting to script actions
UGui: Users requiring a UI, NOT willing/able to use the command line
Use Cases
Install MW System Instance
Manage MW
Settings
Upgrade
Manage MW Extensions (install/enable/disable/upgrade)
MediaWiki Stakeholders Group Certified Extensions Service
- Some background:
- Format right now: https://github.com/dataspects/mediawiki-manager/blob/main/catalogues/extensions.json
- Management, roles, responsibilities, privileges, processes, QA?
- Hosting?
Snapshots (backup/restore/clone)
SafeMode
Idea: if someone corrupts extensions/
and/or LocalSettings.php
, then ./start-SAFE-MODE.sh
restarts the wiki in safe mode, by falling back to container-internal versions of extensions/
and LocalSettings.php
.
MWM Normal Mode | MWM Safe Mode |
---|---|
Manage MW Content (inject/extract/facet/edit)
Abstraction Layers
ALcontainerization: Podman
- The mediawiki container image contains a full MediaWiki installation.
- initialize-persistent-mediawiki-service-volumes.sh will copy the 5 persistence-relevant files/directories out to the host so they can be volumed in when starting the mediawiki container.
- This shall allow for start-SAFE-MODE.sh.
ALcli: shell scripts using MWAPI and CRUDing files in service volumes
ALapi: MWM API (Go) wrapping and parametrizing ALcli shell scripts and using MWAPI
https://github.com/dataspects/mwmapi
Unit Testing
ALui: MWM UI (React/Material UI) using and parametrizing ALapi endpoints
https://github.com/dataspects/mwmui