Hoo man has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/366853 )

Change subject: Use addModuleStyles for adding mobile styles
......................................................................

Use addModuleStyles for adding mobile styles

This is sensible and fixes the problem in question (although
it probably shouldn't).

Bug: T170668
Change-Id: If71d529a7b5782fcba9f1f01319ecbb967c3ba3b
---
M repo/includes/ParserOutput/EntityParserOutputGenerator.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/53/366853/1

diff --git a/repo/includes/ParserOutput/EntityParserOutputGenerator.php 
b/repo/includes/ParserOutput/EntityParserOutputGenerator.php
index 73b1528..0a97b5e 100644
--- a/repo/includes/ParserOutput/EntityParserOutputGenerator.php
+++ b/repo/includes/ParserOutput/EntityParserOutputGenerator.php
@@ -374,7 +374,7 @@
 
                // Load mobile styles, which have targets => mobile
                // and will only be loaded on mobile devices
-               $parserOutput->addModules( 'wikibase.mobile' );
+               $parserOutput->addModuleStyles( 'wikibase.mobile' );
        }
 
        /**

-- 
To view, visit https://gerrit.wikimedia.org/r/366853
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If71d529a7b5782fcba9f1f01319ecbb967c3ba3b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Hoo man <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to