Posted by
ErichSteinboeck on 1200754814|%e %b %Y|agohover, last edited by
ErichSteinboeck on 1248525302|%e %b %Y at %H:%M |agohover
NDP IB Admin has reported a very nice way to display the age of a Wiki.
Step by Step
Embed the following code in your Wiki …
[[module ListPages limit="1" separate="false" order="dateCreatedAsc" categories="admin,nav,search,system"]]
This wiki is %%date|%O old.%%
[[/module]]
… to display this:
This wiki is 1154396146|%O old.
How Does This Work?
It finds the single oldest page of a Wiki and displays this page's age. Since the initial pages of a Wiki are all created at the Wiki creation time, it also displays the Wiki's age.
For better performance, we restrict the ListPages search to categories admin, nav, search, and system only, since it is known that the initial pages of a Wiki are created in the those categories.
Author
ErichSteinboeck. Please visit his/her userPage.
NDP IB Admin. Please visit his/her userPage.





