mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-13 18:37:07 +00:00
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:
parent
0312df9e72
commit
95c93adf40
|
@ -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() ) {
|
||||
|
|
Loading…
Reference in a new issue