From 6321c03ad5a748b6dc6e9cef6993f67e833c2f59 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 28 Jul 2008 19:09:38 +0000 Subject: [PATCH] * (bug 14954) Fix regression in Modern and Simple skins Earlier r38139 patched up Modern, but didn't address Simple. --- RELEASE-NOTES | 2 ++ skins/Simple.php | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 0f53430e3d..133c53c214 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/skins/Simple.php b/skins/Simple.php index db64e48b41..d8af7ed632 100644 --- a/skins/Simple.php +++ b/skins/Simple.php @@ -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() { -- 2.20.1