dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37344b9
)
Make JSON styling available on mobile
author
Ed Sanders
<esanders@wikimedia.org>
Fri, 12 Apr 2019 14:23:59 +0000
(15:23 +0100)
committer
Ed Sanders
<esanders@wikimedia.org>
Fri, 3 May 2019 15:26:32 +0000
(16:26 +0100)
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
patch
|
blob
|
history
diff --git
a/resources/Resources.php
b/resources/Resources.php
index
87488eb
..
a77c2b5
100644
(file)
--- 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' => [