DOKK / manpages / debian 12 / libmediawiki-dumpfile-perl / MediaWiki::DumpFile::Compat::link.3pm.en
MediaWiki::DumpFile::Compat::link(3pm) User Contributed Perl Documentation MediaWiki::DumpFile::Compat::link(3pm)

Parse::MediaWikiDump::link - Object representing a link from one article to another

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

$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
2022-06-15 perl v5.34.0