Prepping for site default overrides of copyright/TOS statements for Wikimedia
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 24 Jun 2009 16:49:28 +0000 (16:49 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 24 Jun 2009 16:49:28 +0000 (16:49 +0000)
commit644cccdf394d7fcb99f564ea58b2f9fdd5ca2122
treede6645f71024c36ef8defb63b72dfecb26eeb948
parent1c9773bd015adbf8aedb3b1777f0e087906baf6f
Prepping for site default overrides of copyright/TOS statements for Wikimedia
sites with updated CC-BY-SA license... Messages now available in
WikimediaMessages extension for localization:
* wikimedia-copyright - page footer
* wikimedia-copyrightwarning - edit page, above summary/save button
* wikimedia-editpage-tos-summary - edit page, below summary/save button & above edittools

Initial English defaults are taken from
http://meta.wikimedia.org/wiki/Licensing_update/Implementation

Ariel's search for other copyright-related messages looks fairly clean,
so we should be good here for now as $wgRightsText/$wgRightsUrl are
already updated.

Messages are overridden using new hooks, which can also be used to switch the
messages based on title or namespace -- this may be desirable for sites such
as mediawiki.org which keep some namespaces PD etc.

Use of the overridden messages by WikimediaMessages is switched in when
$wgRightsUrl is set to 'http://creativecommons.org/licenses/by-sa/3.0/'
docs/hooks.txt
includes/EditPage.php
includes/Skin.php
languages/messages/MessagesEn.php