Current configuration on the wiki
Find a file
Aryeh Gregor 18ec468633 Don't pass Config to service constructors
We don't want to depend on the entire site configuration when we only
need a few specific settings.

This change additionally means that these services no longer see a live
version of the settings, but rather a copy. This means in tests you
really do have to call overrideMwServices() if you want services to pick
up your config changes.

ResourceLoader and SearchEngineConfig will need more work to port,
because they expose their member Config in a getter, and the getter is
actually used.

Parser and NamespaceInfo are also relatively complicated, so I split
them into separate patches.

Tested with 100% code coverage. \o/

Depends-On: If6534b18f6657ec1aba7327463f2661037f995b3
Change-Id: I1a3f358e8659b49de4502dc8216ecb6f35f4e02a
2019-05-02 11:33:56 +03:00
.phan Fix/suppress phan errors related to arrays (#11) 2019-04-07 16:27:02 +00:00
cache
docs registration: Allow to require environment abilities 2019-04-13 08:14:44 -07:00
extensions
images
includes Don't pass Config to service constructors 2019-05-02 11:33:56 +03:00
languages Localisation updates from https://translatewiki.net. 2019-05-01 21:55:49 +02:00
maintenance Merge "Add missing IDatabase type hints to all doAtomicSection() calls" 2019-04-30 17:52:54 +00:00
mw-config linting: Start enforcing a basic CSS class naming rule (with lots of opt-outs) 2019-04-12 10:18:45 -07:00
resources Remove -moz vendor prefixes 2019-05-01 12:28:36 -07:00
skins
tests Don't pass Config to service constructors 2019-05-02 11:33:56 +03:00
.editorconfig
.eslintrc.json build: Update eslint-config-wikimedia to 0.11.0 2019-02-20 23:36:03 +00:00
.fresnel.yml build: Set Fresnel scenario run count to 7 2019-04-13 00:38:13 +01:00
.gitattributes SECURITY: Don't exclude .htaccess files from git archive 2018-09-20 22:26:11 +01:00
.gitignore resources: Add caching for faster runs and offline use 2019-03-24 20:57:46 +00:00
.gitreview
.mailmap Add me to .mailmap and remove duplicate name 2019-01-08 05:43:55 +00:00
.phpcs.xml Split parser related files to have one class in one file 2019-04-27 00:41:47 +00:00
.stylelintrc.json linting: Start enforcing a basic CSS class naming rule (with lots of opt-outs) 2019-04-12 10:18:45 -07:00
.travis.yml build: Remove git-depth:3 from Travis CI config 2019-03-21 00:33:39 +00:00
api.php Fix index name in comment to "PHP_INFO" 2018-10-09 02:00:34 +00:00
autoload.php Don't pass Config to service constructors 2019-05-02 11:33:56 +03:00
CODE_OF_CONDUCT.md Update CoC file in Core 2018-09-30 19:42:59 +00:00
composer.json Update OOUI to v0.31.5 2019-04-24 13:36:00 -05:00
composer.local.json-sample
COPYING
CREDITS Add me to .mailmap and remove duplicate name 2019-01-08 05:43:55 +00:00
FAQ
Gruntfile.js build: Upgrade grunt-banana-checker from 0.6.0 to 0.7.0 and make pass 2019-04-30 13:26:02 -07:00
HISTORY Prepare for REL1_33 cut, labelling master as 1.34-alpha 2019-04-10 16:50:58 -07:00
img_auth.php Stop calling FileRepo->streamFile() 2019-04-20 02:06:50 +01:00
index.php PHPVersionCheck: Remove obsolete load.php code and simplify 2018-10-28 14:12:54 -07:00
INSTALL Bump minimum SQLite version to 3.8.0 2019-03-10 17:30:09 -07:00
jsduck.json Update OOUI to v0.31.3 2019-04-04 14:58:58 -07:00
load.php resourceloader: Instantiate main class via ServiceWiring 2019-02-18 17:55:09 +00:00
opensearch_desc.php Enforce no-session constraint in opensearch_desc.php and profileinfo.php 2018-10-03 15:08:06 -04:00
package.json build: Upgrade grunt-banana-checker from 0.6.0 to 0.7.0 and make pass 2019-04-30 13:26:02 -07:00
profileinfo.php profileinfo: Remove unused constructor call parameter 2019-03-27 10:34:34 +01:00
README Revert "docs: Rename README to README.md" 2018-06-07 06:53:59 +00:00
README.mediawiki Revert "docs: Rename README to README.md" 2018-06-07 06:53:59 +00:00
RELEASE-NOTES-1.33 [SECURITY] [API BREAKING CHANGE] Require logout token. 2019-04-24 15:38:40 +00:00
RELEASE-NOTES-1.34 Don't pass Config to service constructors 2019-05-02 11:33:56 +03:00
SECURITY
thumb.php Fix common typos in code 2018-09-02 09:03:07 +00:00
thumb_handler.php
UPGRADE INSTALL, UPGRADE: Re-wrap to 80 chars and enforce 2018-10-16 19:45:25 -07:00

== MediaWiki ==

MediaWiki is a free and open-source wiki software package written in PHP. It
serves as the platform for Wikipedia and the other Wikimedia projects, used
by hundreds of millions of people each month. MediaWiki is localised in over
350 languages and its reliability and robust feature set have earned it a large
and vibrant community of third-party users and developers.

MediaWiki is:

* feature-rich and extensible, both on-wiki and with hundreds of extensions;
* scalable and suitable for both small and large sites;
* simple to install, working on most hardware/software combinations; and
* available in your language.

For system requirements, installation, and upgrade details, see the files
RELEASE-NOTES, INSTALL, and UPGRADE.

* Ready to get started?
** https://www.mediawiki.org/wiki/Special:MyLanguage/Download
* Looking for the technical manual?
** https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Contents
* Seeking help from a person?
** https://www.mediawiki.org/wiki/Special:MyLanguage/Communication
* Looking to file a bug report or a feature request?
** https://bugs.mediawiki.org/
* Interested in helping out?
** https://www.mediawiki.org/wiki/Special:MyLanguage/How_to_contribute

MediaWiki is the result of global collaboration and cooperation. The CREDITS
file lists technical contributors to the project. The COPYING file explains
MediaWiki's copyright and license (GNU General Public License, version 2 or
later). Many thanks to the Wikimedia community for testing and suggestions.