[Users] "Last Updated" shows current time instead of last update

Dave Neary dneary at redhat.com
Thu Feb 20 12:54:17 UTC 2014


Hi,

On 02/20/2014 11:15 AM, Nir Soffer wrote:
>> From: "Yedidyah Bar David" <didi at redhat.com>
>> Almost all of the pages on the ovirt.org wiki that have "Last Updated:",
>> actually have:
>>
>> Last updated: {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}<!--This is
>> markup for current date, do not change-->
>>
>> thus showing the current date and not the last change date. When searching
>> google you see the last time its robot happened to fetch the page.
>>
>> See e.g. [1] for a (possibly non-complete) list.

I wouldn't say "almost all", but a lot of Feature pages do, yes.

> This is indeed useless and wrong and should be removed.
> 
> Does this work?
> 
> Last updated on {{REVISIONDAY}}/{{REVISIONMONTH}}/{{REVISIONYEAR}} by {{REVISIONUSER}}

I undated the Feature templates (http://www.ovirt.org/Feature_template
and to use this yesterday (I used
 Last updated: {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}} by
[[User:{{urlencode:{{REVISIONUSER}} | WIKI}}]]
to do ISO dates and link to the User page) - unfortunately, it still
needs to be changed on individual pages.

Cheers,
Dave.

-- 
Dave Neary - Community Action and Impact
Open Source and Standards, Red Hat - http://community.redhat.com
Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13



More information about the Infra mailing list