Aude has uploaded a new change for review. https://gerrit.wikimedia.org/r/238125
Change subject: Remove (broken) Wikidata-specific SkinCopyrightFooter hook handler ...................................................................... Remove (broken) Wikidata-specific SkinCopyrightFooter hook handler This causes the footer copyright in Wikidata's main namespace to be: <creative commons="" public="" domain="" 1.0=""></creative> We already have a hook handler for the copyright message in the WikimediaMessages extension and that works. Bug: T112520 Change-Id: If121aef742510c8009ca241576342035fcc4206d --- M wmf-config/CommonSettings.php 1 file changed, 0 insertions(+), 11 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config refs/changes/25/238125/1 diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php index 7a21407..02d9c91 100755 --- a/wmf-config/CommonSettings.php +++ b/wmf-config/CommonSettings.php @@ -2955,17 +2955,6 @@ return true; }; -// T46617 -if ( in_array( $wgDBname, array( 'wikidatawiki', 'testwikidatawiki' ) ) ) { - $wgHooks['SkinCopyrightFooter'][] = function( $title, $type, &$msg, &$link, &$forContent ) { - if ( $title->getNamespace() === NS_MAIN ) { - $msg = 'Creative Commons Public Domain 1.0'; - $link = '//creativecommons.org/publicdomain/zero/1.0/'; - } - return true; - }; -} - $wgExemptFromUserRobotsControl = array_merge( $wgContentNamespaces, $wmgExemptFromUserRobotsControlExtra ); // additional "language names", adding to Names.php data -- To view, visit https://gerrit.wikimedia.org/r/238125 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If121aef742510c8009ca241576342035fcc4206d Gerrit-PatchSet: 1 Gerrit-Project: operations/mediawiki-config Gerrit-Branch: master Gerrit-Owner: Aude <aude.w...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits