* (bug 14954) Fix regression in Modern and Simple skins
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 28 Jul 2008 19:09:38 +0000 (19:09 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 28 Jul 2008 19:09:38 +0000 (19:09 +0000)
Earlier r38139 patched up Modern, but didn't address Simple.

RELEASE-NOTES
skins/Simple.php

index 0f53430..133c53c 100644 (file)
@@ -28,12 +28,14 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 
 * (bug 8068) New __INDEX__ and __NOINDEX__ magic words allow user control of
   search engine indexing on a per-article basis.
+* Handheld stylesheet options
 
 === Bug fixes in 1.14 ===
 
 * (bug 14907) DatabasePostgres::fieldType now defined.
 * (bug 14659) Passing the default limit param to Special:Recentchanges no more
   falls back to the user option
+* (bug 14954) Fix regression in Modern and Simple skins
 
 === API changes in 1.14 ===
 
index db64e48..d8af7ed 100644 (file)
@@ -23,7 +23,9 @@ class SkinSimple extends SkinTemplate {
                $this->skinname  = 'simple';
                $this->stylename = 'simple';
                $this->template  = 'MonoBookTemplate';
-               $this->cssfiles  = array( 'rtl' );
+               $this->addStyle( 'simple/main.css', 'screen' );
+               $this->addStyle( 'simple/rtl.css', '', '', 'rtl' );
+
        }
 
        function reallyDoGetUserStyles() {