mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 08:23:52 +00:00
Merge "Use ParserOutputAccess flags instead of ParsoidOutputAccess flags"
This commit is contained in:
commit
d501467802
|
@ -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