"Last Updated" shows current time instead of last update

Hi all, Sorry for cross-posting. Not sure what's the correct address to discuss this. 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. Not sure if that's intended or not, but I personally find it useless and misleading. I guess that someone started it some time ago and everyone else just copied without caring much. Can all of these lines be removed? If anyone really wants to know when was the last change, they can use: http://www.ovirt.org/index.php?title=SOME_TITLE&action=history (which is easily-accessed from the "Page" menu for logged in users. Not sure why it's not the same for non-logged-in ones). It might be possible to add some wiki markup to make it automatically show this, but: 1. I tried a bit and failed (used [2] as a guide) 2. Not sure it's worth it 3. It will increase the load on the server. [1] http://tinyurl.com/nyhgt3j [2] http://www.mediawiki.org/wiki/Help:Magic_words Best regards, -- Didi

----- Original Message -----
From: "Yedidyah Bar David" <didi@redhat.com> To: "infra" <infra@ovirt.org>, "users" <users@ovirt.org> Sent: Monday, February 17, 2014 2:43:42 PM Subject: [Users] "Last Updated" shows current time instead of last update
Hi all,
Sorry for cross-posting. Not sure what's the correct address to discuss this.
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.
Not sure if that's intended or not, but I personally find it useless and misleading.
This is indeed useless and wrong and should be removed. Does this work? Last updated on {{REVISIONDAY}}/{{REVISIONMONTH}}/{{REVISIONYEAR}} by {{REVISIONUSER}} Nir

Hi, On 02/20/2014 11:15 AM, Nir Soffer wrote:
From: "Yedidyah Bar David" <didi@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

----- Original Message -----
From: "Dave Neary" <dneary@redhat.com> To: infra@ovirt.org Sent: Thursday, February 20, 2014 2:54:17 PM Subject: Re: [Users] "Last Updated" shows current time instead of last update
Hi,
On 02/20/2014 11:15 AM, Nir Soffer wrote:
From: "Yedidyah Bar David" <didi@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}}]]
Nice. One issues though; "Last updated on <date> by <user>" reads better than "Last updated: <date> by <user>". Nir

On 02/20/2014 06:57 PM, Nir Soffer wrote:
From: "Dave Neary" <dneary@redhat.com>
I updated 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}}]]
Nice.
One issues though; "Last updated on <date> by <user>" reads better than "Last updated: <date> by <user>".
To which I can only say: "it's a wiki" :-) I'm happy with your wording. 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

----- Original Message -----
From: "Nir Soffer" <nsoffer@redhat.com> To: "Yedidyah Bar David" <didi@redhat.com> Cc: "infra" <infra@ovirt.org>, "users" <users@ovirt.org> Sent: Thursday, February 20, 2014 12:15:42 PM Subject: Re: [Users] "Last Updated" shows current time instead of last update
----- Original Message -----
From: "Yedidyah Bar David" <didi@redhat.com> To: "infra" <infra@ovirt.org>, "users" <users@ovirt.org> Sent: Monday, February 17, 2014 2:43:42 PM Subject: [Users] "Last Updated" shows current time instead of last update
Hi all,
Sorry for cross-posting. Not sure what's the correct address to discuss this.
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.
Not sure if that's intended or not, but I personally find it useless and misleading.
This is indeed useless and wrong and should be removed.
Does this work?
Last updated on {{REVISIONDAY}}/{{REVISIONMONTH}}/{{REVISIONYEAR}} by {{REVISIONUSER}}
If I Edit, then Show preview, it's already updated, even before Save page. I personally find it a bit weird. Anyway, I did this on a test page and it seems to work, but I have to wait a day to make sure the date does not change... In any case, it does affect performance. Not sure it's very significant, though. I now changed the following pages (picked up randomly): http://www.ovirt.org/Features/Minimum_guaranteed_memory http://www.ovirt.org/Features/MultiHostNetworkConfiguration http://www.ovirt.org/Features/Node/PluginLiveInstall http://www.ovirt.org/Features/Node/PackageRefactoring http://www.ovirt.org/Features/Automatic_scaling I changed it to: Last updated on {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY}} by {{REVISIONUSER}} That is, ISO date. If we do not see a significant impact in a few days, we should probably edit all pages, probably with some bot. -- Didi

Il 20/02/2014 15:27, Yedidyah Bar David ha scritto:
----- Original Message -----
From: "Nir Soffer" <nsoffer@redhat.com> To: "Yedidyah Bar David" <didi@redhat.com> Cc: "infra" <infra@ovirt.org>, "users" <users@ovirt.org> Sent: Thursday, February 20, 2014 12:15:42 PM Subject: Re: [Users] "Last Updated" shows current time instead of last update
----- Original Message -----
From: "Yedidyah Bar David" <didi@redhat.com> To: "infra" <infra@ovirt.org>, "users" <users@ovirt.org> Sent: Monday, February 17, 2014 2:43:42 PM Subject: [Users] "Last Updated" shows current time instead of last update
Hi all,
Sorry for cross-posting. Not sure what's the correct address to discuss this.
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.
Not sure if that's intended or not, but I personally find it useless and misleading.
This is indeed useless and wrong and should be removed.
Does this work?
Last updated on {{REVISIONDAY}}/{{REVISIONMONTH}}/{{REVISIONYEAR}} by {{REVISIONUSER}}
If I Edit, then Show preview, it's already updated, even before Save page. I personally find it a bit weird. Anyway, I did this on a test page and it seems to work, but I have to wait a day to make sure the date does not change...
In any case, it does affect performance. Not sure it's very significant, though.
I now changed the following pages (picked up randomly):
http://www.ovirt.org/Features/Minimum_guaranteed_memory http://www.ovirt.org/Features/MultiHostNetworkConfiguration http://www.ovirt.org/Features/Node/PluginLiveInstall http://www.ovirt.org/Features/Node/PackageRefactoring http://www.ovirt.org/Features/Automatic_scaling
I changed it to:
Last updated on {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY}} by {{REVISIONUSER}}
That is, ISO date.
If we do not see a significant impact in a few days, we should probably edit all pages, probably with some bot.
+1 -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com

----- Original Message -----
From: "Yedidyah Bar David" <didi@redhat.com> To: "Nir Soffer" <nsoffer@redhat.com> Cc: "infra" <infra@ovirt.org>, "users" <users@ovirt.org> Sent: Thursday, February 20, 2014 4:27:21 PM Subject: Re: [Users] "Last Updated" shows current time instead of last update
----- Original Message -----
From: "Nir Soffer" <nsoffer@redhat.com> To: "Yedidyah Bar David" <didi@redhat.com> Cc: "infra" <infra@ovirt.org>, "users" <users@ovirt.org> Sent: Thursday, February 20, 2014 12:15:42 PM Subject: Re: [Users] "Last Updated" shows current time instead of last update
----- Original Message -----
From: "Yedidyah Bar David" <didi@redhat.com> To: "infra" <infra@ovirt.org>, "users" <users@ovirt.org> Sent: Monday, February 17, 2014 2:43:42 PM Subject: [Users] "Last Updated" shows current time instead of last update
Hi all,
Sorry for cross-posting. Not sure what's the correct address to discuss this.
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.
Not sure if that's intended or not, but I personally find it useless and misleading.
This is indeed useless and wrong and should be removed.
Does this work?
Last updated on {{REVISIONDAY}}/{{REVISIONMONTH}}/{{REVISIONYEAR}} by {{REVISIONUSER}}
If I Edit, then Show preview, it's already updated, even before Save page. I personally find it a bit weird. Anyway, I did this on a test page and it seems to work, but I have to wait a day to make sure the date does not change...
In any case, it does affect performance. Not sure it's very significant, though.
I now changed the following pages (picked up randomly):
http://www.ovirt.org/Features/Minimum_guaranteed_memory http://www.ovirt.org/Features/MultiHostNetworkConfiguration http://www.ovirt.org/Features/Node/PluginLiveInstall http://www.ovirt.org/Features/Node/PackageRefactoring http://www.ovirt.org/Features/Automatic_scaling
I changed it to:
Last updated on {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY}} by {{REVISIONUSER}}
That is, ISO date.
Better! But see Dave version, which uses zero-padded day {{REVISIONDAY2}}
If we do not see a significant impact in a few days, we should probably edit all pages, probably with some bot.
I don't see any reason why this should effect performance. The "expensive" warning is about showing revision meta data for another page. Nir

----- Original Message -----
From: "Nir Soffer" <nsoffer@redhat.com> To: "Yedidyah Bar David" <didi@redhat.com> Cc: "infra" <infra@ovirt.org>, "users" <users@ovirt.org> Sent: Thursday, February 20, 2014 8:02:42 PM Subject: Re: [Users] "Last Updated" shows current time instead of last update
----- Original Message -----
From: "Yedidyah Bar David" <didi@redhat.com> To: "Nir Soffer" <nsoffer@redhat.com> Cc: "infra" <infra@ovirt.org>, "users" <users@ovirt.org> Sent: Thursday, February 20, 2014 4:27:21 PM Subject: Re: [Users] "Last Updated" shows current time instead of last update
----- Original Message -----
From: "Nir Soffer" <nsoffer@redhat.com> To: "Yedidyah Bar David" <didi@redhat.com> Cc: "infra" <infra@ovirt.org>, "users" <users@ovirt.org> Sent: Thursday, February 20, 2014 12:15:42 PM Subject: Re: [Users] "Last Updated" shows current time instead of last update
----- Original Message -----
From: "Yedidyah Bar David" <didi@redhat.com> To: "infra" <infra@ovirt.org>, "users" <users@ovirt.org> Sent: Monday, February 17, 2014 2:43:42 PM Subject: [Users] "Last Updated" shows current time instead of last update
Hi all,
Sorry for cross-posting. Not sure what's the correct address to discuss this.
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.
Not sure if that's intended or not, but I personally find it useless and misleading.
This is indeed useless and wrong and should be removed.
Does this work?
Last updated on {{REVISIONDAY}}/{{REVISIONMONTH}}/{{REVISIONYEAR}} by {{REVISIONUSER}}
If I Edit, then Show preview, it's already updated, even before Save page. I personally find it a bit weird. Anyway, I did this on a test page and it seems to work, but I have to wait a day to make sure the date does not change...
In any case, it does affect performance. Not sure it's very significant, though.
I now changed the following pages (picked up randomly):
http://www.ovirt.org/Features/Minimum_guaranteed_memory http://www.ovirt.org/Features/MultiHostNetworkConfiguration http://www.ovirt.org/Features/Node/PluginLiveInstall http://www.ovirt.org/Features/Node/PackageRefactoring http://www.ovirt.org/Features/Automatic_scaling
I changed it to:
Last updated on {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY}} by {{REVISIONUSER}}
That is, ISO date.
Better!
But see Dave version, which uses zero-padded day {{REVISIONDAY2}}
Now changed the above pages to this.
If we do not see a significant impact in a few days, we should probably edit all pages, probably with some bot.
I don't see any reason why this should effect performance. The "expensive" warning is about showing revision meta data for another page.
Well, I did meter it and it's somewhat slower. Not sure why. So: anyone with sufficient rights/abilities cares to do the replacement for all other pages? -- Didi
participants (4)
-
Dave Neary
-
Nir Soffer
-
Sandro Bonazzola
-
Yedidyah Bar David