Index: trunk/phase3/skins/Modern.php |
— | — | @@ -27,7 +27,9 @@ |
28 | 28 | */ |
29 | 29 | function getPoweredBy() { |
30 | 30 | global $wgVersion; |
31 | | - return "<div class='mw_poweredby'>Powered by MediaWiki $wgVersion</div>"; |
| 31 | + $text = "<div class='mw_poweredby'>Powered by MediaWiki $wgVersion</div>"; |
| 32 | + wfRunHooks( 'SkinGetPoweredBy', array( &$text ) ); |
| 33 | + return $text; |
32 | 34 | } |
33 | 35 | |
34 | 36 | function setupSkinUserCss( OutputPage $out ){ |
Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -1462,7 +1462,8 @@ |
1463 | 1463 | &$forContent: overridable flag if copyright footer is shown in content language. |
1464 | 1464 | |
1465 | 1465 | 'SkinGetPoweredBy' |
1466 | | -&$text: additional 'powered by' icons in HTML |
| 1466 | +&$text: additional 'powered by' icons in HTML. |
| 1467 | +Note: Modern skin does not use the MediaWiki icon but plain text instead |
1467 | 1468 | |
1468 | 1469 | 'SkinSubPageSubtitle': At the beginning of Skin::subPageSubtitle() |
1469 | 1470 | &$subpages: Subpage links HTML |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -201,7 +201,8 @@ |
202 | 202 | * Special:Search: Add CSS classes to 'none found' and 'create link' messages |
203 | 203 | * Add CSS classes (including namespace and pagename) to the enhanced recent |
204 | 204 | changes/watchlist entries |
205 | | -* (bug 22463) Add hook 'SkinGetPoweredBy' to make 'powered by' icon customizable |
| 205 | +* (bug 22463) Add hook 'SkinGetPoweredBy' to make 'powered by' icon/text |
| 206 | + customizable |
206 | 207 | * Added CSS print pagination to the print stylesheets |
207 | 208 | |
208 | 209 | === Bug fixes in 1.17 === |