Licensing: Difference between revisions

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
The Wikipedia project underwent a [https://en.wikipedia.org/wiki/GNU_Free_Documentation_License licensing update] in 2008/2009 from [https://gnu.org/licenses/fdl.html GFDL] to dual-licensing scheme including the non-compatible [https://creativecommons.org/licenses/by-sa/3.0/ CC-BY-SA].   
The Wikipedia project underwent a [https://en.wikipedia.org/wiki/GNU_Free_Documentation_License licensing update] in 2008/2009 from [https://gnu.org/licenses/fdl.html GFDL] to dual-licensing scheme including the non-compatible [https://creativecommons.org/licenses/by-sa/3.0/ CC-BY-SA].   


In 2016, I'm noticing that there are some quirks in the software that I'm still investigating, so I've got notes here.  Basically, I want to simply figure out whether there are any issues to implementors / site Administrators. '''When setting up a fresh install of MediaWiki; or upgrading a previous installation; is there anything to do with regard to the licensing templates or interface messages so that [[Special:Upload]] "just works"?''' One oddity that I found was that there were a bunch of "self-published" options available in the licensing dropdown, however they rely on a template named 'self' which was not present in this wiki.  It is not a trivial exercise to export/import the template from mediawiki.org nor wikipedia.com.  Because of the complex nature of these licensing templates, it is not possible to "copy" the template text.
In 2016, I'm noticing that there are some quirks in the software that I'm still investigating, so I've got notes here.  Basically, I want to simply figure out whether there are any issues to implementors / site Administrators. '''When setting up a fresh install of MediaWiki; or upgrading a previous installation; is there anything to do with regard to the licensing templates or interface messages so that [[Special:Upload]] "just works"?''' One oddity that I found was that there were a bunch of "self-published" options available in the licensing dropdown, however they rely on a template named 'self' which was not present in this wiki.  It is not a trivial exercise to export/import that template from mediawiki.org nor wikipedia.com.  Because of the complex nature of these licensing templates, it is not possible to "copy" the template text.


Ref:
Ref:
Line 32: Line 32:


=== Solution ===
=== Solution ===
The simplest workaround I could come up with on short notice was to export the category 'License_templates' from mediawiki.org and import them here.
The simplest solution I found was to export (using [[mw:Special:Export]]) the category '[[mw:Category:License templates]]' from mediawiki.org. The category includes 30+ templates and modules. Be sure to tick the box that says "Include templates". This will generate an xml file for download. Then, import that file (using [[Special:Import]]) on your wiki (as admin user).
<pre>
 
Template:BSD 1 revision
Note to self: look at the https://www.mediawiki.org/wiki/Extension:UploadWizard for ways to improve https://www.mediawiki.org/wiki/Extension:Html2Wiki in terms of incorporating license templates into the extension.
Template:PD Help Page 1 revision
Template:MIT 1 revision
Template:PD 1 revision
Template:LGPL 1 revision
Template:PD-self 1 revision
Template:Cc-by-sa-3.0 1 revision
Template:Free screenshot 1 revision
Template:Cc-by-3.0 1 revision
Template:Unknown copyright-notice 1 revision
Template:FAL 1 revision
Template:PD-textlogo 1 revision
Template:Cc-by-4.0 1 revision
Template:Cc-by-sa-4.0 1 revision
Template:GFDL 1 revision
Template:Unknown copyright 1 revision
Template:GPL 1 revision
Template:Cc-by-sa-2.5 1 revision
Template:BSD/doc 1 revision
Template:Documentation 1 revision
Template:Documentation subpage 1 revision
Template:File other 1 revision
Template:Image other 1 revision
Template:Mbox 1 revision
Template:Tl 1 revision
Template:Tlx 1 revision
Module:Arguments 1 revision
Module:Category handler 1 revision
Module:Category handler/blacklist 1 revision
Module:Category handler/config 1 revision
Module:Category handler/data 1 revision
Module:Category handler/shared 1 revision
Module:Documentation 1 revision
Module:Documentation/config 1 revision
Module:Message box 1 revision
Module:Message box/configuration 1 revision
Module:Namespace detect/config 1 revision
Module:Namespace detect/data 1 revision
Module:No globals 1 revision
Module:Yesno 1 revision
Template:Dir 1 revision
Template:GetFallback 1 revision
Template:Int 1 revision
Template:LangSwitch 1 revision
Template:Langcat 1 revision
Template:Languages 1 revision
Template:Languages/Lang 1 revision
Template:Languages/Title 1 revision
Template:Nmbox 1 revision
Template:PD Help Page/core/en 1 revision
Template:Pagelang 1 revision
Template:Translation 1 revision
Template:Uselang 1 revision
Module:Template translation 1 revision
Template:Category 1 revision
Template:Help/Category 1 revision
Template:Help/If en 1 revision
Template:Imbox 1 revision
Template:PD/doc 1 revision
Template:Pp-meta 1 revision
Template:Pp-meta/pagetype 1 revision
Template:Pp-template 1 revision
Template:TNTN No revisions imported (all were either already present, or skipped due to errors).
Template:Tlx2 1 revision
Template:Translatable template name 1 revision
Template:Free screenshot/doc 1 revision
Template:Cc-by-3.0/doc 1 revision
Template:File title 1 revision
Template:Unknown copyright-notice/doc 1 revision
Template:- 1 revision
</pre>


Perhaps a better solution, with work to investigate how they do it, is to look at the https://www.mediawiki.org/wiki/Extension:UploadWizard extension.  At the very least, it's worth looking at for improvements to the https://www.mediawiki.org/wiki/Extension:Html2Wiki extension.
[[Category:Wiki]]
[[Category:Wiki]]
[[Category:Legal]]
[[Category:Legal]]