wiki.techinc.nl/docs
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
..
code-coverage
databases
html
kss resourceloader: Move queue formatting out of OutputPage 2016-08-08 12:23:09 -07:00
php-memcached
uidesign Rename mediawiki.action.history.diff to mediawiki.diff.styles 2016-09-06 11:11:33 +02:00
contenthandler.txt Remove Revision::getRawText() 2016-04-01 19:57:35 +01:00
database.txt Fix repo url in docs/database.txt 2016-08-21 01:00:51 +01:00
deferred.txt Remove $wgEnotifUseJobQ 2016-01-29 12:24:16 -08:00
design.txt
distributors.txt Update and reformat docs/distributors.txt 2016-07-20 12:46:07 -07:00
doxygen_first_page.php Fix whitespace issues around parentheses 2015-06-16 22:14:02 +03:00
export-0.1.xsd
export-0.2.xsd
export-0.3.xsd
export-0.4.xsd
export-0.5.xsd
export-0.6.xsd
export-0.7.xsd
export-0.8.xsd
export-0.9.xsd
export-0.10.xsd
export-demo.xml
extension.schema.json registration: Allow specifying extension dependencies 2016-12-14 19:18:09 +01:00
extension.schema.v1.json registration: FileExtensions should be an array, not an object 2016-11-21 05:54:48 +00:00
globals.txt
hooks.txt Merge "API: i18n for warnings and errors" 2016-12-06 19:57:45 +00:00
injection.txt Allow reset of global services (redux). 2016-05-04 19:18:29 +02:00
language.txt
linkcache.txt ellapsed => elapsed 2015-06-23 03:32:33 +00:00
logger.txt
magicword.txt
maintenance.txt
memcached.txt Fix typos in docs/memcached.txt 2016-03-22 16:03:08 -07:00
README Documentation link changes 2016-10-07 20:32:45 +00:00
schema.txt
scripts.txt Do not support new installations via .php5 entrypoint any longer 2015-06-02 08:38:57 -07:00
sitelist-1.0.xsd
sitelist.txt ellapsed => elapsed 2015-06-23 03:32:33 +00:00
sitescache.txt
skin.txt
title.txt

/docs Directory README
======================

The 'docs' directory contain various text files that should help you understand
the most important parts of the code of MediaWiki. More in-depth documentation
can be found at:
  https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Code
  https://www.mediawiki.org/wiki/Special:MyLanguage/Developer_hub
API documentation is automatically generated and updated daily at:
  https://doc.wikimedia.org/mediawiki-core/master/php/html/

You can get a fresh version using 'make doc' or mwdocgen.php in the
../maintenance/ directory.


For end users, most of the documentation is located online at:
  https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents
Documentation for MediaWiki site administrators is at:
  https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Contents