From: Edward Chernenko Date: Tue, 9 Aug 2016 08:34:17 +0000 (+0300) Subject: Resources.php: mark "mediawiki.api.upload" module as 'targets' => [ 'desktop', 'mobile' ] X-Git-Tag: 1.31.0-rc.0~6123 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=fe7c5bd93b91610a0b7bc9d6f71a7ecb17d0a303 Resources.php: mark "mediawiki.api.upload" module as 'targets' => [ 'desktop', 'mobile' ] This module doesn't call anything desktop-specific. There is no reason to deny this module to scripts which run on both desktop and mobile. Change-Id: Ia6b778ca8a188688e2c0e813332aee03d3b5ac52 --- diff --git a/resources/Resources.php b/resources/Resources.php index 0d8d39f0cd..053c3f3e10 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -923,6 +923,7 @@ return [ 'mediawiki.api.edit', 'json', ], + 'targets' => [ 'desktop', 'mobile' ], ], 'mediawiki.api.user' => [ 'scripts' => 'resources/src/mediawiki/api/user.js',