Parse::MediaWikiDump::link(3pm)

Parse::MediaWikiDump::link3pm

Object representing a link from one article to another

About

This object is used to access the data associated with each individual link between articles in a MediaWiki instance.

Status

This software is being RETIRED - MediaWiki::DumpFile is the official successor to Parse::MediaWikiDump and includes a compatibility library called MediaWiki::DumpFile::Compat that is 100% API compatible and is a near perfect standin for this module. It is faster in all instances where it counts and is actively maintained. Any undocumented deviation of MediaWiki::DumpFile::Compat from Parse::MediaWikiDump is considered a bug and will be fixed.

Methods

$link->from

Returns the article id (not the name) that the link orginiates from.

$link->namespace

Returns the namespace id (not the name) that the link points to

$link->to

Returns the article title (not the id and not including the namespace) that the link points to

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7–8
  3. 9–11
  4. 12–13

From libparse-mediawikidump-perl 1.0.6-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.