* Special:Search: Add CSS classes to 'none found' and 'create link' messages
* Add CSS classes (including namespace and pagename) to the enhanced recent
changes/watchlist entries
-* (bug 22463) Add hook 'SkinGetPoweredBy' to make 'powered by' icon customizable
+* (bug 22463) Add hook 'SkinGetPoweredBy' to make 'powered by' icon/text
+ customizable
* Added CSS print pagination to the print stylesheets
=== Bug fixes in 1.17 ===
&$forContent: overridable flag if copyright footer is shown in content language.
'SkinGetPoweredBy'
-&$text: additional 'powered by' icons in HTML
+&$text: additional 'powered by' icons in HTML.
+Note: Modern skin does not use the MediaWiki icon but plain text instead
'SkinSubPageSubtitle': At the beginning of Skin::subPageSubtitle()
&$subpages: Subpage links HTML
*/
function getPoweredBy() {
global $wgVersion;
- return "<div class='mw_poweredby'>Powered by MediaWiki $wgVersion</div>";
+ $text = "<div class='mw_poweredby'>Powered by MediaWiki $wgVersion</div>";
+ wfRunHooks( 'SkinGetPoweredBy', array( &$text ) );
+ return $text;
}
function setupSkinUserCss( OutputPage $out ){