Skip to content

wiki_templates_special_recent_changes

robinsowell edited this page Sep 25, 2015 · 1 revision

Wiki Special Recent Changes Template

This template displays a list of all recent changes to the wiki as highlighted below:

wiki_recentchanges

Displays the Wiki's Special Recent Changes page.

In addition to the variables in the Wiki Page template, the Special Recent Changes template has:

Single Variables

gmt_last_updated

{gmt_last_updated format=""}

This displays the GMT time of the most recent wiki update.

The format parameter is used to determine the date's formatting using ExpressionEngine's Date Variable Formatting.

last_updated

{last_updated format=""}

Displays the localized time (for user) of the most recent wiki update.

The format parameter is used to determine the date's formatting using ExpressionEngine's Date Variable Formatting.

language

{language}

The language format being used.

Tags

The Special Recent Changes template has the {wiki:recent_changes} tag available which is used for displaying a list of recent wiki changes and updates. The tag has Parameters and variables available to it.

{wiki:recent_changes} | Parameters

limit

{wiki:recent_changes limit=""}

This determines how many recent changes are displays. For example, this::

{wiki:recent_changes limit="20"}

Would limit the number of changes displayed to the 20 most recent changes.

paginate

{wiki:recent_changes paginate=""}

The Wiki module uses the same pagination syntax as all first-party modules. Please look at the [/templates/pagination` documentation for more information.

{wiki:recent_changes} | Variables

absolute_count

{absolute_count}

Running "count" of the displayed file, taking pagination into consideration.

article

{article}

Displays the fully rendered article. HTML characters will be rendered.

author

{author}

Displays the Screen Name of the revision's author.

content

{content}

Displays the raw content of an article.

count

{count}

"count" of the article currently being displayed

email

{email}

This displays the email address of the revision's author.

gmt_revision_date

{gmt_revision_date format=""}

This displays the GMT time of the most recent article revision.

The format parameter is used to determine the date's formatting using ExpressionEngine's Date Variable Formatting.

page_id

{page_id}

This is used to get the page's unique ID. This is used for identifying purposes in RSS/Atom Feeds.

path:view_article

{path:view_article}

Displays a URL to view the article.

revision_date

{revision_date format=""}

This displays the time of the most recent article revision.

The format parameter is used to determine the date's formatting using ExpressionEngine's Date Variable Formatting.

revision_id

{revision_id}

Displays the revision's unique ID number.

revision_notes

{revision_notes}

This displays the revision's notes (if any).

switch=

{switch="option_one|option_two|option_three"}

This variable permits you to rotate through any number of values as the recent changes are displayed. The first article will use "option_one", the second will use "option_two", the third "option_three", the fourth "option_one", and so on.

Multiple instances of the {switch=} tag may be used and the system will intelligently keep track of each one.

title

{title}

Displays the article/page's Title.

url

{url}

This displays the author's URL.