mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-28 02:00:57 +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\Extension\Gadgets\GadgetRepo;
|
||||||
use MediaWiki\Linker\LinkTarget;
|
use MediaWiki\Linker\LinkTarget;
|
||||||
use MediaWiki\MediaWikiServices;
|
use MediaWiki\MediaWikiServices;
|
||||||
use MediaWiki\Parser\Parsoid\ParsoidOutputAccess;
|
use MediaWiki\Page\ParserOutputAccess;
|
||||||
use MediaWiki\Revision\RevisionRecord;
|
use MediaWiki\Revision\RevisionRecord;
|
||||||
use MediaWiki\Title\Title;
|
use MediaWiki\Title\Title;
|
||||||
use MediaWiki\User\UserIdentity;
|
use MediaWiki\User\UserIdentity;
|
||||||
|
@ -153,7 +153,7 @@ class HookUtils {
|
||||||
$parserOptions,
|
$parserOptions,
|
||||||
$revRecord,
|
$revRecord,
|
||||||
// Don't flood the parser cache
|
// Don't flood the parser cache
|
||||||
$updateParserCacheFor ? 0 : ParsoidOutputAccess::OPT_NO_UPDATE_CACHE
|
$updateParserCacheFor ? 0 : ParserOutputAccess::OPT_NO_UPDATE_CACHE
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( !$status->isOK() ) {
|
if ( !$status->isOK() ) {
|
||||||
|
|
Loading…
Reference in a new issue