Mediawiki::Blame::Revision - Mediawiki revision class


Mediawiki-Blame documentation  | view source Contained in the Mediawiki-Blame distribution.

Index


NAME

Top

Mediawiki::Blame::Revision - Mediawiki revision class

VERSION

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

This module represents a revision on Mediawiki.

INTERFACE

Top

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.


Mediawiki-Blame documentation  | view source Contained in the Mediawiki-Blame distribution.