From: River Tarnell Date: Wed, 30 Apr 2008 09:58:18 +0000 (+0000) Subject: (bug 13583) No "poweredby" in Modern skin X-Git-Tag: 1.31.0-rc.0~47992 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=9f471b8134dfbefc0d0c8fa58181a230dab2495c;p=lhc%2Fweb%2Fwiklou.git (bug 13583) No "poweredby" in Modern skin --- 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 */ ?>