Extension:LogoFunctions

The LogoFunctions extension adds parser functions to override or add stamps to the wiki's logo.

Usage


Set logo to  



Add a featured article stamp to the logo, 190px wide, -1em from the left, -1em from the top, like on Page title.

Custom namespace logos
LogoFunctions can be used to set per-namespace logos in site configuration as follows, by mapping a namespace number/constant to a file available onwiki:

$wgNamespaceLogos = [ 6 => 'Uncyclomedia Commons.png', 7 => 'Uncyclomedia Commons.png', ];

So for instance add that to LocalSettings.php to set the the File and File talk namespace logos. For these in particular, do remember to protect the files and also to mark them as used so nobody deletes them.

Don't use namespace constants. It won't work.