(bug 26497) printable=yes and handheld=yes request parameters were broken. Fixed...
authorRoan Kattouw <catrope@users.mediawiki.org>
Fri, 7 Jan 2011 20:22:50 +0000 (20:22 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Fri, 7 Jan 2011 20:22:50 +0000 (20:22 +0000)
commitfb80a53b1ba3c0c5dc9b01b2a058b716a046461d
tree8edb494b733feae18d4202860182da376765b7c3
parentdfc206aba47d102c4879911cf778cba62cacfc85
(bug 26497) printable=yes and handheld=yes request parameters were broken. Fixed this in a bit of an ugly way, by propagating these parameters to load.php and running OutputPage::transformCssMedia() on it there. This revision also fixes the fact that ResourceLoader ignored $wgHandheldForIPhone, and no longer wraps styles in @media all { } because it's useless and breaks @import (which can't be used inside @media ; this is bug 26478)
includes/OutputPage.php
includes/resourceloader/ResourceLoader.php