I would like to know how and and where do I edit a MediaWiki template so that I can add text to the end of the license text. (The "Creative Commons" content, highlighted in Red.)
So far I tried to edit several "MediaWiki" including "MediaWiki:License" and "MediaWiki:Footer" but to no avail.
Here's what I would like to do, this is from the actual MediaWiki page:
That message can be altered from MediaWiki:Copyright
(and MediaWiki:Copyright/ar
, etc. for every other language than your default language).
To find out the names (and corresponding MediaWiki namespace pages) for user interface messages, append ?uselang=qqx
to the end of the url, e.g. https://en.wikipedia.org/wiki/Mainpage?uselang=qqx
If you want to keep the message, but change just the license text, that is done in LocalSettings.php
, using $wgRightsText
:
$wgRightsText = "Open Database license 1.0";
(Other license specific settings are listed here.)
Assuming you chose one of the standard licenses, you should only set $wgRightsUrl
in your LocalSettings.php
, for instance
$wgRightsUrl = 'http://creativecommons.org/licenses/by-sa/3.0/';
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With