Extension:LogoFunctions/zh

LogoFunctions扩展为维基Logo增加了一个解析器函数.

用途


将标志设置为



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.