Extension:LicenseByCategory
From WikiEducator
LicenseByCategory Release status: beta | |
---|---|
Implementation | User interface |
Description | Changes the license in header and footer when special CC-BY, CC0, or PD categories detected. |
Author(s) | JimTittslerTalk |
Last Version | 1.0 (2011-05-31) |
MediaWiki | 1.15.5 with patch |
License | GPL2 |
Download | git [1] |
What does this extension do?
The LicenseByCategory extension allows the page author to change the license in the header and footer of the page when the special CC-BY, CC0 or PD categories are detected.
Usage
Mark pages that should not get the default CC-BY-SA license with the appropriate category tag.
Example:
[[Category:CC-BY]]
Installation
- Install the extension from git.
- git checkout master
- Add the line
require_once("$IP/extensions/licensebycategory/LicenseByCategory.php");
to your LocalSettings.php file. - Optionally apply the OutputPage.php.patch so that only a single license line is added to the header.