MWStake MediaWiki Manager: Difference between revisions

From MWStake
Jump to navigation Jump to search
Line 62: Line 62:
=== MediaWiki Stakeholders Group Certified Extensions Catalogue ===
=== MediaWiki Stakeholders Group Certified Extensions Catalogue ===


* Some background: [[Action:7]]
* Some background:
** [[Action:7]]
** [[Talk:MWStake_incorporation/Board_meeting]]
* Format right now: https://github.com/dataspects/mediawiki-manager/blob/main/catalogues/extensions.json
* Format right now: https://github.com/dataspects/mediawiki-manager/blob/main/catalogues/extensions.json
* Management, roles, responsibilities, privileges, processes, QA?
* Management, roles, responsibilities, privileges, processes, QA?

Revision as of 06:34, 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
  1. docker-compose.yml (Apache PHP Dockerfile)
  2. extensions.json
  3. upgrades.json
  4. mediawiki-apps.json
  5. systemSettings.json
  6. mwmapi.php (MediaWiki Manager API)
  7. mwmui (User Interface)
  8. 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

Usecase: upgrade MediaWiki "package"

See https://github.com/dataspects/mediawiki-manager/blob/ca621f9dab7ba784c6d16f6fa71f0d500e9544d8/mwmapi/system.php#L12

Usecase: take snapshot

See https://github.com/dataspects/mediawiki-manager/blob/ca621f9dab7ba784c6d16f6fa71f0d500e9544d8/mwmapi/snapshots.php#L19

Usecase: inject dataspects ontology

See https://github.com/dataspects/mediawiki-manager/blob/ca621f9dab7ba784c6d16f6fa71f0d500e9544d8/mwmapi/app.php#L27

MediaWiki Manager UI

  • Gatsby/React/MaterialUI
  • Security review
  • Protection: .htaccess or own user management?

MediaWiki Stakeholders Group Certified Extensions Catalogue

Integration Testing

  1. https://github.com/dataspects/mediawiki-manager/blob/main/mwmapi/test.php