++ed by:
FANY

1 PAUSE user

Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯

NAME

Mediawiki::Blame::Line - Revision line class

VERSION

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

SYNOPSIS

    print join "\t",
        $rev->r_id,
        $rev->timestamp,
        $rev->contributor,
        $rev->text;

DESCRIPTION

This module represents an line of a certain revision, annotated with who changed it last.

INTERFACE

r_id

Returns the revision id of the revision when the line was changed last. It is a natural number. Later revisions have higher numbers.

timestamp

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

contributor

Returns the contributor who changed this line last. This is either a Mediawiki username or an IP address.

"r_id" and "contributor" can also return undef. This means that the line has been changed earlier than "timestamp" and than revisions have been fetched for analysing.

text

Returns the text of the line. This is source text with Mediawiki markup, not in HTML.