This is the initial step towards implementing the Structured logging RFC [0]. The Psr\Log library is declared as a requirement in the composer.json file and Monolog is suggested as a package that can enhance MediaWiki. To use this in a local checkout: * Install composer [1] * `composer update` * `composer require monolog/monolog 1.9.*` * `composer dump-autoload --optimize` * `git update-index --assume-unchanged composer.json` Additional work will be needed to provide both the Psr\Log and Monolog libraries available for deployment to the Wikimedia Foundation servers. The Psr\Log library will also need to be packaged in the release tarballs. [0]: https://www.mediawiki.org/wiki/Requests_for_comment/Structured_logging [1]: https://getcomposer.org/doc/00-intro.md#installation-nix See also: I1431b24 (Monolithic implementation) Change-Id: Ie667944416187cfd2ae6016c9e2fa28f4204bcd7
32 lines
749 B
JSON
32 lines
749 B
JSON
{
|
|
"name": "mediawiki/core",
|
|
"description": "Free software wiki application developed by the Wikimedia Foundation and others",
|
|
"keywords": ["mediawiki", "wiki"],
|
|
"homepage": "https://www.mediawiki.org/",
|
|
"authors": [
|
|
{
|
|
"name": "MediaWiki Community",
|
|
"homepage": "https://www.mediawiki.org/wiki/Special:Version/Credits"
|
|
}
|
|
],
|
|
"license": "GPL-2.0",
|
|
"support": {
|
|
"issues": "https://bugzilla.wikimedia.org/",
|
|
"irc": "irc://irc.freenode.net/mediawiki",
|
|
"wiki": "https://www.mediawiki.org/"
|
|
},
|
|
"require": {
|
|
"php": ">=5.3.2",
|
|
"psr/log": "1.0.0"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "*"
|
|
},
|
|
"suggest": {
|
|
"ext-fileinfo": "*",
|
|
"ext-mbstring": "*",
|
|
"ext-wikidiff2": "*",
|
|
"ext-apc": "*",
|
|
"monolog/monolog": "*"
|
|
}
|
|
}
|