Reedy has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/332121 )
Change subject: Un-deprecate ArticleAfterFetchContentObject hook ...................................................................... Un-deprecate ArticleAfterFetchContentObject hook Accidentally done in I58a0c46b95b8ef02ff55851cfdec7e9d6eeed83c Bug: T154672 Change-Id: I900232ea01a434b40091fca4627739310d7b3f1d --- M RELEASE-NOTES-1.28 M includes/page/Article.php 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/21/332121/1 diff --git a/RELEASE-NOTES-1.28 b/RELEASE-NOTES-1.28 index 39108c0..3ee3f05 100644 --- a/RELEASE-NOTES-1.28 +++ b/RELEASE-NOTES-1.28 @@ -10,6 +10,7 @@ * (T152717) Better escaping for PHP mail() command * (T154670) A missing method causing the MySQL installer to fatal in rare circumstances was restored. +* (T154672) Un-deprecate ArticleAfterFetchContentObject hook. == MediaWiki 1.28 == diff --git a/includes/page/Article.php b/includes/page/Article.php index 15f5238..b0beb93 100644 --- a/includes/page/Article.php +++ b/includes/page/Article.php @@ -428,10 +428,9 @@ $this->mContentObject = $content; $this->mRevIdFetched = $this->mRevision->getId(); - ContentHandler::runLegacyHooks( + Hooks::run( 'ArticleAfterFetchContentObject', [ &$this, &$this->mContentObject ], - '1.21' ); return $this->mContentObject; -- To view, visit https://gerrit.wikimedia.org/r/332121 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I900232ea01a434b40091fca4627739310d7b3f1d Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: REL1_28 Gerrit-Owner: Reedy <re...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits