mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-11-23 15:57:06 +00:00
Merge "Drop MobileDiff check"
This commit is contained in:
commit
886606fdc5
|
@ -79,9 +79,8 @@ class Hooks implements
|
|||
$type = $request->getRawVal( 'type' );
|
||||
$diff = $request->getCheck( 'diff' );
|
||||
$oldId = $request->getCheck( 'oldid' );
|
||||
$isSpecialMobileDiff = $context->getTitle()->isSpecial( 'MobileDiff' );
|
||||
|
||||
return $type === 'revision' || $diff || $oldId || $isSpecialMobileDiff;
|
||||
return $type === 'revision' || $diff || $oldId;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue