From 0ebda6b3e4b0371a38524a8dbe1a28007bd10dde Mon Sep 17 00:00:00 2001 From: Happy-melon Date: Sat, 5 Mar 2011 16:01:25 +0000 Subject: [PATCH] Include MediaWiki:Noscript.css in tags in the header, to allow wikis to load styles for users with JS disabled. --- RELEASE-NOTES | 2 + includes/AutoLoader.php | 1 + includes/OutputPage.php | 20 +++++--- includes/Skin.php | 2 +- .../ResourceLoaderNoscriptModule.php | 50 +++++++++++++++++++ languages/messages/MessagesEn.php | 1 + resources/Resources.php | 1 + 7 files changed, 69 insertions(+), 8 deletions(-) create mode 100644 includes/resourceloader/ResourceLoaderNoscriptModule.php diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 9b13ff7d33..d1ba8b5478 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -87,6 +87,8 @@ PHP if you have not done so prior to upgrading MediaWiki. specifically, rather than all ZIP files being blocked. * (bug 2429) Allow selection of associated namespace in recent changes * (bug 26995) File size is now checked before uploading in HTML5 browsers +* CSS stylesheet MediaWiki:Noscript.css is now loaded for users with JavaScript + disabled (enclosed in the head in a