Posted by ErichSteinboeck on 1200754814|%e %b %Y|agohover, last edited by James Kanjo on 1273422597|%e %b %Y at %H:%M |agohover
Tags:
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 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.
Author
ErichSteinboeck. Please visit his/her userPage.
NDP IB Admin. Please visit his/her userPage.
Other(!) HowTos posted by ErichSteinboeck
- Include Part Of A Page Only
- Include a Forum Thread
- Page Count
- Date: How Long Ago?
- System Variables
- Module Attributes via URL
- ListPages: Automatic Header
- Include Part Of A Page Only (Tricky Version)
- Include Inline
- Include With Defaults
- Set Up an Infobox — Exclude Specific Attributes
- Iframe Link
- Nested Comments
- Direct Links to Sub-Pages of System Pages
- Feed/FrontForum/ListPages/live template — %%date%%
- System Variables: Details
- Set Up An Infobox
- Create Sortable List of Pages





