Can I display part of the source code of an open source plugin’s with GPLv2 liscence?

I would like to publish part or full source code of one or more plugins (licensed under GPL, GPLv2, MIT or no license) in my website/blog. Website I am talking about is for everyone, free to use and free to copy code. Plus, is it okay if I do not provide any link to the source code/plugin? I will definitely give full credits to the developer.

2

  • GPL: You must provide full source code if you are providing compiled form. If you are not providing compiled form, you still can provide the source in full or any part of it. You must attach the license notice to it. I.e. even if you take few functions out of a source file, you have to put the copyright notice from the beginning of the original source before them and you have to have link on web/pack it with any archives for download.

  • MIT: You can do whatever you want with it except claim you wrote it yourself. You can even provide it under stricter license (this often happens if you combine it with GPL code).

  • “no license”: There is no such thing as “no license”. Any work subject to copyright may only be used with author’s permission. If there is no license notice attached, you have to contact the author and ask them.

    There is “public domain”, but non-US jurisdictions generally either don’t have that term or it only means works for which the copyright protection already expired. That’s why there are licenses like WTFPL, which is equivalent to “public domain”, but does not use that term.

Note that it’s actually questionable whether it’s allowed to put plugin for proprietary program under GPL since a plugin can be considered derived work of the program and GPL only excludes “system libraries”. I suppose the plugin itself can always have exception for the program it is plugin for, but it may not use pre-existing GPL code written without such exception (LGPL code is OK, because LGPL stops at dynamic link boundary and anything that qualifies as plugin is dynamically loaded).

3

Jan’s answer gives what you can do according to the various licenses. But I think you may have another option depending on exactly how you tend to use the code in your blog and how much of it.

US (and many other contries) copyright law contains a fair use clause. If you are providing commentary or critique of the code the fair use would give you the right to incorporate and cite copyrighted material without needing a license or the copyright holders permission. The main advantage here would be being able to omit the license details from the blog text.

As ever with these things there is a health dose of ‘it depends’ here and if you want to be sure that your use constitutes fair use then you need to consult a lawyer.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật