Mediawiki::Blame::Line - Revision line class
This document describes Mediawiki::Blame::Line version 0.0.3
print join "\t", $rev->r_id, $rev->timestamp, $rev->contributor, $rev->text;
This module represents an line of a certain revision, annotated with who changed it last.
Returns the revision id of the revision when the line was changed last. It is a natural number. Later revisions have higher numbers.
Returns the timestamp when the line was changed last. It is in ISO 8601 format, for instance 2007-07-23T21:43:56Z.
2007-07-23T21:43:56Z
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.
undef
Returns the text of the line. This is source text with Mediawiki markup, not in HTML.
To install Mediawiki::Blame, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mediawiki::Blame
CPAN shell
perl -MCPAN -e shell install Mediawiki::Blame
For more information on module installation, please visit the detailed CPAN module installation guide.