Last modified: 2011-07-29 00:27:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32106, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30106 - Explicitly disallow GPL v3
Explicitly disallow GPL v3
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-28 20:15 UTC by Neil Kandalgaonkar
Modified: 2011-07-29 00:27 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Indicate that MediaWiki is licensed only under GPL v2. Fixed link to GNU.org. (807 bytes, patch)
2011-07-28 20:15 UTC, Neil Kandalgaonkar
Details

Description Neil Kandalgaonkar 2011-07-28 20:15:56 UTC
Created attachment 8833 [details]
Indicate that MediaWiki is licensed only under GPL v2. Fixed link to GNU.org.

MediaWiki is licensed under GPL v2. 

GPL v3 is incompatible with GPL v2.[1]

An extension writer I work with recently committed some code under GPL v3. I am already telling him to fix this, since we already have the implicit ban on GPL v3 because we say that extensions must be under a compatible license.

But I noticed in the course of doing this that the README file says MediaWiki "it is licensed under the terms of the GNU General Public License, version 2 or later". This was added in 2005[2], well before it was known that GPL v3 was incompatible. So, we should fix this.

Patch attached - just making this bug so it gets a wider airing before I pull the trigger.

[1] http://gplv3.fsf.org/rms-why.html
[2] See r11770
Comment 1 Rob Lanphier 2011-07-28 20:20:08 UTC
I don't agree that we should go GPLv2 only, but I also think we should avoid incorporating GPLv3 code into our codebase unless/until such a time that we agree as a project to make the change.
Comment 2 Neil Kandalgaonkar 2011-07-28 21:01:50 UTC
(In reply to comment #1)
> I don't agree that we should go GPLv2 only, but I also think we should avoid
> incorporating GPLv3 code into our codebase unless/until such a time that we
> agree as a project to make the change.

We're not, the patch just removes the "or later" from the "GPL v2 or later".

GPLv3 is *already* excluded because it has to be a compatible license. This just makes it a bit clearer.
Comment 3 Brion Vibber 2011-07-28 23:18:38 UTC
MediaWiki is under "GPL v2 or later", so it's actually quite fine to write a GPLv3 extension I would imagine... it just means that the combination when you load them together is forced to GPLv3 as well.
Comment 4 Neil Kandalgaonkar 2011-07-28 23:27:44 UTC
(In reply to comment #3)
> MediaWiki is under "GPL v2 or later", so it's actually quite fine to write a
> GPLv3 extension I would imagine... it just means that the combination when you
> load them together is forced to GPLv3 as well.

Okay, RobLa and I just talked about this in person, and I think I understand it now. So we don't mind being open to GPLv3, in the sense that someone could write an extension that was GPLv3, and then the combination of MediaWiki plus that extension would be GPLv3.

However, as a matter of WMF policy, is it correct to assume that everyone who works for us should be writing GPLv2, or just saying "this extension is licensed under the same terms as MediaWiki"?
Comment 5 Neil Kandalgaonkar 2011-07-28 23:31:14 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > MediaWiki is under "GPL v2 or later", so it's actually quite fine to write a
> > GPLv3 extension I would imagine... it just means that the combination when you
> > load them together is forced to GPLv3 as well.
> 
> Okay, RobLa and I just talked about this in person, and I think I understand it
> now. So we don't mind being open to GPLv3, in the sense that someone could
> write an extension that was GPLv3, and then the combination of MediaWiki plus
> that extension would be GPLv3.
> 
> However, as a matter of WMF policy, is it correct to assume that everyone who
> works for us should be writing GPLv2

That is, GPL v2 or greater. Jeroen wants to abbreviate this as "@license GPL v2+"; I don't know if that actually has any meaning though.
Comment 6 Brion Vibber 2011-07-28 23:38:15 UTC
Yeah, pretty much all the code we're writing should be "GPLv2 or later" to match MediaWiki.

Occasional separate bits are sometimes MIT or 2-clause BSD or otherwise GPLv2-compatible-ish.
Comment 7 Rob Lanphier 2011-07-29 00:27:30 UTC
Re: "@license GPL v2+".  That makes enough sense to me, but I'm wondering under what context we need to be that frugal (as opposed to the clearer "GPL v2 or later").  It's not a huge deal either way.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links