Use ParserOutputAccess flags instead of ParsoidOutputAccess flags

ParsoidOutputAccess constants are deprecated and we want to remove them.

Change-Id: I105dbb1c599107d96111273ab106056090250984
This commit is contained in:
Subramanya Sastry 2023-10-19 14:42:55 -05:00 committed by Thiemo Kreuz (WMDE)
parent 0312df9e72
commit 95c93adf40

View file

@ -19,7 +19,7 @@ use MediaWiki\Extension\DiscussionTools\ContentThreadItemSet;
use MediaWiki\Extension\Gadgets\GadgetRepo;
use MediaWiki\Linker\LinkTarget;
use MediaWiki\MediaWikiServices;
use MediaWiki\Parser\Parsoid\ParsoidOutputAccess;
use MediaWiki\Page\ParserOutputAccess;
use MediaWiki\Revision\RevisionRecord;
use MediaWiki\Title\Title;
use MediaWiki\User\UserIdentity;
@ -153,7 +153,7 @@ class HookUtils {
$parserOptions,
$revRecord,
// Don't flood the parser cache
$updateParserCacheFor ? 0 : ParsoidOutputAccess::OPT_NO_UPDATE_CACHE
$updateParserCacheFor ? 0 : ParserOutputAccess::OPT_NO_UPDATE_CACHE
);
if ( !$status->isOK() ) {