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:
e2e6fb5
)
Followup r74966, r75006: load $wgHandheldStyle again in SkinMonoBook. Can't do this...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 27 Oct 2010 15:21:18 +0000
(15:21 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 27 Oct 2010 15:21:18 +0000
(15:21 +0000)
skins/MonoBook.php
patch
|
blob
|
history
diff --git
a/skins/MonoBook.php
b/skins/MonoBook.php
index
3eb04ce
..
41ed35b
100644
(file)
--- a/
skins/MonoBook.php
+++ b/
skins/MonoBook.php
@@
-28,6
+28,12
@@
class SkinMonoBook extends SkinTemplate {
$out->addModuleStyles( 'skins.monobook' );
+ // Ugh. Can't do this properly because $wgHandheldStyle may be a URL
+ if( $wgHandheldStyle ) {
+ // Currently in testing... try 'chick/main.css'
+ $out->addStyle( $wgHandheldStyle, 'handheld' );
+ }
+
// TODO: Migrate all of these
//$out->addStyle( 'monobook/IE50Fixes.css', 'screen', 'lt IE 5.5000' );
//$out->addStyle( 'monobook/IE55Fixes.css', 'screen', 'IE 5.5000' );