Instead of expecting everything to be a ResourceLoaderFileModule, use the "anyOf" property to validate against multiple schemas. The following schemas are now allowed: * The ResourceLoaderFileModule schema, now with the "targets" property * A schema for ResourceLoaderImageModule * A generic schema that requires the "class" property is set, but not to "ResourceLoaderFileModule" or "ResourceLoaderImageModule". The last schema will allow for any custom ResourceLoaderModule class to be set in extension.json with arbitrary parameters. One downside of this is that the error messages shown when a file does not validate get a little more confusing, as it shows the error messages for each schema it does not match. Bug: T105236 Change-Id: I5e4bfa69c733187c7b27294c159cac05b3b92e81 |
||
|---|---|---|
| .. | ||
| code-coverage | ||
| databases | ||
| html | ||
| kss | ||
| php-memcached | ||
| uidesign | ||
| contenthandler.txt | ||
| database.txt | ||
| deferred.txt | ||
| design.txt | ||
| distributors.txt | ||
| doxygen_first_page.php | ||
| 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 | ||
| globals.txt | ||
| hooks.txt | ||
| language.txt | ||
| linkcache.txt | ||
| logger.txt | ||
| magicword.txt | ||
| maintenance.txt | ||
| memcached.txt | ||
| README | ||
| schema.txt | ||
| scripts.txt | ||
| sitelist-1.0.xsd | ||
| sitelist.txt | ||
| 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/Manual:Code 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/Help:Contents Documentation for MediaWiki site administrators is at: https://www.mediawiki.org/wiki/Manual:Contents