Last modified: 2011-03-13 18:05:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T12075, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10075 - Automatically changing Wikipedia logo
Automatically changing Wikipedia logo
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://nds-nl.wikipedia.org
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-30 18:52 UTC by Servien
Modified: 2011-03-13 18:05 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Servien 2007-05-30 18:52:12 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.

Servien
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-05-30 21:36:38 UTC
It's not possible in the software without some kind of custom script.  Get an adminbot to do it, perhaps.
Comment 2 Platonides 2007-05-30 21:44:43 UTC
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;
Comment 3 Servien 2007-05-31 18:19:48 UTC
Hi thanks for the comments. Could you give a description of what should be done to get this up and running? Servien
Comment 4 Platonides 2007-05-31 22:02:35 UTC
Convince someone with shell access to add the above code to nds-nl LocalSettings
Comment 5 Servien 2007-06-01 13:33:17 UTC
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?)

Servien
Comment 6 JeLuF 2007-08-16 04:45:17 UTC
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.
Comment 7 Platonides 2007-09-24 14:00:55 UTC
It can be done with JavaScript. See http://es.wikipedia.org/wiki/Usuario:Platonides/logoRotate.js for an example.
Comment 8 Servien 2007-09-29 15:16:55 UTC
Thanks for the tip! :D

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links