diff options
author | Kunal Mehta <legoktm@member.fsf.org> | 2018-05-23 16:23:42 -0700 |
---|---|---|
committer | Kunal Mehta <legoktm@member.fsf.org> | 2018-05-23 16:23:42 -0700 |
commit | e0193327bd2661fc68a7b3541cf977f2baf0ac4f (patch) | |
tree | 974dc27f2cbdf2995b5bbf26f92e6ab3e36be0ef | |
parent | 5a024697a272981fc491e7502d6d5fddef4d2c22 (diff) | |
download | mediawikicore-e0193327bd2661fc68a7b3541cf977f2baf0ac4f.tar.gz mediawikicore-e0193327bd2661fc68a7b3541cf977f2baf0ac4f.zip |
Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors
Change-Id: I936c3f5fca1a0061f215e80469f5d882cb32ee29
61 files changed, 65 insertions, 63 deletions
diff --git a/.phpcs.xml b/.phpcs.xml index 440adafc0399..fb9d232605e1 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -10,7 +10,6 @@ <exclude name="MediaWiki.Commenting.FunctionComment.WrongStyle" /> <exclude name="MediaWiki.Commenting.IllegalSingleLineComment.IllegalSingleLineCommentStart" /> <exclude name="MediaWiki.Commenting.IllegalSingleLineComment.IllegalSingleLineCommentEnd" /> - <exclude name="MediaWiki.Commenting.LicenseComment.InvalidLicenseTag" /> <exclude name="MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures" /> <exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" /> <exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" /> diff --git a/includes/cache/CacheHelper.php b/includes/cache/CacheHelper.php index e77e25158695..b2a91c297443 100644 --- a/includes/cache/CacheHelper.php +++ b/includes/cache/CacheHelper.php @@ -18,7 +18,7 @@ * http://www.gnu.org/copyleft/gpl.html * * @file - * @license GNU GPL v2 or later + * @license GPL-2.0-or-later * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ diff --git a/includes/composer/ComposerHookHandler.php b/includes/composer/ComposerHookHandler.php index a1943be5ac54..b26a47998f50 100644 --- a/includes/composer/ComposerHookHandler.php +++ b/includes/composer/ComposerHookHandler.php @@ -7,7 +7,7 @@ $GLOBALS['IP'] = __DIR__ . '/../../'; require_once __DIR__ . '/../AutoLoader.php'; /** - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ class ComposerHookHandler { diff --git a/includes/composer/ComposerPackageModifier.php b/includes/composer/ComposerPackageModifier.php index 168336b214e4..6aa0b5b8db8a 100644 --- a/includes/composer/ComposerPackageModifier.php +++ b/includes/composer/ComposerPackageModifier.php @@ -5,7 +5,7 @@ use Composer\Package\Package; use Composer\Semver\Constraint\Constraint; /** - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ class ComposerPackageModifier { diff --git a/includes/composer/ComposerVersionNormalizer.php b/includes/composer/ComposerVersionNormalizer.php index 2194bede69fc..52bc0cd12186 100644 --- a/includes/composer/ComposerVersionNormalizer.php +++ b/includes/composer/ComposerVersionNormalizer.php @@ -1,7 +1,7 @@ <?php /** - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ class ComposerVersionNormalizer { diff --git a/includes/dao/DBAccessBase.php b/includes/dao/DBAccessBase.php index beac91e0e199..b6ccb53decce 100644 --- a/includes/dao/DBAccessBase.php +++ b/includes/dao/DBAccessBase.php @@ -28,7 +28,7 @@ use Wikimedia\Rdbms\LoadBalancer; * @file * @ingroup Database * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Daniel Kinzler */ abstract class DBAccessBase implements IDBAccessObject { diff --git a/includes/interwiki/InterwikiLookupAdapter.php b/includes/interwiki/InterwikiLookupAdapter.php index 076c37fe1fbd..d906498b517d 100644 --- a/includes/interwiki/InterwikiLookupAdapter.php +++ b/includes/interwiki/InterwikiLookupAdapter.php @@ -24,7 +24,7 @@ namespace MediaWiki\Interwiki; * @since 1.29 * @ingroup InterwikiLookup * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later */ use Interwiki; diff --git a/includes/libs/CSSMin.php b/includes/libs/CSSMin.php index 454fd41f923d..dd734af513ba 100644 --- a/includes/libs/CSSMin.php +++ b/includes/libs/CSSMin.php @@ -19,7 +19,7 @@ * @version 0.1.1 -- 2010-09-11 * @author Trevor Parscal <tparscal@wikimedia.org> * @copyright Copyright 2010 Wikimedia Foundation - * @license http://www.apache.org/licenses/LICENSE-2.0 + * @license Apache-2.0 */ /** diff --git a/includes/libs/GenericArrayObject.php b/includes/libs/GenericArrayObject.php index 79d13741e242..a9b26ac91347 100644 --- a/includes/libs/GenericArrayObject.php +++ b/includes/libs/GenericArrayObject.php @@ -29,7 +29,7 @@ * * @file * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ abstract class GenericArrayObject extends ArrayObject { diff --git a/includes/libs/JavaScriptMinifier.php b/includes/libs/JavaScriptMinifier.php index 5ecfc7cc9bab..43cd7db2d1e0 100644 --- a/includes/libs/JavaScriptMinifier.php +++ b/includes/libs/JavaScriptMinifier.php @@ -4,7 +4,10 @@ * * @file * @author Paul Copperman <paul.copperman@gmail.com> - * @license Choose any of Apache, MIT, GPL, LGPL + * @license Apache-2.0 + * @license MIT + * @license GPL-2.0-or-later + * @license LGPL-2.1-or-later */ /** diff --git a/includes/logging/BlockLogFormatter.php b/includes/logging/BlockLogFormatter.php index a5af02691eb5..0d2238278541 100644 --- a/includes/logging/BlockLogFormatter.php +++ b/includes/logging/BlockLogFormatter.php @@ -18,7 +18,7 @@ * http://www.gnu.org/copyleft/gpl.html * * @file - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later * @since 1.25 */ diff --git a/includes/logging/DeleteLogFormatter.php b/includes/logging/DeleteLogFormatter.php index ef00634520a8..8078e2e02ce0 100644 --- a/includes/logging/DeleteLogFormatter.php +++ b/includes/logging/DeleteLogFormatter.php @@ -19,7 +19,7 @@ * * @file * @author Niklas Laxström - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later * @since 1.22 */ diff --git a/includes/logging/ImportLogFormatter.php b/includes/logging/ImportLogFormatter.php index a2a899b09759..ee676188bf5f 100644 --- a/includes/logging/ImportLogFormatter.php +++ b/includes/logging/ImportLogFormatter.php @@ -18,7 +18,7 @@ * http://www.gnu.org/copyleft/gpl.html * * @file - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later * @since 1.27 */ diff --git a/includes/logging/LogEntry.php b/includes/logging/LogEntry.php index 31c196af7f23..e9e338dc3a9e 100644 --- a/includes/logging/LogEntry.php +++ b/includes/logging/LogEntry.php @@ -24,7 +24,7 @@ * * @file * @author Niklas Laxström - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later * @since 1.19 */ diff --git a/includes/logging/LogFormatter.php b/includes/logging/LogFormatter.php index 0ffe691d6555..0cf3e6d25188 100644 --- a/includes/logging/LogFormatter.php +++ b/includes/logging/LogFormatter.php @@ -19,7 +19,7 @@ * * @file * @author Niklas Laxström - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later * @since 1.19 */ use MediaWiki\Linker\LinkRenderer; diff --git a/includes/logging/MergeLogFormatter.php b/includes/logging/MergeLogFormatter.php index 8775097dd681..7a6fb9df4876 100644 --- a/includes/logging/MergeLogFormatter.php +++ b/includes/logging/MergeLogFormatter.php @@ -18,7 +18,7 @@ * http://www.gnu.org/copyleft/gpl.html * * @file - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later * @since 1.25 */ diff --git a/includes/logging/MoveLogFormatter.php b/includes/logging/MoveLogFormatter.php index 43ca0ea1d5f6..637a8e7821e9 100644 --- a/includes/logging/MoveLogFormatter.php +++ b/includes/logging/MoveLogFormatter.php @@ -19,7 +19,7 @@ * * @file * @author Niklas Laxström - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later * @since 1.22 */ diff --git a/includes/logging/NewUsersLogFormatter.php b/includes/logging/NewUsersLogFormatter.php index 382e4adb5c53..911ab95b9c77 100644 --- a/includes/logging/NewUsersLogFormatter.php +++ b/includes/logging/NewUsersLogFormatter.php @@ -19,7 +19,7 @@ * * @file * @author Niklas Laxström - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later * @since 1.22 */ diff --git a/includes/logging/PageLangLogFormatter.php b/includes/logging/PageLangLogFormatter.php index 694fa7f300e8..a08427a0d881 100644 --- a/includes/logging/PageLangLogFormatter.php +++ b/includes/logging/PageLangLogFormatter.php @@ -19,7 +19,7 @@ * * @file * @author Kunal Grover - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later * @since 1.24 */ diff --git a/includes/logging/PatrolLogFormatter.php b/includes/logging/PatrolLogFormatter.php index 894f59b0ac0d..e02a7037a9cb 100644 --- a/includes/logging/PatrolLogFormatter.php +++ b/includes/logging/PatrolLogFormatter.php @@ -19,7 +19,7 @@ * * @file * @author Niklas Laxström - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later * @since 1.22 */ diff --git a/includes/logging/ProtectLogFormatter.php b/includes/logging/ProtectLogFormatter.php index 64ec62693595..931829ab2017 100644 --- a/includes/logging/ProtectLogFormatter.php +++ b/includes/logging/ProtectLogFormatter.php @@ -18,7 +18,7 @@ * http://www.gnu.org/copyleft/gpl.html * * @file - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later * @since 1.26 */ diff --git a/includes/logging/RightsLogFormatter.php b/includes/logging/RightsLogFormatter.php index 4b4d19f4fb0e..8cdd2afb259d 100644 --- a/includes/logging/RightsLogFormatter.php +++ b/includes/logging/RightsLogFormatter.php @@ -19,7 +19,7 @@ * * @file * @author Alexandre Emsenhuber - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later * @since 1.22 */ diff --git a/includes/logging/UploadLogFormatter.php b/includes/logging/UploadLogFormatter.php index 6c5367172f4f..a73052da646e 100644 --- a/includes/logging/UploadLogFormatter.php +++ b/includes/logging/UploadLogFormatter.php @@ -18,7 +18,7 @@ * http://www.gnu.org/copyleft/gpl.html * * @file - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later * @since 1.25 */ diff --git a/includes/logging/WikitextLogFormatter.php b/includes/logging/WikitextLogFormatter.php index 13b55595d25e..19f5144b0472 100644 --- a/includes/logging/WikitextLogFormatter.php +++ b/includes/logging/WikitextLogFormatter.php @@ -18,7 +18,7 @@ * http://www.gnu.org/copyleft/gpl.html * * @file - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later */ /** diff --git a/includes/media/Exif.php b/includes/media/Exif.php index a38e79b725f6..e4de0a1b5fcc 100644 --- a/includes/media/Exif.php +++ b/includes/media/Exif.php @@ -20,7 +20,7 @@ * @ingroup Media * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com> * @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason, 2009 Brent Garber - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License + * @license GPL-2.0-or-later * @see http://exif.org/Exif2-2.PDF The Exif 2.2 specification * @file */ diff --git a/includes/media/FormatMetadata.php b/includes/media/FormatMetadata.php index f683da2c0260..2a8b375a4012 100644 --- a/includes/media/FormatMetadata.php +++ b/includes/media/FormatMetadata.php @@ -20,7 +20,7 @@ * @ingroup Media * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com> * @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason, 2009 Brent Garber, 2010 Brian Wolff - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License + * @license GPL-2.0-or-later * @see http://exif.org/Exif2-2.PDF The Exif 2.2 specification * @file */ diff --git a/includes/media/SVGMetadataExtractor.php b/includes/media/SVGMetadataExtractor.php index fc93b2331f22..e00a5b380c71 100644 --- a/includes/media/SVGMetadataExtractor.php +++ b/includes/media/SVGMetadataExtractor.php @@ -22,7 +22,7 @@ * @author "Derk-Jan Hartman <hartman _at_ videolan d0t org>" * @author Brion Vibber * @copyright Copyright © 2010-2010 Brion Vibber, Derk-Jan Hartman - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License + * @license GPL-2.0-or-later */ /** diff --git a/includes/site/CachingSiteStore.php b/includes/site/CachingSiteStore.php index f3cd1e81a224..625c8997c57b 100644 --- a/includes/site/CachingSiteStore.php +++ b/includes/site/CachingSiteStore.php @@ -24,7 +24,7 @@ * @file * @ingroup Site * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Jeroen De Dauw < jeroendedauw@gmail.com > * @author Katie Filbert < aude.wiki@gmail.com > */ diff --git a/includes/site/DBSiteStore.php b/includes/site/DBSiteStore.php index 7fcfbe59e90d..b1da25c8657b 100644 --- a/includes/site/DBSiteStore.php +++ b/includes/site/DBSiteStore.php @@ -26,7 +26,7 @@ use Wikimedia\Rdbms\LoadBalancer; * @file * @ingroup Site * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Jeroen De Dauw < jeroendedauw@gmail.com > * @author Daniel Kinzler */ diff --git a/includes/site/FileBasedSiteLookup.php b/includes/site/FileBasedSiteLookup.php index 965444038f8d..c168a47ffb90 100644 --- a/includes/site/FileBasedSiteLookup.php +++ b/includes/site/FileBasedSiteLookup.php @@ -17,7 +17,7 @@ * * @file * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later */ /** diff --git a/includes/site/MediaWikiPageNameNormalizer.php b/includes/site/MediaWikiPageNameNormalizer.php index 8a12c4f7ce68..a81ddca92488 100644 --- a/includes/site/MediaWikiPageNameNormalizer.php +++ b/includes/site/MediaWikiPageNameNormalizer.php @@ -26,7 +26,7 @@ use UtfNormal\Validator; * * @since 1.27 * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author John Erling Blad < jeblad@gmail.com > * @author Daniel Kinzler * @author Jeroen De Dauw < jeroendedauw@gmail.com > diff --git a/includes/site/MediaWikiSite.php b/includes/site/MediaWikiSite.php index e1e7ce69cffe..14c9a7315d3a 100644 --- a/includes/site/MediaWikiSite.php +++ b/includes/site/MediaWikiSite.php @@ -22,7 +22,7 @@ use MediaWiki\Site\MediaWikiPageNameNormalizer; * * @file * @ingroup Site - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author John Erling Blad < jeblad@gmail.com > * @author Daniel Kinzler * @author Jeroen De Dauw < jeroendedauw@gmail.com > diff --git a/includes/site/Site.php b/includes/site/Site.php index f5e3f22ee6b3..01b2a3c4919d 100644 --- a/includes/site/Site.php +++ b/includes/site/Site.php @@ -23,7 +23,7 @@ * @file * @ingroup Site * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ class Site implements Serializable { diff --git a/includes/site/SiteExporter.php b/includes/site/SiteExporter.php index 01b838ef147e..0c9f9963ccaa 100644 --- a/includes/site/SiteExporter.php +++ b/includes/site/SiteExporter.php @@ -24,7 +24,7 @@ * @file * @ingroup Site * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Daniel Kinzler */ class SiteExporter { diff --git a/includes/site/SiteImporter.php b/includes/site/SiteImporter.php index 5e13d0615288..956bdab37e6f 100644 --- a/includes/site/SiteImporter.php +++ b/includes/site/SiteImporter.php @@ -24,7 +24,7 @@ * @file * @ingroup Site * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Daniel Kinzler */ class SiteImporter { diff --git a/includes/site/SiteList.php b/includes/site/SiteList.php index b942d6e4fe42..726ab46837fe 100644 --- a/includes/site/SiteList.php +++ b/includes/site/SiteList.php @@ -23,7 +23,7 @@ * @file * @ingroup Site * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ class SiteList extends GenericArrayObject { diff --git a/includes/site/SiteLookup.php b/includes/site/SiteLookup.php index 610bf0b78fc6..70fc453dd160 100644 --- a/includes/site/SiteLookup.php +++ b/includes/site/SiteLookup.php @@ -23,7 +23,7 @@ * @file * @ingroup Site * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later */ interface SiteLookup { diff --git a/includes/site/SiteSQLStore.php b/includes/site/SiteSQLStore.php index 2f8a113ca4cf..e0b8d27b4d7e 100644 --- a/includes/site/SiteSQLStore.php +++ b/includes/site/SiteSQLStore.php @@ -23,7 +23,7 @@ * @file * @ingroup Site * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Daniel Kinzler */ class SiteSQLStore { diff --git a/includes/site/SiteStore.php b/includes/site/SiteStore.php index 10e0c1b93da2..13800d0ded6d 100644 --- a/includes/site/SiteStore.php +++ b/includes/site/SiteStore.php @@ -23,7 +23,7 @@ * @file * @ingroup Site * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ interface SiteStore extends SiteLookup { diff --git a/includes/site/SitesCacheFileBuilder.php b/includes/site/SitesCacheFileBuilder.php index b4046e364cd0..f0d6ce102646 100644 --- a/includes/site/SitesCacheFileBuilder.php +++ b/includes/site/SitesCacheFileBuilder.php @@ -20,7 +20,7 @@ * * @file * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later */ class SitesCacheFileBuilder { diff --git a/includes/specials/helpers/License.php b/includes/specials/helpers/License.php index 940f69c7654c..fbd801d06e5e 100644 --- a/includes/specials/helpers/License.php +++ b/includes/specials/helpers/License.php @@ -21,7 +21,7 @@ * @ingroup SpecialPage * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com> * @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later */ /** diff --git a/includes/watcheditem/WatchedItemQueryService.php b/includes/watcheditem/WatchedItemQueryService.php index 506ee0092c04..a477b644d8f2 100644 --- a/includes/watcheditem/WatchedItemQueryService.php +++ b/includes/watcheditem/WatchedItemQueryService.php @@ -13,7 +13,7 @@ use Wikimedia\Rdbms\LoadBalancer; * @file * @ingroup Watchlist * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later */ class WatchedItemQueryService { diff --git a/includes/watcheditem/WatchedItemQueryServiceExtension.php b/includes/watcheditem/WatchedItemQueryServiceExtension.php index 93d50330899c..873ae2d76cb9 100644 --- a/includes/watcheditem/WatchedItemQueryServiceExtension.php +++ b/includes/watcheditem/WatchedItemQueryServiceExtension.php @@ -11,7 +11,7 @@ use Wikimedia\Rdbms\IDatabase; * @file * @ingroup Watchlist * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later */ interface WatchedItemQueryServiceExtension { diff --git a/includes/widget/SizeFilterWidget.php b/includes/widget/SizeFilterWidget.php index c4d1dfc85c91..18c05bf6bcec 100644 --- a/includes/widget/SizeFilterWidget.php +++ b/includes/widget/SizeFilterWidget.php @@ -10,7 +10,7 @@ use \OOUI\LabelWidget; * Select and input widget. * * @copyright 2011-2018 MediaWiki Widgets Team and others; see AUTHORS.txt - * @license The MIT License (MIT); see LICENSE.txt + * @license MIT */ class SizeFilterWidget extends \OOUI\Widget { diff --git a/languages/classes/LanguageBe_tarask.php b/languages/classes/LanguageBe_tarask.php index 1f9b767aabf4..07005d4d2f5e 100644 --- a/languages/classes/LanguageBe_tarask.php +++ b/languages/classes/LanguageBe_tarask.php @@ -19,8 +19,8 @@ * * @file * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com> - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License - * @license http://www.gnu.org/copyleft/fdl.html GNU Free Documentation License + * @license GPL-2.0-or-later + * @license GFDL-1.3-or-later * @ingroup Language */ diff --git a/languages/messages/MessagesLv.php b/languages/messages/MessagesLv.php index 4c75a514d6f4..94aac6018c48 100644 --- a/languages/messages/MessagesLv.php +++ b/languages/messages/MessagesLv.php @@ -29,7 +29,7 @@ /** * @copyright Copyright © 2006, Niklas Laxström - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later */ $linkTrail = '/^([a-zA-ZĀāČčĒēĢģĪīĶķĻļŅņŠšŪūŽž]+)(.*)$/sDu'; diff --git a/languages/messages/MessagesNn.php b/languages/messages/MessagesNn.php index 7572c67e01d6..816cff046c89 100644 --- a/languages/messages/MessagesNn.php +++ b/languages/messages/MessagesNn.php @@ -35,8 +35,8 @@ */ /** - * @license http://www.gnu.org/copyleft/fdl.html GNU Free Documentation License - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License + * @license GFDL-1.3-or-later + * @license GPL-2.0-or-later * * @see https://meta.wikimedia.org/w/index.php?title=LanguageNn.php&action=history * @see https://nn.wikipedia.org/w/index.php?title=Brukar:Dittaeva/LanguageNn.php&action=history diff --git a/maintenance/addSite.php b/maintenance/addSite.php index 4953343fd952..b0ee96671178 100644 --- a/maintenance/addSite.php +++ b/maintenance/addSite.php @@ -11,7 +11,7 @@ require_once $basePath . '/maintenance/Maintenance.php'; * * @since 1.29 * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Florian Schmidt */ class AddSite extends Maintenance { diff --git a/maintenance/exportSites.php b/maintenance/exportSites.php index 736b12b3047c..4456c754f813 100644 --- a/maintenance/exportSites.php +++ b/maintenance/exportSites.php @@ -9,7 +9,7 @@ require_once $basePath . '/maintenance/Maintenance.php'; * * @since 1.25 * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Daniel Kinzler */ class ExportSites extends Maintenance { diff --git a/maintenance/importSites.php b/maintenance/importSites.php index be6cc052b1ab..6859eb4c9668 100644 --- a/maintenance/importSites.php +++ b/maintenance/importSites.php @@ -9,7 +9,7 @@ require_once $basePath . '/maintenance/Maintenance.php'; * * @since 1.25 * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Daniel Kinzler */ class ImportSites extends Maintenance { diff --git a/maintenance/parse.php b/maintenance/parse.php index b87a716f622d..cf2fe541f22f 100644 --- a/maintenance/parse.php +++ b/maintenance/parse.php @@ -46,7 +46,7 @@ * @file * @ingroup Maintenance * @author Antoine Musso <hashar at free dot fr> - * @license GNU General Public License 2.0 or later + * @license GPL-2.0-or-later */ require_once __DIR__ . '/Maintenance.php'; diff --git a/maintenance/reassignEdits.php b/maintenance/reassignEdits.php index 44589016afeb..d90a4a75eb73 100644 --- a/maintenance/reassignEdits.php +++ b/maintenance/reassignEdits.php @@ -20,7 +20,7 @@ * @file * @ingroup Maintenance * @author Rob Church <robchur@gmail.com> - * @license GNU General Public Licence 2.0 or later + * @license GPL-2.0-or-later */ use Wikimedia\Rdbms\IDatabase; diff --git a/maintenance/showSiteStats.php b/maintenance/showSiteStats.php index 08f009bd888e..1adb13ef41cd 100644 --- a/maintenance/showSiteStats.php +++ b/maintenance/showSiteStats.php @@ -26,7 +26,7 @@ * @author Brion Vibber * @author Rob Church <robchur@gmail.com> * - * @license GNU General Public License 2.0 or later + * @license GPL-2.0-or-later */ require_once __DIR__ . '/Maintenance.php'; diff --git a/tests/phpunit/includes/actions/ActionTest.php b/tests/phpunit/includes/actions/ActionTest.php index b96b49143e0d..9c8b957b2741 100644 --- a/tests/phpunit/includes/actions/ActionTest.php +++ b/tests/phpunit/includes/actions/ActionTest.php @@ -6,7 +6,7 @@ * @group Action * @group Database * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Thiemo Kreuz */ class ActionTest extends MediaWikiTestCase { diff --git a/tests/phpunit/includes/htmlform/HTMLFormTest.php b/tests/phpunit/includes/htmlform/HTMLFormTest.php index e20cf9420103..05e15a33d68a 100644 --- a/tests/phpunit/includes/htmlform/HTMLFormTest.php +++ b/tests/phpunit/includes/htmlform/HTMLFormTest.php @@ -3,7 +3,7 @@ /** * @covers HTMLForm * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Gergő Tisza * @author Thiemo Mättig */ diff --git a/tests/phpunit/includes/jobqueue/JobQueueMemoryTest.php b/tests/phpunit/includes/jobqueue/JobQueueMemoryTest.php index bf8603dd9e4a..b2e7ea4e55b1 100644 --- a/tests/phpunit/includes/jobqueue/JobQueueMemoryTest.php +++ b/tests/phpunit/includes/jobqueue/JobQueueMemoryTest.php @@ -5,7 +5,7 @@ * * @group JobQueue * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Thiemo Kreuz */ class JobQueueMemoryTest extends PHPUnit\Framework\TestCase { diff --git a/tests/phpunit/includes/jobqueue/jobs/CategoryMembershipChangeJobTest.php b/tests/phpunit/includes/jobqueue/jobs/CategoryMembershipChangeJobTest.php index 5960a16b0054..1f73324931bf 100644 --- a/tests/phpunit/includes/jobqueue/jobs/CategoryMembershipChangeJobTest.php +++ b/tests/phpunit/includes/jobqueue/jobs/CategoryMembershipChangeJobTest.php @@ -6,7 +6,7 @@ * @group JobQueue * @group Database * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Addshore */ class CategoryMembershipChangeJobTest extends MediaWikiTestCase { diff --git a/tests/phpunit/includes/jobqueue/jobs/ClearUserWatchlistJobTest.php b/tests/phpunit/includes/jobqueue/jobs/ClearUserWatchlistJobTest.php index 6ae7d605274e..27cae8aa2f4e 100644 --- a/tests/phpunit/includes/jobqueue/jobs/ClearUserWatchlistJobTest.php +++ b/tests/phpunit/includes/jobqueue/jobs/ClearUserWatchlistJobTest.php @@ -7,7 +7,7 @@ use MediaWiki\MediaWikiServices; * @group JobQueue * @group Database * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Addshore */ class ClearUserWatchlistJobTest extends MediaWikiTestCase { diff --git a/tests/phpunit/includes/specials/SpecialBlankPageTest.php b/tests/phpunit/includes/specials/SpecialBlankPageTest.php index e0d059fb6781..879acfece106 100644 --- a/tests/phpunit/includes/specials/SpecialBlankPageTest.php +++ b/tests/phpunit/includes/specials/SpecialBlankPageTest.php @@ -1,7 +1,7 @@ <?php /** - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Addshore * * @covers SpecialBlankpage diff --git a/tests/phpunit/includes/specials/SpecialPageTestBase.php b/tests/phpunit/includes/specials/SpecialPageTestBase.php index 274a23c4cd1a..4809e1b8742e 100644 --- a/tests/phpunit/includes/specials/SpecialPageTestBase.php +++ b/tests/phpunit/includes/specials/SpecialPageTestBase.php @@ -5,7 +5,7 @@ * * @since 1.26 * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Jeroen De Dauw < jeroendedauw@gmail.com > * @author Daniel Kinzler * @author Addshore diff --git a/tests/phpunit/includes/specials/SpecialShortpagesTest.php b/tests/phpunit/includes/specials/SpecialShortpagesTest.php index f799b1158677..236c5c4e58bc 100644 --- a/tests/phpunit/includes/specials/SpecialShortpagesTest.php +++ b/tests/phpunit/includes/specials/SpecialShortpagesTest.php @@ -5,7 +5,7 @@ * * @since 1.30 * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later */ class SpecialShortpagesTest extends MediaWikiTestCase { |