From 0532b3d456358c799a05bc5d0ba584d1c5a8628d Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Sat, 1 May 2004 02:31:09 +0000 Subject: [PATCH] * note on css/js view about refreshing to see the changes * ie5 tweaks --- includes/Article.php | 1 + languages/Language.php | 1 + stylesheets/monobook/IE50Fixes.css | 3 +++ 3 files changed, 5 insertions(+) diff --git a/includes/Article.php b/includes/Article.php index 158e1dcf1f..075aa6b674 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -507,6 +507,7 @@ class Article { $this->mTitle->getNamespace() == Namespace::getUser() && preg_match("/\\/[\\w]+\\.(css|js)$/", $this->mTitle->getDBkey()) ) { + $wgOut->addWikiText( wfMsg('usercssjs')); $wgOut->addHTML( '
'.htmlspecialchars($this->mContent)."\n
" ); } else if( $wgEnableParserCache && intval($wgUser->getOption( "stubthreshold" )) == 0 ){ $wgOut->addWikiText( $text, true, $this ); diff --git a/languages/Language.php b/languages/Language.php index 4459424311..3b6c4a8e6c 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -761,6 +761,7 @@ If you are here by mistake, just click your browser's '''back''' button.", "talkpagetext" => "", "anontalkpagetext" => "----''This is the discussion page for an anonymous user who has not created an account yet or who does not use it. We therefore have to use the numerical [[IP address]] to identify him/her. Such an IP address can be shared by several users. If you are an anonymous user and feel that irrelevant comments have been directed at you, please [[Special:Userlogin|create an account or log in]] to avoid future confusion with other anonymous users.'' ", "noarticletext" => "(There is currently no text in this page)", +'usercssjs' => "'''Note:''' After saving, you have to do a hard refresh to tell your bowser to get the new version. In Moz, a simple '''reload''' will do. In IE/Opera/Safari/Konqueror a '''ctrl-f5''' will be necessary.", "updated" => "(Updated)", "note" => "Note: ", "previewnote" => "Remember that this is only a preview, and has not yet been saved!", diff --git a/stylesheets/monobook/IE50Fixes.css b/stylesheets/monobook/IE50Fixes.css index c379a8ee49..dd9eda3e5f 100644 --- a/stylesheets/monobook/IE50Fixes.css +++ b/stylesheets/monobook/IE50Fixes.css @@ -48,7 +48,10 @@ body { font-size: xx-small; } background: none; padding: 0; } +#p-personal ul { float: right } +#p-personal li { float: left } li#pt-userpage, +li#pt-anonuserpage, li#pt-login, li#pt-logout { background: none; -- 2.20.1