Update Extension.php

This commit is contained in:
paladox
2021-03-21 00:19:00 +00:00
committed by GitHub
parent f8dbdefdec
commit 3d834a1ed5

View File

@ -52,7 +52,7 @@ class Extension {
$isMinor = $flags & EDIT_MINOR;
$config = new Config();
if ( !$config->parseOnEdit && $isMinor ) return true;
if ( !$config->parseOnEdit || $isMinor ) return true;
$revision = $renderedRevision->getRevision();
$title = $revision->getPageAsLinkTarget();