License statement

Forum for all users to discuss the implementation and operation of the ChoralWiki at CPDL
bobnotts
Site Admin
Posts: 969
Joined: 11 Mar 2006 19:05
Location: Sheffield, UK

License statement

Postby bobnotts » 01 Dec 2012 22:28

All the content on cpdl.org is licensed under the CPDL license unless stated otherwise. However, I happened to notice at the bottom of every page it says "Content is available under ." How do we get this updated so it says "Content is available under the CPDL license." with a link to the license page?
Robert Nottingham
CPDL Administrator and Chair of the Board of Directors
User pageTalk page

choralia
Site Admin
Posts: 2662
Joined: 05 Mar 2006 19:57
Location: Rome, Italy
Contact:

Re: License statement

Postby choralia » 02 Dec 2012 14:47

bobnotts wrote:How do we get this updated so it says "Content is available under the CPDL license." with a link to the license page?

This can be done by setting appropriate variables in the MediaWiki configuration file LocalSettings.php:

Code: Select all

$wgRightsPage = 'ChoralWiki:Copyright'; # Set to the title of a wiki page that describes your license/copyright
$wgRightsText = 'the CPDL copyright license';

I've done it on the contributor wiki. New settings will propagate to the visitor wikis tomorrow.

Max

carlos
Site Admin
Posts: 1797
Joined: 19 Aug 2008 15:26
Location: São Paulo, Brasil

Re: License statement

Postby carlos » 03 Dec 2012 05:33

Hi Max, this can be accomplished more easily by changing the system message MediaWiki:Copyright
When set, this message overrides the configurations inside LocalSettings.php

This method presents two advantages: any admin can change the system message, even those without access to the LocalSettings.php file; besides, it accepts translations (under sub-pages, as usual). I've changed the system message in order to display the text suggested by Rob.

choralia
Site Admin
Posts: 2662
Joined: 05 Mar 2006 19:57
Location: Rome, Italy
Contact:

Re: License statement

Postby choralia » 03 Dec 2012 22:40

Thanks, Carlos. By the way, working on LocalSettings.php I found that it was necessary to comment out a couple of settings:

Code: Select all

# $wgRightsUrl = '';
# $wgRightsIcon = '';

otherwise the text associated to the copyright variable was repeated on the bottom-right of the page, nearby the "Powered by MediaWiki" icon. Very strange :?

Max

carlos
Site Admin
Posts: 1797
Joined: 19 Aug 2008 15:26
Location: São Paulo, Brasil

Re: License statement

Postby carlos » 04 Dec 2012 02:48

Hi again, Max!

That's strange indeed, even more so because I couldn't replicate your results. I experimented with various combinations of settings and skins but the copyright text was not duplicating for me. :/ (well, I shouldn't be sad, that's a good thing, right? lol)

bobnotts
Site Admin
Posts: 969
Joined: 11 Mar 2006 19:05
Location: Sheffield, UK

Re: License statement

Postby bobnotts » 09 Dec 2012 17:12

Great stuff, thanks guys :)
Robert Nottingham
CPDL Administrator and Chair of the Board of Directors
User pageTalk page


Return to “Operation and Implementation issues”

Who is online

Users browsing this forum: No registered users and 2 guests