= Some simple macros =

As always, put them under the `data/plugin/macro/` directory.

== Current page version ==

{{{#!python
"""
    PageVersion.py
    Shows the version of the current page

    @copyright: 2006 by Ramiro Morales
    @license: GNU GPL, see COPYING for details
"""

import MoinMoin.Page

Dependencies = []

def execute(macro, args):
    this_page = macro.formatter.page
    rev = this_page.get_real_rev()
    return macro.formatter.text(str(rev))
}}}

=== Usage ===

Insert `[[PageVersion()]]` in your wiki text.


or `[[PageVersion]]`


=== See also ===

FeatureRequests/PageInfo