Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 > Mediawiki-Blame > Mediawiki::Blame::Revision

Download:
Mediawiki-Blame-0.0.3.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.0.3   Source  

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.

syntax highlighting: