MWStake MediaWiki Manager: Difference between revisions
Jump to navigation
Jump to search
Lex Sulzer (talk | contribs) (โโ) |
Lex Sulzer (talk | contribs) (MWMSafeMode) |
||
Line 20: | Line 20: | ||
# [https://github.com/dataspects/mwmui mwmui] (User Interface) | # [https://github.com/dataspects/mwmui mwmui] (User Interface) | ||
# [https://github.com/dataspects/mediawiki-manager/blob/main/mwmapi/test.php Integration Testing] | # [https://github.com/dataspects/mediawiki-manager/blob/main/mwmapi/test.php Integration Testing] | ||
=== MediaWiki Manager === | |||
==== Usecase: safe mode ==== | |||
Commenting <code>- ./mediawiki_root/w:/var/www/html/w</code> in [https://github.com/dataspects/mediawiki-manager/blob/main/docker-compose.yml docker-compose.yml] allows for a ''MWMSafeMode'' due to <code>COPY w /var/www/html/w</code> in [https://github.com/dataspects/dataspectsSystemBuilder/blob/master/docker-images/php-apache/Dockerfile Apache PHP Dockerfile]. | |||
=== MediaWiki Manager API === | === MediaWiki Manager API === |
Revision as of 03:31, 3 March 2021
Manage (settings), upgrades, extensions, snapshots and content through an independent UI/API
Resources
https://github.com/dataspects/mediawiki-manager https://github.com/dataspects/mwmui
- docker-compose.yml (Apache PHP Dockerfile)
- extensions.json
- upgrades.json
- mediawiki-apps.json
- systemSettings.json
- mwmapi.php (MediaWiki Manager API)
- mwmui (User Interface)
- Integration Testing
MediaWiki Manager
Usecase: safe mode
Commenting - ./mediawiki_root/w:/var/www/html/w
in docker-compose.yml allows for a MWMSafeMode due to COPY w /var/www/html/w
in Apache PHP Dockerfile.
MediaWiki Manager API
- PHP right now (preferably Go)
- Security review (e.g. exec commands)
Usecase: edit system settings
Experimental, see https://github.com/dataspects/mediawiki-manager/blob/main/catalogues/systemSettings.json
Usecase: enable (install) and disable extension
See
- https://github.com/dataspects/mediawiki-manager/blob/ca621f9dab7ba784c6d16f6fa71f0d500e9544d8/mwmapi/extension.php#L27
- https://github.com/dataspects/mediawiki-manager/blob/ca621f9dab7ba784c6d16f6fa71f0d500e9544d8/mwmapi/extension.php#L72
Usecase: upgrade MediaWiki "package"
Usecase: take snapshot
Usecase: inject dataspects ontology
MediaWiki Manager UI
- Gatsby/React/MaterialUI
- Security review
- Protection: .htaccess or own user management?
MediaWiki Stakeholders Group Certified Extensions Catalogue
- Format right now: https://github.com/dataspects/mediawiki-manager/blob/main/catalogues/extensions.json
- Management, roles, responsibilities, privileges, processes, QA?
- Hosting?