From b219d6fb5dbd671d3f0944ab7d9ec767aaee4482 Mon Sep 17 00:00:00 2001 From: Jon Robson Date: Wed, 3 Apr 2024 10:01:24 +0800 Subject: [PATCH] Drop MobileDiff check This page is now just a redirect so the reference is no longer needed. Bug: T360389 Change-Id: I216fe95e9ace82fc30879a23ece84b568159a01e --- includes/Hooks.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/Hooks.php b/includes/Hooks.php index 65377af1..96cdc204 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -72,9 +72,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; } /**