Jforrester has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/348168 )
Change subject: OutputPage: Remove deprecated addParserOutputNoText,
getHeadLinks methods
......................................................................
OutputPage: Remove deprecated addParserOutputNoText, getHeadLinks methods
Change-Id: Idc55e7bb0f7bde8466192a81886f205de60c092c
---
M RELEASE-NOTES-1.29
M includes/OutputPage.php
2 files changed, 2 insertions(+), 21 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/68/348168/1
diff --git a/RELEASE-NOTES-1.29 b/RELEASE-NOTES-1.29
index 117a65c..f6e1a64 100644
--- a/RELEASE-NOTES-1.29
+++ b/RELEASE-NOTES-1.29
@@ -328,6 +328,8 @@
escapeQuotesHTML, jsMsg, addPortletLink, appendCSS, tooltipAccessKeyPrefix,
tooltipAccessKeyRegexp, updateTooltipAccessKeys.
* The ExtractThumbParameters hook (deprecated in 1.21) was removed.
+* The OutputPage::addParserOutputNoText and ::getHeadLinks methods (both
+ deprecated in 1.24) were removed.
== Compatibility ==
diff --git a/includes/OutputPage.php b/includes/OutputPage.php
index 5c05ad7..7aaae49 100644
--- a/includes/OutputPage.php
+++ b/includes/OutputPage.php
@@ -1774,17 +1774,6 @@
}
/**
- * Add a ParserOutput object, but without Html.
- *
- * @deprecated since 1.24, use addParserOutputMetadata() instead.
- * @param ParserOutput $parserOutput
- */
- public function addParserOutputNoText( $parserOutput ) {
- wfDeprecated( __METHOD__, '1.24' );
- $this->addParserOutputMetadata( $parserOutput );
- }
-
- /**
* Add all metadata associated with a ParserOutput object, but without
the actual HTML. This
* includes categories, language links, ResourceLoader modules, effects
of certain magic words,
* and so on.
@@ -3551,16 +3540,6 @@
}
return $tags;
- }
-
- /**
- * @return string HTML tag links to be put in the header.
- * @deprecated since 1.24 Use OutputPage::headElement or if you have to,
- * OutputPage::getHeadLinksArray directly.
- */
- public function getHeadLinks() {
- wfDeprecated( __METHOD__, '1.24' );
- return implode( "\n", $this->getHeadLinksArray() );
}
/**
--
To view, visit https://gerrit.wikimedia.org/r/348168
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idc55e7bb0f7bde8466192a81886f205de60c092c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits