MediaWiki 1.32.1
Upgrade wikimedia/ip-set to 1.3.0

Change-Id: Ice4e86cc9927fc74433c6185397b2bde62f10bca
5 files changed
tree: 8efd97f9a4913dbf42e0d8433b4998ce63554e9d
  1. composer/
  2. cssjanus/
  3. liuggio/
  4. oojs/
  5. pear/
  6. psr/
  7. wikimedia/
  8. zordius/
  9. .gitignore
  10. .gitreview
  11. .htaccess
  12. autoload.php
  13. composer.json
  14. composer.lock
  15. README.md
README.md

MediaWiki-Vendor

Composer managed libraries required or recommended for use with MediaWiki. This repository is maintained for use on the Wikimedia Foundation production and testing clusters, but may be useful for anyone wishing to avoid directly managing MediaWiki dependencies with Composer.

Usage

Checkout this library into $IP/vendor using git clone <URL> or add the repository as a git submodule using git submodule add <URL> vendor followed by git submodule update --init.

Adding or updating libraries

  1. Read the documentation on the process for adding new libraries.
  2. Ensure you're using version 1.6.5 (or later) of composer via composer --version. This keeps installed.json alphasorted, making patches less likely to conflict, and diffs easier to read.
  3. Edit the composer.json file to add/update the libraries you want to change.
  4. Run composer update --no-dev --ignore-platform-reqs to download files and update the autoloader.
  5. Add all the new dependencies that got installed to composer.json as well, so that everything has their version pinned. (You can look at the changes in composer.lock or composer/installed.json to see what they are.)
  6. Rarely, lint checks fail because test files in some library were written for an unsupported PHP version. In that case add the test directories to the --exclude parameter in the script > test field in composer.json, and to .gitignore.
  7. Add and commit changes as a gerrit patch.
  8. Review and merge changes.

Note that you MUST pair patches changing versions of libraries used by MediaWiki itself with ones for the "core" repo. This repo has special configuration, which skips the integrity checks and so allowing a circular dependency Gordian knot to be fixed. However, this means that, if merged alone without a pair, you'll cause ALL patches in MediaWiki and ALL extensions to fail their continuous integration tests. If in doubt, seek advice from regular commiters to this repository.