X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/mediawiki.git/blobdiff_plain/19e297c21b10b1b8a3acad5e73fc71dcb35db44a..6932310fd58ebef145fa01eb76edf7150284d8ea:/vendor/README.md diff --git a/vendor/README.md b/vendor/README.md new file mode 100644 index 00000000..4009e292 --- /dev/null +++ b/vendor/README.md @@ -0,0 +1,31 @@ +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 ` or add the +repository as a git submodule using `git submodule add vendor` followed +by `git submodule update --init`. + + +Adding or updating libraries +---------------------------- + +0. Read the [documentation] on the process for adding new libraries. +1. Ensure you're using the 1.4.1 version of composer via `composer --version`. +2. Edit the composer.json file to add/update the libraries you want to change. +3. Run `composer update --no-dev` to download files and update the autoloader. +4. Add and commit changes as a gerrit patch. +5. Review and merge changes. + + +[Composer]: https://getcomposer.org/ +[MediaWiki]: https://www.mediawiki.org/wiki/MediaWiki +[documentation]: https://www.mediawiki.org/wiki/Manual:External_libraries