wiki.techinc.nl/docs
Kunal Mehta f6644c07cb registration: Improve license-name validation
Our hardcoded enum list in the extension.json schema for license-name
values was incomplete and did not cover the full SPDX license identifier
specification, which includes things like "AND" for specifying multiple
licenses.

Composer already has solid code in a library to do this validation, so
let's use it! This updates both the validateRegistrationFile.php and
ExtensionJsonValidationTest.php to use the composer/spdx-licenses
library (a new development dependency) to ensure the license-name field
is a valid SPDX identifier.

Also fix a silly typo in the validateRegistrationFile script which
prevented it from running, and use ::class so it will be easier to
detect typos like that in the future.

Bug: T146862
Change-Id: Ibb8973ed7950ae81c90558f9630f73746b2aff2c
2016-09-28 20:50:48 +00: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 Change position of <model> and <format> tags in XML dumps. 2014-10-31 16:49:58 +00:00
export-demo.xml Typo fixes and non-code tweaks 2014-12-12 18:31:15 +00:00
extension.schema.json registration: Improve license-name validation 2016-09-28 20:50:48 +00:00
extension.schema.v1.json registration: Improve license-name validation 2016-09-28 20:50:48 +00:00
globals.txt
hooks.txt Create ChangeTagsUpdate hook 2016-09-28 02:15:30 +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 Move MWLogger classes to MediaWiki\Logger namespace 2015-04-03 11:32:24 -07:00
magicword.txt
maintenance.txt
memcached.txt Fix typos in docs/memcached.txt 2016-03-22 16:03:08 -07:00
README 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
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 Maintenance script for importing site info. 2015-02-18 18:39:14 +01:00
sitelist.txt ellapsed => elapsed 2015-06-23 03:32:33 +00:00
sitescache.txt Split SiteLookup interface from SiteStore 2015-03-18 21:31:48 +01:00
skin.txt Fix some stuttering in comments and documentation 2014-12-17 19:44:10 +00:00
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
  https://www.mediawiki.org/wiki/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/Help:Contents
Documentation for MediaWiki site administrators is at:
  https://www.mediawiki.org/wiki/Manual:Contents