Last modified: 2011-03-13 18:05:30 UTC
In Dutch Low Saxon there are various dialects, in these dialects the phrase on the logo "The free encyclopedia" can differ from "De vrieje encyclopedie" till "De vraie enzyklopedie". I was wondering if it was possible to have a Wikipedia logo which changes for example every month (i.e. the one mond you have Wiki-gos.png [Gronings] as logo, the next Wiki-stl.png [Stellingwerfs] as logo). This way the logo's wouldn't have to be changed by hand every time, if we'd decide to do that.
I hope you understand my question, it's a bit difficult explaining it.
It's not possible in the software without some kind of custom script. Get an adminbot to do it, perhaps.
Well, in fact it is possible:
$wgLogo = "Wiki-" . date("M") . ".png"; To have from Wiki-Jan.png to Wiki-Dec.png
Having it uploaded by Mediawiki makes it only slightly more complicated:
$hash = md5($wgLogo);
$wgLogo = "http://upload.wikimedia.org/wikipedia/nds-nl/" . substr($hash, 0, 1) . "/" . substr($hash, 0, 2) . "/" . $wgLogo;
Hi thanks for the comments. Could you give a description of what should be done to get this up and running? Servien
Convince someone with shell access to add the above code to nds-nl LocalSettings
Okay. So should I upload the logos "Wiki-Jan.png, Wiki-Feb.png..." etc. on the nds-nl-wiki and protect them (and most important to know is should the abbreviations for the month be the English abbreviations Jan, Feb, Mar, Apr, Jun, Jul, Aug, Sep, Oct, Nov, Dec?)
This will not work with the system that we use for configuration of our wikifarm and will not refresh caches - you'd have lots of different logos due to page caching.
Please use a bot instead.
Thanks for the tip! :D