MediaWiki - IPv6 Ready Logo im Footer

Aus Laub-Home.de Wiki
Zur Navigation springen Zur Suche springen

Will man das IPv6 Ready Logo von ipv6-test.com auf seinem Wiki haben, kann man dies sehr einfach über die Localsettings.php machen. Einfach das folgende Code Snipset einfügen:

# IPV6 Ready Logo
$wgFooterIcons['poweredby']['ipv6'] = [
        "src" => "https://ipv6-test.com/button-ipv6-small.png",
        // you may also use a direct path to the source, e.g. "http://example.com/my/custom/path/to/MyCustomLogo.png"
        "url" => "https://ipv6-test.com/validate.php?url=referer",
        "alt" => "ipv6 ready",
        // If you have a non-default sized icon you can specify the size yourself.
        "height" => "31",
        "width" => "88",
];

Quellen