---
name: "MediaWiki::DumpFile::Compat::link"
section: "3pm"
platform: "linux"
package: "libmediawiki-dumpfile-perl"
version: "0.2.2-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/MediaWiki::DumpFile::Compat::link"
---

# MediaWiki::DumpFile::Compat::link(3pm)

Object representing a link from one article to another

## NAME

Parse::MediaWikiDump::link - 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.

## 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
