Florianschmidtwelzow has uploaded a new change for review. https://gerrit.wikimedia.org/r/281085
Change subject: Remove usage of Title::newFromRedirectArray() ...................................................................... Remove usage of Title::newFromRedirectArray() Bug: T122754 Change-Id: I3843655109dcd91badefea73649eb778163f9077 --- M includes/utility/PageContentProvider.class.php 1 file changed, 5 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceFoundation refs/changes/85/281085/1 diff --git a/includes/utility/PageContentProvider.class.php b/includes/utility/PageContentProvider.class.php index 9f29b9b..082891f 100644 --- a/includes/utility/PageContentProvider.class.php +++ b/includes/utility/PageContentProvider.class.php @@ -413,7 +413,11 @@ * @return Array_of_Title */ public function getRedirectChainRecursiveFrom( Title $oTitle, $aParams = array() ) { - return Title::newFromRedirectArray( $this->getWikiTextContentFor( $oTitle, $aParams ) ); + return ContentHandler::makeContent( + $this->getWikiTextContentFor( $oTitle, $aParams ), + null, + CONTENT_MODEL_WIKITEXT + )->getRedirectChain(); } /** -- To view, visit https://gerrit.wikimedia.org/r/281085 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3843655109dcd91badefea73649eb778163f9077 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation Gerrit-Branch: master Gerrit-Owner: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits