MWStake MediaWiki Manager: Difference between revisions
Jump to navigation
Jump to search
Lex Sulzer (talk | contribs) (โโ) |
Lex Sulzer (talk | contribs) (โโ) |
||
Line 24: | Line 24: | ||
== Target User Groups == | == Target User Groups == | ||
= | {|class=wikitable | ||
ย | !User Group | ||
!Point/Select/Type/Click | |||
ย | !SSH | ||
!Scripting | |||
!Edit configuration | |||
!Edit code | |||
|- | |||
|{{mo|UGUI}} | |||
|Yes | |||
|No | |||
|"Macro" style only from within UI | |||
|No | |||
|No | |||
|- | |||
|{{mo|UGAdmin}} | |||
|Yes | |||
|Yes | |||
|Run/compose .sh scripts | |||
|Yes | |||
|No | |||
|- | |||
|{{mo|UGCoder}} | |||
|Yes | |||
|Yes | |||
|Run/compose/create/edit .sh scripts | |||
|Yes | |||
|Yes | |||
|} | |||
== Use Cases == | == Use Cases == |
Revision as of 06:24, 11 April 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
User Group | Point/Select/Type/Click | SSH | Scripting | Edit configuration | Edit code |
---|---|---|---|---|---|
UGUI | Yes | No | "Macro" style only from within UI | No | No |
UGAdmin | Yes | Yes | Run/compose .sh scripts | Yes | No |
UGCoder | Yes | Yes | Run/compose/create/edit .sh scripts | Yes | Yes |
Use Cases
Install/configure/upgrade system(s)
Where | How | Why |
---|---|---|
locally on a single computer | as a containerized app | for personal/private use |
in an intranet |
|
for corporate internal use |
on the internet/in the cloud |
|
for corporate internal/external/public use |
Install/enable/disable/upgrade/configure extensions
Backup/restore/clone/compare/consolidate system(s) (snapshots)
Troubleshoot/safe mode
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 |
---|---|
Inject/extract/facet/edit/consolidate/import/export/remove apps/structures/ontologies
Scripting
Package system(s)
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?
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