[OSM-talk] Image of the week points to wrong week

Erik Lundin erik at lists.lun.nu
Tue Jan 1 18:52:14 GMT 2013


There was an edit [1] to get the correct year belonging to this week, 
since week number 1 of 2013 started before year 2012 ended. There is a 
syntax for this in MediaWiki, see [2]. However, the trouble seems to be 
that using that syntax, the week number is only available zero-padded, 
while the images have names that aren't zero-padded. I guess the easiest 
solution is to rename "Template:Iotw image/2013-1" to "Template:Iotw 
image/2013-01".

Regards,
Erik

[1] 
http://wiki.openstreetmap.org/w/index.php?title=Template:Image_of_the_week&diff=prev&oldid=848636
[2] http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23time

2013-01-01 19:35, Pierre Béland skrev:
> In page http://wiki.openstreetmap.org/wiki/Main_Page, Image of the week
> points to Template:Iotw image/2013-2.
> <http://wiki.openstreetmap.org/w/index.php?title=Template:Iotw_image/2013-2&action=edit&redlink=1>
>
> The first week image do not appear today. Is this the zero day bug?
> Somebody nows how to correct?
> Pierre
>
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>



More information about the talk mailing list