Current configuration on the wiki
Find a file
Florian Schmidt acfb8efed8 MediaWikiServices: Don't assume, that old and new instances contains the same services
As the services, that are registered in MediaWikiServices can be changed by
extensions using the MediaWikiServices hook, it's not save to assume, that
the first created instance of MediaWikiServices (which could be created before
any extension is loaded, e.g. in ExtensionRegistry) contains the same services
as a later created one (in the reset process of resetGlobalInstance). Doing this
could result in a NoSuchServiceException, if an extension registers new services,
which aren't registered before the extension is loaded (as, in the reset process,
MediaWikiServices tries to minimize the service instantiation cost by preserving
services, that can be preserved).

This patch adds a check, if a service is registered in the MediaWikiServices object
that should be reset, before the salvage-logic tries to fetch the services. If the
service object does not exist, it simply skips it, as it will simply instantiated
later.

Follow up: Ie2ca3ff99aa74fffa9eb6c8faccab857dc0874f7
Follow up: I2a26b6af07a48ad15414a8428daa9cfcfe02e933

Bug: T143974
Change-Id: Ifc587d6138ab565c2f38eb0805acf0dd0473d433
2016-08-30 14:17:04 +00:00
cache
docs Merge "Add new UsersPagerDoBatchLookups hook to allow for extensions to modify UsersPager::doBatchLookup()'s rigid behavior" 2016-08-27 22:05:43 +00:00
extensions
images
includes MediaWikiServices: Don't assume, that old and new instances contains the same services 2016-08-30 14:17:04 +00:00
languages Localisation updates from https://translatewiki.net. 2016-08-27 22:50:29 +02:00
maintenance Remove patch-pl-tl-il-unique.sql 2016-08-26 05:09:12 -04:00
mw-config This changes grammar, spelling and flow of the README 2016-08-11 01:08:37 +00:00
resources mw.loader: Minor clean up and optimisations 2016-08-26 23:26:38 +00:00
serialized
skins
tests Merge "API: Some raw message cleanup" 2016-08-27 01:18:10 +00:00
.gitattributes
.gitignore
.gitreview
.jscsrc
.jshintignore
.jshintrc
.mailmap
.rubocop.yml
.stylelintrc
.travis.yml
api.php
autoload.php Implement NumericUppercaseCollation 2016-08-23 18:41:01 +00:00
composer.json Merge "Upgrade justinrainbow/json-schema to ~3.0" 2016-08-23 21:33:56 +00:00
composer.local.json-sample
COPYING
CREDITS
FAQ
Gemfile Browser tests: update to mw-selenium 1.7.2 and https 2016-08-15 13:43:48 -06:00
Gemfile.lock Browser tests: update to mw-selenium 1.7.2 and https 2016-08-15 13:43:48 -06:00
Gruntfile.js
HISTORY
img_auth.php
index.php
INSTALL
jsduck.json
load.php
opensearch_desc.php
package.json build: Fix stylelint devDependencies 2016-08-05 11:04:02 -07:00
phpcs.xml
profileinfo.php
Rakefile
README
README.mediawiki
RELEASE-NOTES-1.28 RELEASE-NOTES: Add release note for 74fa607 2016-08-23 17:20:35 -07:00
StartProfiler.sample
thumb.php
thumb_handler.php
UPGRADE Fix link to Help:Contents in UPGRADE file 2016-08-11 06:38:10 +00:00
wiki.phtml

== 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/Download
* Looking for the technical manual?
** https://www.mediawiki.org/wiki/Manual:Contents
* Seeking help from a person?
** https://www.mediawiki.org/wiki/Communication
* Looking to file a bug report or a feature request?
** https://bugs.mediawiki.org/
* Interested in helping out?
** https://www.mediawiki.org/wiki/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.