2 "name": "mediawiki/core",
3 "description": "Free software wiki application developed by the Wikimedia Foundation and others",
4 "type": "mediawiki-core",
9 "homepage": "https://www.mediawiki.org/",
12 "name": "MediaWiki Community",
13 "homepage": "https://www.mediawiki.org/wiki/Special:Version/Credits"
16 "license": "GPL-2.0-or-later",
18 "issues": "https://phabricator.wikimedia.org/",
19 "irc": "irc://irc.libera.chat/mediawiki",
20 "wiki": "https://www.mediawiki.org/"
22 "prefer-stable": true,
24 "composer/semver": "3.4.0",
25 "cssjanus/cssjanus": "2.2.0",
38 "guzzlehttp/guzzle": "7.8.1",
39 "justinrainbow/json-schema": "5.2.13",
40 "liuggio/statsd-php-client": "1.0.18",
41 "mck89/peast": "1.16.2",
42 "monolog/monolog": "2.9.3",
43 "oojs/oojs-ui": "0.50.4",
45 "pear/mail_mime": "1.10.12",
46 "pear/net_smtp": "1.12.1",
48 "psr/container": "1.1.2",
49 "psr/http-message": "1.1",
51 "ralouphie/getallheaders": "3.0.3",
52 "symfony/polyfill-php80": "1.29.0",
53 "symfony/polyfill-php81": "1.29.0",
54 "symfony/polyfill-php82": "1.29.0",
55 "symfony/polyfill-php83": "1.29.0",
56 "symfony/yaml": "5.4.39",
57 "wikimedia/assert": "0.5.1",
58 "wikimedia/at-ease": "2.1.0",
59 "wikimedia/base-convert": "2.0.2",
60 "wikimedia/bcp-47-code": "2.0.0",
61 "wikimedia/cdb": "3.0.0",
62 "wikimedia/cldr-plural-rule-parser": "2.0.0",
63 "wikimedia/common-passwords": "0.5.0",
64 "wikimedia/composer-merge-plugin": "2.1.0",
65 "wikimedia/html-formatter": "4.1.0",
66 "wikimedia/ip-utils": "5.0.0",
67 "wikimedia/json-codec": "3.0.2",
68 "wikimedia/less.php": "5.0.0",
69 "wikimedia/minify": "2.7.0",
70 "wikimedia/normalized-exception": "1.0.1",
71 "wikimedia/object-factory": "5.0.1",
72 "wikimedia/parsoid": "0.20.0-a16",
73 "wikimedia/php-session-serializer": "2.0.1",
74 "wikimedia/purtle": "1.0.8",
75 "wikimedia/relpath": "4.0.0",
76 "wikimedia/remex-html": "4.1.0",
77 "wikimedia/request-timeout": "1.2.0",
78 "wikimedia/running-stat": "2.1.0",
79 "wikimedia/scoped-callback": "4.0.0",
80 "wikimedia/services": "3.0.0",
81 "wikimedia/shellbox": "4.0.2",
82 "wikimedia/utfnormal": "4.0.0",
83 "wikimedia/timestamp": "4.1.1",
84 "wikimedia/wait-condition-loop": "2.0.2",
85 "wikimedia/wrappedstring": "4.0.1",
86 "wikimedia/xmp-reader": "0.9.1",
87 "zordius/lightncandy": "1.2.6"
90 "composer/spdx-licenses": "1.5.8",
91 "doctrine/dbal": "3.8.4",
92 "doctrine/sql-formatter": "1.1.3",
94 "giorgiosironi/eris": "^0.14.0",
95 "hamcrest/hamcrest-php": "^2.0",
96 "johnkary/phpunit-speedtrap": "^4.0",
97 "mediawiki/mediawiki-codesniffer": "43.0.0",
98 "mediawiki/mediawiki-phan-config": "0.14.0",
99 "mediawiki/minus-x": "1.1.3",
100 "nikic/php-parser": "^4.10.2",
101 "php-parallel-lint/php-console-highlighter": "1.0.0",
102 "php-parallel-lint/php-parallel-lint": "1.4.0",
103 "phpunit/phpunit": "9.6.19",
104 "psy/psysh": "^0.12.3",
105 "seld/jsonlint": "1.10.2",
106 "wikimedia/alea": "1.0.0",
107 "wikimedia/langconv": "^0.4.2",
108 "wikimedia/testing-access-wrapper": "^3.0.0",
109 "wmde/hamcrest-html-matchers": "^1.0.0"
112 "symfony/polyfill-ctype": "1.99",
113 "symfony/polyfill-intl-grapheme": "1.17.1",
114 "symfony/polyfill-intl-normalizer": "1.17.1",
115 "symfony/polyfill-mbstring": "1.99"
118 "ext-apcu": "Faster web responses overall.",
119 "ext-bcmath": "Increased performance of some operations. Required especially on 32 bit machines. This or ext-gmp are needed for scrambling Temporary Accounts.",
120 "ext-curl": "Faster HTTP services, e.g. when using InstantCommons, Swift, or Etcd.",
121 "ext-exif": "Enable processing of EXIF information in file uploads.",
122 "ext-gd": "Enable thumbnails for file uploads.",
123 "ext-gmp": "Increased performance of some operations. Required especially on 32 bit machines. This or ext-bcmath are needed for scrambling Temporary Accounts.",
124 "ext-mysqli": "Enable the MySQL and MariaDB database type for MediaWiki.",
125 "ext-pdo": "Enable the SQLite database type for MediaWiki.",
126 "ext-pgsql": "Enable the PostgreSQL database type for MediaWiki.",
127 "ext-posix": "Enable CLI concurrent processing, e.g. for runJobs.php.",
128 "ext-pcntl": "Enable CLI concurrent processing, e.g. for runJobs.php and rebuildLocalisationCache.php.",
129 "ext-readline": "Enable CLI history and autocomplete, e.g. for eval.php and other REPLs.",
130 "ext-sockets": "Enable CLI concurrent processing, e.g. for rebuildLocalisationCache.php.",
131 "ext-wikidiff2": "Faster text difference engine.",
132 "ext-zlib": "Enable use of GZIP compression, e.g. for SqlBagOStuff (ParserCache), $wgCompressRevisions, or $wgUseFileCache.",
133 "monolog/monolog": "Enable use of MonologSpi ($wgMWLoggerDefaultSpi)."
137 "MediaWiki\\Composer\\": "includes/composer"
142 "vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php",
143 "vendor/wmde/hamcrest-html-matchers/src/functions.php"
147 "mw-install:sqlite": "@php maintenance/run.php install --server=http://localhost:4000 --dbtype sqlite --with-developmentsettings --dbpath cache/ --scriptpath= --pass adminpassword MediaWiki Admin",
149 "Composer\\Config::disableProcessTimeout",
150 "@putenv MW_LOG_DIR=logs",
151 "@putenv MW_LOG_STDERR=1",
152 "@putenv PHP_CLI_SERVER_WORKERS=8",
153 "@php -S 127.0.0.1:4000"
155 "lint": "parallel-lint --exclude node_modules --exclude vendor",
156 "phan": "phan -d . --long-progress-bar",
157 "phpcs": "phpcs -p -s --cache",
162 "pre-install-cmd": "MediaWiki\\Composer\\VersionChecker::onEvent",
163 "pre-update-cmd": "MediaWiki\\Composer\\VersionChecker::onEvent",
164 "post-install-cmd": "MediaWiki\\Composer\\ComposerVendorHtaccessCreator::onEvent",
165 "post-update-cmd": "MediaWiki\\Composer\\ComposerVendorHtaccessCreator::onEvent",
166 "releasenotes": "@phpunit --group ReleaseNotes",
176 "phpunit": "phpunit",
177 "phpunit:unit": "@phpunit --colors=always --testsuite=core:unit,extensions:unit,skins:unit",
178 "phpunit:integration": "@phpunit --colors=always --testsuite=core:integration,extensions:integration,skins:integration",
179 "phpunit:coverage": "@phpunit --testsuite=core:unit --exclude-group Dump,Broken",
180 "phpunit:coverage-edit": "MediaWiki\\Composer\\ComposerPhpunitXmlCoverageEdit::onEvent",
181 "phpunit:entrypoint": "@phpunit",
182 "phpunit:prepare-parallel:extensions": [
183 "MediaWiki\\Composer\\PhpUnitSplitter\\PhpUnitXmlManager::listTestsNotice",
184 "@phpunit --list-tests-xml=tests-list-extensions.xml --testsuite=extensions",
185 "MediaWiki\\Composer\\PhpUnitSplitter\\PhpUnitXmlManager::splitTestsListExtensions"
187 "phpunit:prepare-parallel:default": [
188 "MediaWiki\\Composer\\PhpUnitSplitter\\PhpUnitXmlManager::listTestsNotice",
189 "@phpunit --list-tests-xml=tests-list-default.xml",
190 "MediaWiki\\Composer\\PhpUnitSplitter\\PhpUnitXmlManager::splitTestsListDefault"
192 "phpunit:prepare-parallel:split-file": "MediaWiki\\Composer\\PhpUnitSplitter\\PhpUnitXmlManager::splitTestsCustom",
193 "phpunit:parallel:custom-groups": "MediaWiki\\Composer\\ComposerLaunchParallel::launchTestsCustomGroups",
194 "phpunit:parallel:database": "MediaWiki\\Composer\\ComposerLaunchParallel::launchTestsDatabase",
195 "phpunit:parallel:databaseless": "MediaWiki\\Composer\\ComposerLaunchParallel::launchTestsDatabaseless",
196 "maintenance": "@php maintenance/run.php"
199 "optimize-autoloader": true,
200 "prepend-autoloader": false,
202 "wikimedia/composer-merge-plugin": true,
203 "composer/installers": true,
204 "dealerdirect/phpcodesniffer-composer-installer": true
210 "composer.local.json"