MediaWiki extension to import Labki content packs stored as .wiki
page files from a Git repository.
- MediaWiki: 1.44+
- Content format:
.wiki
files (not XML) - Deployment: Developed in this repo, cloned into your Docker-based MediaWiki platform
- Clone into MediaWiki
extensions/
(in Docker build or bind mount):
cd /var/www/html/extensions
git clone https://github.com/Aharoni-Lab/LabkiPackManager.git LabkiPackManager
- Enable in
LocalSettings.php
:
wfLoadExtension( 'LabkiPackManager' );
- Configure the content repository URLs (raw file host):
$wgLabkiContentManifestURL = 'https://raw.githubusercontent.com/YourOrg/labki-content/main/manifest.json';
$wgLabkiContentBaseURL = 'https://raw.githubusercontent.com/YourOrg/labki-content/main/';
- Ensure your admin role (
sysop
) has thelabki-import
right (default provided by the extension).
- Visit
Special:LabkiPackManager
as an admin - View available packs from the manifest and import selected packs (implementation in progress)
- Namespace:
LabkiPackManager\\
- Special page:
Special:LabkiPackManager
- Strings and aliases:
i18n/
Run PHPUnit and PHPCS via MediaWiki’s composer setup in the MediaWiki root.
GPL-2.0-or-later