]> scripts.mit.edu Git - autoinstalls/mediawiki.git/blob - vendor/README.md
MediaWiki 1.30.2-scripts2
[autoinstalls/mediawiki.git] / vendor / README.md
1 MediaWiki-Vendor
2 ================
3
4 [Composer] managed libraries required or recommended for use with [MediaWiki].
5 This repository is maintained for use on the Wikimedia Foundation production
6 and testing clusters, but may be useful for anyone wishing to avoid directly
7 managing MediaWiki dependencies with Composer.
8
9
10 Usage
11 -----
12
13 Checkout this library into $IP/vendor using `git clone <URL>` or add the
14 repository as a git submodule using `git submodule add <URL> vendor` followed
15 by `git submodule update --init`.
16
17
18 Adding or updating libraries
19 ----------------------------
20
21 0. Read the [documentation] on the process for adding new libraries.
22 1. Ensure you're using the 1.4.1 version of composer via `composer --version`.
23 2. Edit the composer.json file to add/update the libraries you want to change.
24 3. Run `composer update --no-dev` to download files and update the autoloader.
25 4. Add and commit changes as a gerrit patch.
26 5. Review and merge changes.
27
28
29 [Composer]: https://getcomposer.org/
30 [MediaWiki]: https://www.mediawiki.org/wiki/MediaWiki
31 [documentation]: https://www.mediawiki.org/wiki/Manual:External_libraries