https://bugzilla.wikimedia.org/show_bug.cgi?id=22463

--- Comment #21 from Raimond Spekking <raimond.spekk...@gmail.com> 2010-11-14 
15:52:35 UTC ---
(In reply to comment #19)
> I'm really disapoinnted about what was made from my idea. My idea was to give
> the possibilty to add buttons through a variable so that it could also easily
> be done through configuration without any extension. With the hook implemented
> now it's just more complex. The point was that maybe somebody would also like
> to add a button for his hoster or something like this. I really do not
> understand why my simple solution was not applied but a hook was added that
> fast.

It's very easy now too. Please see what I added to LocalSettings.php of
Translatewiki:

$wgHooks['SkinGetPoweredBy'][] = 'efPoweredBy';
function efPoweredBy( &$text ) {
    $text = "<div class='mw_poweredby'><a href=\"http://www.netcup.de/\";
title=\"Powered by netcup - Webspace and vServer\" target=\"_blank\">Powered by
netcup - Webspace and vServer</a></div>";
    return true;
}

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to