Page MenuHomePhabricator

Make Special:Version/License support multiple license files in a repo
Closed, ResolvedPublic

Description

Special:Version/License only displays one file from a repo.. When it's possible for a repo to have many as per https://spdx.org/ids-how (AND OR etc)

Event Timeline

Change 593813 had a related patch set uploaded (by Reedy; owner: Reedy):
[mediawiki/core@master] [WIP] registration: Allow arrays for license-name

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

Seems redundant with the inline syntax: https://spdx.org/ids-how

Curious. If that’s the case, does MW actually support it? I’m guessing not?

Change 593813 abandoned by Reedy:
[WIP] registration: Allow arrays for license-name

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

Seems redundant with the inline syntax: https://spdx.org/ids-how

Curious. If that’s the case, does MW actually support it? I’m guessing not?

I mean the parsing out/splitting etc...

Reedy renamed this task from Allow license-name to take an array of SPDX identifier strings to Improve license-name support of SPDX license expressions.May 2 2020, 11:39 AM
Reedy removed a project: Patch-For-Review.

Change 593895 had a related patch set uploaded (by Reedy; owner: Reedy):
[mediawiki/core@master] tests: Add test file to test SPDX license expressions

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

Change 593901 had a related patch set uploaded (by Reedy; owner: Reedy):
[mediawiki/core@master] Allow extensions (et al) to have multiple LICENSE/COPYING files

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

Change 593901 had a related patch set uploaded (by Reedy; owner: Reedy):
[mediawiki/core@master] Allow extensions (et al) to have multiple LICENSE/COPYING files

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

Is it worth some sort of header/title between the licenses?

Screenshot 2020-05-02 at 13.32.37.png (476×2 px, 153 KB)

Obviously one would go at the top too...

Would the filename suffice? In this case == MIT-COPYING ==

Reedy renamed this task from Improve license-name support of SPDX license expressions to Make Special:Version/License support multiple license files in a repo.May 2 2020, 12:58 PM
Reedy edited projects, added MediaWiki-Special-pages; removed MediaWiki-Configuration.
Reedy updated the task description. (Show Details)

Change 593895 merged by jenkins-bot:
[mediawiki/core@master] tests: Add test file to test SPDX license expressions

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

Change 593901 merged by jenkins-bot:
[mediawiki/core@master] Allow extensions (et al) to have multiple LICENSE/COPYING files

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

Reedy claimed this task.