Current configuration on the wiki
Find a file
Florian Schmidt 90698a878b registration: Allow specifying extension dependencies
There are some extensoins that depend upon another extension or skin,
usually in different ways:
* A constant that is added in the dependency extension, and the
existence of is checked for. This is problematic because it requires a
specific load order.
* Checking whether a specific class exists. This is problematic because
it is extremely fragile, and breaks whenever the class is renamed.
* Checking ExtensionRegistry::isLoaded(). This is mostly there, but it
only checks at runtime, and doesn't provide any machine readable data.

Furthermore, developers implement each one differently, with very little
standardization.

With this, extensions may now specify what other extensions they depend
on. This is for explicit *hard* dependencies that must be installed.

For example:
	"requires": {
		"MediaWiki": ">= 1.25.0",
		"extensions": {
			"FakeExtension": "*"
		},
		"skins": {
			"FakeSkin": "*"
		}
	}

This would add a minimum requirement on MediaWiki 1.25.0+ (already
implemented), as well as the requirement that the FakeExtension extension
needs to be installed, as well as the FakeSkin skin. A wildcard (*) is
used instead of an explicit version requirement as many extensions do
not actually version themselves, and there is no consistent versioning
scheme yet.

Bug: T117277
Change-Id: If1cccee1a16a867a71bb0285691c400443d8a30a
2016-12-14 19:18:09 +01:00
cache
docs registration: Allow specifying extension dependencies 2016-12-14 19:18:09 +01:00
extensions Added a link to Developer Hub in docs/README, Sectioning minor rewording, localisation links added to extentsions/README. Other minor changes 2016-07-31 17:33:42 +00:00
images
includes registration: Allow specifying extension dependencies 2016-12-14 19:18:09 +01:00
languages Merge "Add script to support per-line @suppress annotations in Phan" 2016-12-14 08:51:26 +00:00
maintenance Merge "Add externallinks.el_index_60 column and indexes" 2016-12-14 09:47:09 +00:00
mw-config installer: Restore PHP 5.3 compatibility in index.php 2016-12-11 21:29:45 +01:00
resources Merge "mediawiki.page.watch: Avoid dynamic message keys" 2016-12-14 13:33:05 +00:00
serialized
skins
tests registration: Allow specifying extension dependencies 2016-12-14 19:18:09 +01:00
.eslintrc.json eslint: Re-enable valid-jsdoc and make a pass 2016-11-17 13:06:07 -08:00
.gitattributes
.gitignore Add configuration for running etsy/phan against core 2016-12-07 20:04:01 -08:00
.gitreview Swapping defaultbranch for track 2016-10-25 00:32:10 +00:00
.mailmap .mailmap, CREDITS: Correct Alexandre Emsenhuber's (IAlex) name 2016-11-21 16:02:41 +01:00
.rubocop.yml
.stylelintrc build: Bump grunt-stylelint to v0.4.0 and make pass 2016-06-24 14:16:59 +00:00
.travis.yml Travis-CI: stop notifying build status to #mediawiki-core 2016-10-16 15:46:03 -06:00
api.php
autoload.php registration: Generalize CoreVersionChecker to VersionChecker 2016-12-14 19:18:09 +01:00
composer.json Update OOjs UI to v0.18.2 2016-12-06 15:42:12 -08:00
composer.local.json-sample
COPYING
CREDITS .mailmap, CREDITS: Correct Alexandre Emsenhuber's (IAlex) name 2016-11-21 16:02:41 +01:00
FAQ Documentation link changes 2016-10-07 20:32:45 +00:00
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 Merge "Remove JSON polyfill, deprecate 'json' module" 2016-11-23 02:23:14 +00:00
HISTORY Bring REL1_28 into HISTORY 2016-11-28 21:20:05 +00:00
img_auth.php Added Range support to FileBackend::streamFile() 2016-06-04 05:43:43 -07:00
index.php Add Localisation to the links, add the link to Localisation in Languages/Language.php 2016-09-17 01:33:37 +00:00
INSTALL Documentation link changes 2016-10-07 20:32:45 +00:00
jsduck.json Add exceptions in mw.Title where mb_strtoupper doesn't match String.toUpperCase 2016-11-23 18:45:44 +01:00
load.php resourceloader: Disable ChronologyProtector to speed up wfGetLB() 2016-09-28 21:47:23 +01:00
opensearch_desc.php Warn on session access in profileinfo.php and opensearch_desc.php 2016-05-05 11:35:10 -04:00
package.json build: Bump jsonlint devDependency to latest 2016-11-22 23:57:40 +00:00
phpcs.xml Have phpcs skip local configuration files 2016-11-22 13:13:52 -05:00
profileinfo.php Warn on session access in profileinfo.php and opensearch_desc.php 2016-05-05 11:35:10 -04:00
Rakefile
README Documentation link changes 2016-10-07 20:32:45 +00:00
README.mediawiki
RELEASE-NOTES-1.29 Set $wgUserEmailUseReplyTo = true by default 2016-12-13 03:06:23 +00:00
StartProfiler.sample
thumb.php Serve 400 instead of 500 when invalid thumbnail parameters are requested 2016-11-29 09:50:42 +01:00
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/Special:MyLanguage/Download
* Looking for the technical manual?
** https://www.mediawiki.org/wiki/Special:MyLangyage/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.