From 9f471b8134dfbefc0d0c8fa58181a230dab2495c Mon Sep 17 00:00:00 2001 From: River Tarnell Date: Wed, 30 Apr 2008 09:58:18 +0000 Subject: [PATCH] (bug 13583) No "poweredby" in Modern skin --- RELEASE-NOTES | 1 + skins/Modern.php | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index bed9d167a6..c41d10a76c 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -226,6 +226,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 11659) Urldecode image names in galleries * (bug 13168) accessibility links in Modern skin link to wrong anchor id * (bug 13185) No line break after 'subpages' class in Modern skin +* (bug 13583) No "poweredby" in Modern skin === API changes in 1.13 === diff --git a/skins/Modern.php b/skins/Modern.php index a9cf183cc7..9377cbffb8 100644 --- a/skins/Modern.php +++ b/skins/Modern.php @@ -15,6 +15,15 @@ if( !defined( 'MEDIAWIKI' ) ) * @addtogroup Skins */ class SkinModern extends SkinTemplate { + /* + * We don't like the default getPoweredBy, the icon clashes with the + * skin L&F. + */ + function getPoweredBy() { + global $wgVersion; + return "
Powered by MediaWiki $wgVersion
"; + } + function initPage( &$out ) { SkinTemplate::initPage( $out ); $this->skinname = 'modern'; @@ -276,6 +285,7 @@ class ModernTemplate extends QuickTemplate { } ?> + html("poweredbyico"); ?> html('bottomscripts'); /* JS call to runBodyOnloadHook */ ?> -- 2.20.1