From: Brion Vibber Date: Mon, 28 Jul 2008 19:09:38 +0000 (+0000) Subject: * (bug 14954) Fix regression in Modern and Simple skins X-Git-Tag: 1.31.0-rc.0~46324 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/%28%5B%5E/%22%20.%20url_absolue%28find_in_path%28?a=commitdiff_plain;h=6321c03ad5a748b6dc6e9cef6993f67e833c2f59;p=lhc%2Fweb%2Fwiklou.git * (bug 14954) Fix regression in Modern and Simple skins Earlier r38139 patched up Modern, but didn't address Simple. --- 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() {