SamanthaNguyen has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/402597 )
Change subject: Replace deprecated Parser::disableCache() function ...................................................................... Replace deprecated Parser::disableCache() function Deprecated in 1.28 in favor of CacheTime::updateCacheExpiry(). Change-Id: Iaffa63bb8e90e4d5853e47a59133d5b720ce89b1 --- M includes/AJAXPoll.class.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/AJAXPoll refs/changes/97/402597/1 diff --git a/includes/AJAXPoll.class.php b/includes/AJAXPoll.class.php index de2c3f2..cc22178 100644 --- a/includes/AJAXPoll.class.php +++ b/includes/AJAXPoll.class.php @@ -31,7 +31,7 @@ static function AJAXPollRender( $input, $args = [], Parser $parser, $frame ) { global $wgUser, $wgRequest, $wgUseAjax; - $parser->disableCache(); + $parser->getOutput()->updateCacheExpiry( 0 ); $parser->addTrackingCategory( 'ajaxpoll-tracking-category' ); $parser->getOutput()->addModules( 'ext.ajaxpoll' ); -- To view, visit https://gerrit.wikimedia.org/r/402597 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iaffa63bb8e90e4d5853e47a59133d5b720ce89b1 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/AJAXPoll Gerrit-Branch: master Gerrit-Owner: SamanthaNguyen <samanthanguyen1...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits