https://bugzilla.wikimedia.org/show_bug.cgi?id=40500
Web browser: ---
Bug #: 40500
Summary: ResourceLoader should not ignore media-type for urls
in debug mode
Product: MediaWiki
Version: 1.18
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: ResourceLoader
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Steps to reproduce:
* Go to: https://www.mediawiki.org/
* Let page load, open console
* Execute: `mw.loader.load('skins.modern')`
Expected result:
* Two <link> tags are added. main.css and print.css. print.css should not be
active (in order words, media=print)
Actual result:
* Both are added without a media type.
This is actually quite easy to fix. Though we no longer support media-type for
minified css strings (which is fine because we wrap them in @media on the
server side), we have to support it still for urls.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l