A simple PowerShell-based package manager for MediaWiki extensions
Go to file
Ampera d9cf77b970 Update 'README.md' 2022-10-31 14:51:52 +00:00
LICENSE Initial commit 2022-10-31 14:38:32 +00:00
README.md Update 'README.md' 2022-10-31 14:51:52 +00:00
extensions.json Initial commit 2022-10-31 10:39:59 -04:00
fetch.ps1 Initial commit 2022-10-31 10:46:59 -04:00
objects.ps1 Initial commit 2022-10-31 10:39:59 -04:00
settings.json Initial commit 2022-10-31 10:39:59 -04:00

README.md

openwiki-extensionfetcher

USE AT YOUR OWN RISK

ExtensionFetcher is a simple as it needs to be package manager for MediaWiki extensions, written in PowerShell. At present, it's capable of fetching extensions from github repos (including tags) and the System Theta gitea. Additional functionality, like arbitrary archive URLs, support for skins, versioning, more safety, and automatic running/config of composer is likely to come.

CONFIGURATION

extensions.json

This file is effectively the sources list for extensions. An example is present in the root of this repository, which matches the extension fetch list used on the live OpenWiki stack.

settings.json

Basic settings for the package manager itself. ExtOwnership is what installed extensions will be chown'd to, DefaultDir is where extensions are installed, and DefaultBranch is the branch extensions will be fetched from if no branch is specified.

USAGE:

./fetch.ps1 -config [$PSScriptRoot/settings.json] -list [$PSScriptRoot/extensions.json] -fetchonly [Names]