Posted by ErichSteinboeck on 19 Jan 2008 15:00, last edited by James Kanjo on 09 May 2010 16:29
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.%%
… to display this:
This wiki is 01 Aug 2006 01:35
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.