From 061552c32b332565d270439b058282a48e52c519 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 26 May 2011 00:57:54 +0000 Subject: [PATCH] * (bug 29144) Move action=dublincore and action=creativecommons to extensions Add back links for metadata in --- RELEASE-NOTES-1.19 | 4 ++++ includes/Metadata.php | 7 ------- includes/OutputPage.php | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index 67f85cd5f0..b6b87ca724 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -18,6 +18,10 @@ production. * LogReader and LogViewer classes (deprecated in 1.14) have now been removed * (bug 26033) Added $wgArticleCountMethod to select the method to use to say whether a page is an article or not. $wgUseCommaCount is now deprecated. +* $wgEnableDublinCoreRdf and $wgEnableCreativeCommonsRdf no longer work in core, + and the functionality has been moved to the relevant extensions. See + http://www.mediawiki.org/wiki/Extension:DublinCoreRdf and + http://www.mediawiki.org/wiki/Extension:CreativeCoreRdf as appropriate === New features in 1.19 === * (bug 28916) A way to to toggle mw.config legacy globals settings from diff --git a/includes/Metadata.php b/includes/Metadata.php index a7e76f90b4..6439ef318f 100644 --- a/includes/Metadata.php +++ b/includes/Metadata.php @@ -1,6 +1,5 @@ . * @@ -35,9 +34,6 @@ abstract class RdfMetaData { public abstract function show(); - /** - * - */ protected function setup() { global $wgOut, $wgRequest; @@ -55,9 +51,6 @@ abstract class RdfMetaData { } } - /** - * - */ protected function reallyFullUrl() { return $this->mArticle->getTitle()->getFullURL(); } diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 26e416cbe7..0838e2a82f 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -307,7 +307,7 @@ class OutputPage { * * @return String */ - private function getMetadataAttribute() { + public function getMetadataAttribute() { # note: buggy CC software only reads first "meta" link static $haveMeta = false; if ( $haveMeta ) { -- 2.20.1