7,282
edits
Changes
New page: A feature of MediaWiki allows the Special:Upload Page to streamline licensing of images. Wikipedia's Upload Page has a Licensing drop down box below image summary. This feature is turned o...
A feature of MediaWiki allows the Special:Upload Page to streamline licensing of images. Wikipedia's Upload Page has a Licensing drop down box below image summary. This feature is turned off in default MediaWiki. To turn this feature on a sysop needs to edit Licenses in the Mediawiki namespace. Example:
[[MediaWiki:Licenses]]
Licenses expects a certain format in a wiki list.
<code><nowiki>
*subst:license 1|license 2|License text</nowiki><br><nowiki>
* Header 1:</nowiki><br><nowiki>
** cc-by-sa-2.5|Attribution ShareAlike 2.5
</nowiki></code>
Line 1 will produce "License text" and substitute the license 1 template in the image page and transclude license 2.<br>
Line 2 will show a greyed out header with text "Header 1:"<br>
Line 3 will produce "Attribution ShareAlike 2.5" and transclude template cc-by-sa-2.5 on the image page.
For detailed real world example, see http://en.wikipedia.org/wiki/MediaWiki:Licenses
==Examples==
* Unknown|I don't know exactly
* Free licenses:
** PD|PD: public domain
** CC-by-sa-2.5|Creative Commons Attribution ShareAlike 2.5
** GFDL|GFDL: GNU Free Documentation License
** GPL|GPL: GNU General Public License
** LGPL|LGPL: GNU Lesser General Public License
* Non-free license (exception):
** CopyrightByWikimedia|Wikimedia images
[[MediaWiki:Licenses]]
Licenses expects a certain format in a wiki list.
<code><nowiki>
*subst:license 1|license 2|License text</nowiki><br><nowiki>
* Header 1:</nowiki><br><nowiki>
** cc-by-sa-2.5|Attribution ShareAlike 2.5
</nowiki></code>
Line 1 will produce "License text" and substitute the license 1 template in the image page and transclude license 2.<br>
Line 2 will show a greyed out header with text "Header 1:"<br>
Line 3 will produce "Attribution ShareAlike 2.5" and transclude template cc-by-sa-2.5 on the image page.
For detailed real world example, see http://en.wikipedia.org/wiki/MediaWiki:Licenses
==Examples==
* Unknown|I don't know exactly
* Free licenses:
** PD|PD: public domain
** CC-by-sa-2.5|Creative Commons Attribution ShareAlike 2.5
** GFDL|GFDL: GNU Free Documentation License
** GPL|GPL: GNU General Public License
** LGPL|LGPL: GNU Lesser General Public License
* Non-free license (exception):
** CopyrightByWikimedia|Wikimedia images