Add licensing for extensions to Special:Version
authorMatt Walker <mwalker@wikimedia.org>
Fri, 24 May 2013 11:19:49 +0000 (04:19 -0700)
committerMatt Walker <mwalker@wikimedia.org>
Fri, 3 Jan 2014 19:02:54 +0000 (11:02 -0800)
commit357eb3d488b9d8caf575bc6990d9906ecc256554
tree86a4461c0addac88a4ed10bcee84095d1a6f03db
parent6b22c0a353018473d4767c497973f0b83ee4892d
Add licensing for extensions to Special:Version

Allow extensions to register a software license and present
this on the Special:Version page. A new $wgExtensionCredits
parameter has been introduced for this purpose: 'license-name'.

This will also automatically pick up the presense of additional
licensing and/or credits files. If ((AUTHORS)|(CREDITS))(\.txt)?
exists in the extension base directory a credits link will be
created. If ((LICENSE)|(COPYING))(\.txt)? exists a license link
will be created.

The API has also been updated to produce VCS information and present
links to the license/credits files.

Bug: 48418
Change-Id: I388f3b630462f1909f30751c987f7af585e98881
CREDITS
includes/api/ApiQuerySiteinfo.php
includes/specials/SpecialVersion.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messages.inc