From aa305c06fe685193a5bef55719f20fb2bc11f070 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Fri, 25 May 2012 19:05:21 +0400 Subject: [PATCH] `mobile` sub-directories for mobile-related code Move DeviceDetection.php and DeviceDetectionTest.php Change-Id: Ia4aaf7ad499dd2021ef9d2ebf7f6d829e8fc4656 --- includes/AutoLoader.php | 8 ++++---- includes/{ => mobile}/DeviceDetection.php | 0 .../phpunit/includes/{ => mobile}/DeviceDetectionTest.php | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename includes/{ => mobile}/DeviceDetection.php (100%) rename tests/phpunit/includes/{ => mobile}/DeviceDetectionTest.php (100%) diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index d138aa7f14..58d5663362 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -71,8 +71,8 @@ $wgAutoloadLocalClasses = array( 'DeferredUpdates' => 'includes/DeferredUpdates.php', 'DeprecatedGlobal' => 'includes/DeprecatedGlobal.php', 'DerivativeRequest' => 'includes/WebRequest.php', - 'DeviceDetection' => 'includes/DeviceDetection.php', - 'DeviceProperties' => 'includes/DeviceDetection.php', + 'DeviceDetection' => 'includes/mobile/DeviceDetection.php', + 'DeviceProperties' => 'includes/mobile/DeviceDetection.php', 'DiffHistoryBlob' => 'includes/HistoryBlob.php', 'DoubleReplacer' => 'includes/StringUtils.php', 'DummyLinker' => 'includes/Linker.php', @@ -138,8 +138,8 @@ $wgAutoloadLocalClasses = array( 'HttpRequest' => 'includes/HttpFunctions.old.php', 'ICacheHelper' => 'includes/CacheHelper.php', 'IcuCollation' => 'includes/Collation.php', - 'IDeviceProperties' => 'includes/DeviceDetection.php', - 'IDeviceDetector' => 'includes/DeviceDetection.php', + 'IDeviceProperties' => 'includes/mobile/DeviceDetection.php', + 'IDeviceDetector' => 'includes/mobile/DeviceDetection.php', 'IdentityCollation' => 'includes/Collation.php', 'ImageGallery' => 'includes/ImageGallery.php', 'ImageHistoryList' => 'includes/ImagePage.php', diff --git a/includes/DeviceDetection.php b/includes/mobile/DeviceDetection.php similarity index 100% rename from includes/DeviceDetection.php rename to includes/mobile/DeviceDetection.php diff --git a/tests/phpunit/includes/DeviceDetectionTest.php b/tests/phpunit/includes/mobile/DeviceDetectionTest.php similarity index 100% rename from tests/phpunit/includes/DeviceDetectionTest.php rename to tests/phpunit/includes/mobile/DeviceDetectionTest.php -- 2.20.1