Page MenuHomePhabricator

ResourceLoader should not output an empty "@media print { }" block.
Closed, ResolvedPublic

Description

On a wiki with only MediaWiki:Common.css and Mediawiki:Vector.css (or rather, no MediaWiki:Print.css) the following request:

/mw/load.php?debug=false&lang=en&modules=site&only=styles&skin=vector&*

outputs:

...common....vector... @media print{ }


Version: 1.18.x
Severity: enhancement

Details

Reference
bz40498

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:10 AM
bzimport set Reference to bz40498.

Apparently already fixed in my rl-refactor branch, will push soon and reference this bug.

Fix in I3e8227ddb87fd9441071ca935439fc6467751dab.

(In reply to comment #2)

Fix in I3e8227ddb87fd9441071ca935439fc6467751dab.

Landed in master, and merged to REL1_20.