The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mediawiki::Blame::Revision - Mediawiki revision class

VERSION

This document describes Mediawiki::Blame::Revision version 0.0.3

SYNOPSIS

    print $rev->r_id;
    print $rev->timestamp;
    print $rev->contributor;
    for (@{ $rev->text }) {
        print;
    };

DESCRIPTION

This module represents a revision on Mediawiki.

INTERFACE

r_id

Returns the revision id associated with the revision. It is a natural number. Later revisions have higher numbers.

timestamp

Returns the timestamp when the revision was made. It is in ISO 8601 format, for instance 2007-07-23T21:43:56Z.

contributor

Returns the contributor who made the revision. This is either a Mediawiki username or an IP address.

text

Returns an arrayref of lines submitted for the revision. This is the whole text of the revision, not the difference to the previous one.