From 95da826edf7b33122fd6b426659f9a09f96e93c4 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 12 Apr 2019 15:23:59 +0100 Subject: [PATCH] Make JSON styling available on mobile Styling works fine on mobile and is only loaded on JSON pages. Without the styling the page is much harder to read. Change-Id: I68a7a02f42ec4352969d6e24ba7b0b1f85374523 --- resources/Resources.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/Resources.php b/resources/Resources.php index 87488ebdb4..a77c2b50b4 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -866,6 +866,7 @@ return [ ], 'mediawiki.content.json' => [ 'styles' => 'resources/src/mediawiki.content.json.less', + 'targets' => [ 'desktop', 'mobile' ], ], 'mediawiki.confirmCloseWindow' => [ 'scripts' => [ -- 2.20.1