Topic on Project:Support desk

Where to change the powered by MediaWiki link?

3
Tonywiki~mediawikiwiki (talkcontribs)

The bottom right "powered by MediaWiki" photo was changed by myself, yet when I click on it, it takes me to www.mediawiki.org

Does anyone please know what file contains "http://www.mediawiki.org" on that bottom right photo so I can change it to point to my website?

Thank you:)

This post was posted by Tonywiki~mediawikiwiki, but signed as Tonywiki.

Florianschmidtwelzow (talkcontribs)

Hello! You can use this Hook to do this. Just add this code to your LocalSettings.php:

$wgHooks['SkinGetPoweredBy'][] = 'onSkinGetPoweredBy';
function onSkinGetPoweredBy( &$text, $skin ) {
   $url = '<url-to-the-new-poweredby-image>';
   $text = '<a href="<the-link-to-your-new-poweredby-location>"><img src="' . $url
       . '" height="31" width="88" alt="Powered by MediaWiki" /></a>';
}
Ciencia Al Poder (talkcontribs)

Don't expect us to give you support for your wiki if it doesn't contain the MediaWiki logo :)

Reply to "Where to change the powered by MediaWiki link?"