Page MenuHomePhabricator

Add extension licenses to extension.json so they appear correctly on Special:Version
Open, MediumPublic

Description

Some MediaWiki extensions are missing the license-name field in the file extension.json or in $wgExtensionCredits. This means no license is shown for them in Special:Version (e.g. https://en.wikipedia.org/wiki/Special:Version) or the license is displayed as 'License', instead of something like for example GPL-2.0-or-later.

To fix this, we need to make changes like https://gerrit.wikimedia.org/r/#/c/264553/ in the relevant extensions.

  1. Check the existing LICENSE or COPYING file of the extension to verify which license the extension has.
  2. Look up the corresponding value of that license in https://spdx.org/licenses/
  3. Add that value as the value of the license-name parameter to the file extension.json.
  4. Provide your patch for that extension in Wikimedia Gerrit. See https://www.mediawiki.org/wiki/Gerrit/Tutorial for how to set up Git and Gerrit.

Note that some extensions are possibly missing a LICENSE or COPYING file, which would result in a broken license link.

Note: the 'extensions' listed as wikibase or data values is outside scope of this task. Most of these are actually libraries and instead need to be moved to the libraries section of SpecialVersion. (see: T123937)

Details

ProjectBranchLines +/-Subject
mediawiki/extensions/GoogleDocTagmaster+340 -0
mediawiki/extensions/Tabbermaster+675 -0
mediawiki/extensions/AkismetKlikmaster+8 -0
mediawiki/extensions/ArticleRatingsmaster+340 -0
mediawiki/extensions/SimpleSAMLphpmaster+19 -0
mediawiki/extensions/MintyDocsmaster+340 -0
mediawiki/extensions/Athenamaster+675 -0
mediawiki/extensions/GooglePlacesmaster+340 -0
mediawiki/extensions/GoogleGeocodemaster+340 -0
mediawiki/extensions/DiscussionThreadingmaster+340 -0
mediawiki/extensions/SecureSessionsmaster+675 -0
mediawiki/extensions/Contributorsmaster+340 -0
mediawiki/extensions/NukeDPLmaster+676 -0
mediawiki/extensions/AJAXPollmaster+398 -0
mediawiki/extensions/AJAXPollmaster+382 -69
mediawiki/extensions/AJAXPollmaster+142 -0
mediawiki/extensions/Commentsmaster+339 -0
mediawiki/extensions/PoolCountermaster+1 -0
mediawiki/extensions/Pushmaster+1 -0
mediawiki/extensions/QuickGVmaster+1 -0
mediawiki/extensions/WikipediaExtractsmaster+1 -0
mediawiki/extensions/PronunciationRecordingmaster+1 -0
mediawiki/extensions/TwnMainPagemaster+1 -0
mediawiki/extensions/SemanticTitlemaster+1 -0
mediawiki/extensions/TestLanguageNameGrammarmaster+1 -0
mediawiki/extensions/PluggableAuthmaster+1 -0
mediawiki/extensions/HoverGallerymaster+1 -0
mediawiki/extensions/OpenLayersmaster+1 -0
mediawiki/extensions/ExternalArticlesmaster+1 -0
mediawiki/extensions/CommentStreamsmaster+1 -0
mediawiki/extensions/EtherpadLitemaster+366 -0
mediawiki/extensions/I18nTagsmaster+340 -0
mediawiki/extensions/UrlGetParametersmaster+359 -11
mediawiki/extensions/FlickrAPImaster+2 -1
mediawiki/extensions/DisplayTitlemaster+1 -0
mediawiki/extensions/PipeEscapemaster+350 -5
mediawiki/extensions/AddThismaster+345 -4
mediawiki/extensions/MediaWikiFarmmaster+674 -0
mediawiki/extensions/MediaWikiChatmaster+340 -0
mediawiki/extensions/OpenBadgesmaster+349 -39
mediawiki/extensions/AWSmaster+343 -38
mediawiki/extensions/LinkTargetmaster+342 -0
mediawiki/extensions/EditAccountmaster+340 -0
mediawiki/extensions/ApprovedRevsmaster+342 -2
mediawiki/extensions/VIKImaster+46 -20
mediawiki/extensions/VikiSemanticTitlemaster+38 -11
mediawiki/extensions/VikiTitleIconmaster+38 -14
mediawiki/extensions/SemanticGenealogymaster+22 -59
mediawiki/extensions/Awesomenessmaster+23 -47
mediawiki/extensions/AntiBotmaster+340 -36
mediawiki/extensions/SemanticWebBrowsermaster+715 -59
mediawiki/extensions/RSSmaster+1 -0
mediawiki/extensions/GeoCrumbsmaster+1 -0
mediawiki/extensions/DisableAccountmaster+1 -0
mediawiki/extensions/CreditsSourcemaster+1 -0
mediawiki/extensions/DoubleWikimaster+1 -0
mediawiki/extensions/DynamicSidebarmaster+1 -0
mediawiki/extensions/Listingsmaster+1 -0
mediawiki/extensions/ShortUrlmaster+1 -0
mediawiki/extensions/SubPageList3master+1 -0
mediawiki/extensions/UnicodeConvertermaster+1 -0
mediawiki/extensions/WikimediaIncubatormaster+1 -0
mediawiki/extensions/SemanticDependencymaster+28 -41
mediawiki/extensions/DonationInterfacemaster+1 -0
mediawiki/extensions/LandingCheckmaster+1 -0
mediawiki/extensions/FundraiserLandingPagemaster+1 -0
mediawiki/extensions/TocTreemaster+1 -0
mediawiki/extensions/SemanticHighchartsmaster+8 -43
mediawiki/extensions/SemanticExpressivenessmaster+17 -50
mediawiki/extensions/SemanticACLmaster+357 -44
mediawiki/extensions/RegexFunmaster+32 -48
mediawiki/extensions/RandomSelectionmaster+353 -4
mediawiki/extensions/RightFunctionsmaster+57 -50
mediawiki/extensions/ParserFunmaster+13 -44
mediawiki/extensions/LogoFunctionsmaster+359 -50
mediawiki/extensions/JSBreadCrumbsmaster+349 -44
mediawiki/extensions/HashTablesmaster+15 -47
mediawiki/extensions/Wikidatamaster+2 -1
mediawiki/extensions/MyVariablesmaster+348 -5
mediawiki/extensions/PageSchemasmaster+2 -1
mediawiki/extensions/ElectronPdfServicemaster+339 -0
mediawiki/extensions/DateDiffmaster+467 -17
mediawiki/extensions/Scribuntomaster+378 -1
mediawiki/extensions/SiteMatrixmaster+1 -0
mediawiki/extensions/XAnalyticsmaster+1 -0
mediawiki/extensions/AccessControlmaster+373 -16
mediawiki/extensions/ImageMapmaster+0 -0
mediawiki/extensions/GWToolsetmaster+601 -114
mediawiki/extensions/SemanticImageInputmaster+32 -30
mediawiki/extensions/SideBarMenumaster+6 -3
mediawiki/extensions/WikimediaMessagesmaster+5 -1
mediawiki/extensions/BlockAndNukemaster+22 -18
mediawiki/extensions/MapSourcesmaster+346 -7
mediawiki/extensions/MaintenanceShellmaster+340 -0
mediawiki/extensions/PoolCountermaster+1 -0
mediawiki/extensions/XAnalyticsmaster+340 -0
mediawiki/extensions/LastUserLoginmaster+9 -3
mediawiki/extensions/AuthorProtectmaster+341 -1
mediawiki/extensions/GraphVizmaster+2 -1
mediawiki/extensions/Elasticamaster+1 -0
mediawiki/extensions/SpamBlacklistmaster+339 -0
mediawiki/extensions/googleAnalyticsmaster+344 -1
mediawiki/extensions/StalkerLogmaster+348 -13
mediawiki/extensions/ImageMapmaster+2 -1
mediawiki/extensions/TrustedXFFmaster+12 -6
mediawiki/extensions/ExtensionDistributormaster+1 -0
mediawiki/extensions/SiteMatrixmaster+1 -0
mediawiki/extensions/CodeReviewmaster+1 -0
mediawiki/extensions/TextExtractsmaster+1 -0
mediawiki/extensions/DismissableSiteNoticemaster+339 -0
mediawiki/extensions/DeleteBatchmaster+347 -8
mediawiki/extensions/NoTitlemaster+680 -2
mediawiki/extensions/WikiForummaster+682 -3
mediawiki/extensions/Arraysmaster+9 -4
mediawiki/extensions/Variablesmaster+8 -2
mediawiki/extensions/Lockdownmaster+346 -3
mediawiki/extensions/BreadCrumbsmaster+28 -25
mediawiki/extensions/HTMLetsmaster+342 -2
mediawiki/extensions/LocalisationUpdatemaster+339 -0
mediawiki/extensions/Scribuntomaster+1 -0
mediawiki/extensions/NewUserMessagemaster+341 -1
mediawiki/extensions/intersectionmaster+352 -8
mediawiki/extensions/Editcountmaster+340 -0
mediawiki/extensions/GlobalUserPagemaster+122 -0
mediawiki/extensions/JsonConfigmaster+1 -0
mediawiki/extensions/BlogPagemaster+340 -0
mediawiki/extensions/GettingStartedmaster+1 -0
mediawiki/extensions/SecurePollmaster+1 -0
mediawiki/extensions/timelinemaster+1 -0
mediawiki/extensions/CategoryTreemaster+1 -0
mediawiki/extensions/Scribuntomaster+1 -0
mediawiki/extensions/Scribuntomaster+1 -0
mediawiki/extensions/SpamBlacklistmaster+1 -0
mediawiki/extensions/MathSearchmaster+340 -0
mediawiki/extensions/JsonConfigmaster+340 -1
mediawiki/extensions/LogEntrymaster+340 -0
mediawiki/extensions/MediaWikiChatmaster+340 -0
mediawiki/extensions/AntiSpoofmaster+1 -0
mediawiki/extensions/LiquidThreadsmaster+1 -0
Show related patches Customize query in gerrit

Related Objects

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

Change 470164 had a related patch set uploaded (by Bjornskjald; owner: Bjornskjald):
[mediawiki/extensions/PronunciationRecording@master] Add license-name field to extension.json

https://gerrit.wikimedia.org/r/470164

Change 470546 had a related patch set uploaded (by Rafidaslam; owner: Rafid Aslam):
[mediawiki/extensions/QuickGV@master] extension.json: Add license-name field

https://gerrit.wikimedia.org/r/470546

Change 470548 had a related patch set uploaded (by Rafidaslam; owner: Rafid Aslam):
[mediawiki/extensions/Push@master] extension.json: Add license-name field

https://gerrit.wikimedia.org/r/470548

Change 470588 had a related patch set uploaded (by Rafidaslam; owner: Rafid Aslam):
[mediawiki/extensions/WikipediaExtracts@master] extension.json: Add license-name field

https://gerrit.wikimedia.org/r/470588

Change 470589 had a related patch set uploaded (by Rafidaslam; owner: Rafid Aslam):
[mediawiki/extensions/TwnMainPage@master] extension.json: Add license-name field

https://gerrit.wikimedia.org/r/470589

xSavitar updated the task description. (Show Details)Oct 30 2018, 1:01 PM
rafidaslam updated the task description. (Show Details)Oct 30 2018, 1:08 PM
rafidaslam updated the task description. (Show Details)

Change 470589 merged by jenkins-bot:
[mediawiki/extensions/TwnMainPage@master] extension.json: Add license-name field

https://gerrit.wikimedia.org/r/470589

xSavitar updated the task description. (Show Details)Oct 30 2018, 2:18 PM
xSavitar updated the task description. (Show Details)Oct 30 2018, 4:03 PM

Change 470164 merged by jenkins-bot:
[mediawiki/extensions/PronunciationRecording@master] Add license-name field to extension.json

https://gerrit.wikimedia.org/r/470164

Change 470588 merged by jenkins-bot:
[mediawiki/extensions/WikipediaExtracts@master] extension.json: Add license-name field

https://gerrit.wikimedia.org/r/470588

Change 470546 merged by jenkins-bot:
[mediawiki/extensions/QuickGV@master] extension.json: Add license-name field

https://gerrit.wikimedia.org/r/470546

Change 470548 merged by jenkins-bot:
[mediawiki/extensions/Push@master] extension.json: Add license-name field

https://gerrit.wikimedia.org/r/470548

Change 266038 abandoned by Krinkle:
[WIP] Add license name to extension.json

Reason:
Replaced by 1eb98ce63c4c7010233 and 5b7e57dc1ab49c1.

https://gerrit.wikimedia.org/r/266038

Krinkle updated the task description. (Show Details)Feb 8 2019, 8:27 PM

Change 264793 merged by jenkins-bot:
[mediawiki/extensions/Comments@master] Add license-name to extension.json

https://gerrit.wikimedia.org/r/264793

Contributors is missing a LICENSE or COPYING file but the license information is provided on its wiki page Extension:Contributors. Should I add the COPYING file too or just the missing license-name line?

Yes @jeropbrenda, do both! Go for it :)

Add the appropriate COPYING file that matches the GNU General Public License 2.0 or later license and then add the missing license-name in extension.json.

Change 498026 had a related patch set uploaded (by Jeropbrendawm; owner: Jeropbrendawm):
[mediawiki/extensions/Contributors@master] Add license information

https://gerrit.wikimedia.org/r/498026

@D3r1ck01 Thanks:)

Change 498061 had a related patch set uploaded (by Jeropbrendawm; owner: Jeropbrendawm):
[mediawiki/extensions/ArticleRatings@master] Add license information

https://gerrit.wikimedia.org/r/498061

Change 498068 had a related patch set uploaded (by Jeropbrendawm; owner: Jeropbrendawm):
[mediawiki/extensions/DiscussionThreading@master] Add license information

https://gerrit.wikimedia.org/r/498068

Change 498070 had a related patch set uploaded (by Jeropbrendawm; owner: Jeropbrendawm):
[mediawiki/extensions/GoogleDocTag@master] Add license information

https://gerrit.wikimedia.org/r/498070

Change 498071 had a related patch set uploaded (by Jeropbrendawm; owner: Jeropbrendawm):
[mediawiki/extensions/GoogleGeocode@master] Add license information

https://gerrit.wikimedia.org/r/498071

Change 498072 had a related patch set uploaded (by Jeropbrendawm; owner: Jeropbrendawm):
[mediawiki/extensions/GooglePlaces@master] Add license information

https://gerrit.wikimedia.org/r/498072

Change 498074 had a related patch set uploaded (by Jeropbrendawm; owner: Jeropbrendawm):
[mediawiki/extensions/MintyDocs@master] Add license information

https://gerrit.wikimedia.org/r/498074

Change 498075 had a related patch set uploaded (by Jeropbrendawm; owner: Jeropbrendawm):
[mediawiki/extensions/SecureSessions@master] Add license information

https://gerrit.wikimedia.org/r/498075

Change 498076 had a related patch set uploaded (by Jeropbrendawm; owner: Jeropbrendawm):
[mediawiki/extensions/Athena@master] Add license information

https://gerrit.wikimedia.org/r/498076

Change 498081 had a related patch set uploaded (by Jeropbrendawm; owner: Jeropbrendawm):
[mediawiki/extensions/Tabber@master] Add license information

https://gerrit.wikimedia.org/r/498081

Change 498323 had a related patch set uploaded (by Nikitrain; owner: Nikitrain):
[mediawiki/extensions/AJAXPoll@master] Add license information

https://gerrit.wikimedia.org/r/498323

Change 498323 abandoned by Nikitrain:
Add license information

https://gerrit.wikimedia.org/r/498323

Change 498325 had a related patch set uploaded (by Nikitrain; owner: Nikitrain):
[mediawiki/extensions/AJAXPoll@master] Add license information

https://gerrit.wikimedia.org/r/498325

Change 498335 had a related patch set uploaded (by Nikitrain; owner: Nikitrain):
[mediawiki/extensions/NukeDPL@master] Add license information

https://gerrit.wikimedia.org/r/498335

Change 498337 had a related patch set uploaded (by Nikitrain; owner: Nikitrain):
[mediawiki/extensions/AJAXPoll@master] Add license information

https://gerrit.wikimedia.org/r/498337

Change 498337 abandoned by Nikitrain:
Add license information

https://gerrit.wikimedia.org/r/498337

Change 498325 merged by jenkins-bot:
[mediawiki/extensions/AJAXPoll@master] Add license information

https://gerrit.wikimedia.org/r/498325

Change 498335 merged by jenkins-bot:
[mediawiki/extensions/NukeDPL@master] Add license information

https://gerrit.wikimedia.org/r/498335

Nikitrain updated the task description. (Show Details)Mar 31 2019, 1:00 PM

Change 498026 merged by jenkins-bot:
[mediawiki/extensions/Contributors@master] Add license information for Extension:Contributors

https://gerrit.wikimedia.org/r/498026

Change 498075 merged by jenkins-bot:
[mediawiki/extensions/SecureSessions@master] Add license information for Extension:SecureSessions

https://gerrit.wikimedia.org/r/498075

Gopavasanth updated the task description. (Show Details)Nov 9 2019, 2:57 PM
Gopavasanth updated the task description. (Show Details)Nov 9 2019, 3:32 PM
Gopavasanth updated the task description. (Show Details)Nov 9 2019, 3:43 PM
Gopavasanth updated the task description. (Show Details)Nov 9 2019, 3:46 PM
In T123943#5628300, @Zoranzoki21 wrote:

Anyone should check these patches and merge it: https://gerrit.wikimedia.org/r/#/q/owner:Jeropbrendawm+status:open

Change 498068 merged by jenkins-bot:
[mediawiki/extensions/DiscussionThreading@master] Add license information for Extension:DiscussionThreading

https://gerrit.wikimedia.org/r/498068

Change 498071 merged by jenkins-bot:
[mediawiki/extensions/GoogleGeocode@master] Add license information for Extension:GoogleGeoCode

https://gerrit.wikimedia.org/r/498071

Change 498072 merged by jenkins-bot:
[mediawiki/extensions/GooglePlaces@master] Add license information for Extension:GooglePlaces

https://gerrit.wikimedia.org/r/498072

Change 498076 merged by Umherirrender:
[mediawiki/extensions/Athena@master] Add license information for Extension:Athena

https://gerrit.wikimedia.org/r/498076

Change 498074 merged by jenkins-bot:
[mediawiki/extensions/MintyDocs@master] Add license information for Extension:MintyDocs

https://gerrit.wikimedia.org/r/498074

Kizule updated the task description. (Show Details)Dec 5 2019, 11:18 AM
Kizule updated the task description. (Show Details)Dec 5 2019, 4:13 PM

Change 554908 had a related patch set uploaded (by Zoranzoki21; owner: Zoranzoki21):
[mediawiki/extensions/SimpleSAMLphp@master] Add license for SimpleSAMLphp extension

https://gerrit.wikimedia.org/r/554908

Change 554908 merged by jenkins-bot:
[mediawiki/extensions/SimpleSAMLphp@master] Add license for SimpleSAMLphp extension

https://gerrit.wikimedia.org/r/554908

Kizule updated the task description. (Show Details)Dec 5 2019, 4:59 PM
Kizule updated the task description. (Show Details)

Change 498061 merged by Jforrester:
[mediawiki/extensions/ArticleRatings@master] Add license information for Extension:ArticleRatings

https://gerrit.wikimedia.org/r/498061

Ammarpad removed a subscriber: Ammarpad.Dec 5 2019, 8:16 PM

Change 558738 had a related patch set uploaded (by Jforrester; owner: Minhducsun2002):
[mediawiki/extensions/AkismetKlik@master] extension.json: Add license so it appears correctly on Special:Version

https://gerrit.wikimedia.org/r/558738

Change 558738 merged by jenkins-bot:
[mediawiki/extensions/AkismetKlik@master] extension.json: Add license so it appears correctly on Special:Version

https://gerrit.wikimedia.org/r/558738

Reedy updated the task description. (Show Details)May 6 2020, 10:15 PM
Reedy added a comment.May 6 2020, 10:19 PM

I removed the lists from the task description as they were out of date...

Would be interesting to get an up to date list

Change 498081 merged by jenkins-bot:
[mediawiki/extensions/Tabber@master] Add license information for Extension:Tabber

https://gerrit.wikimedia.org/r/498081

Change 498070 merged by jenkins-bot:
[mediawiki/extensions/GoogleDocTag@master] Add license information for Extension:GoogleDocTag

https://gerrit.wikimedia.org/r/498070