A tool for batch upgrading MediaWiki extensions
Many MediaWiki administrators update extensions one by one using the ExtensionDistributor, often without using Git. This can be time-consuming and cumbersome.
mwExtUpgrader
is designed for operators who prefer not to use Git for managing extensions, but want a simpler, more efficient way to batch upgrade their MediaWiki extensions.
- Batch upgrades of MediaWiki extensions.
- Replaces old extension files with new versions in one streamlined process.
mwExtUpgrader
is an interactive script.
If you have downloaded the pre-built .phar
release, simply run the following command:
php mwExtUpgrader.phar
If you've downloaded the source code, you will need to have Composer installed to manage the dependencies. Once you have Composer, run the following commands:
composer install
php run.php
To create a new release, use the build.php
script. This script packages the project and its dependencies into a PHAR archive, a single executable PHP file.
Once the .phar
file is built, it can be executed like any standard PHP file.
php build.php
If you encounter any issues while using the script or have suggestions for improvements, please submit them via GitHub Issues.