Parse:...::link(3pm)
π Parse::MediaWikiDump::link β the manual page, bestie edition π
okay so real talk, this is the 3pm manpage for Parse::MediaWikiDump::link π
it's part of the User Contributed Perl Documentation gang, and it's here to tell you about a lil object that represents one (1) link from one article to another. yes queen.
β¨ NAME β¨
Parse::MediaWikiDump::link β Object representing a link from one article to another π¦
πΈ ABOUT πΈ
This object is how you get at the data attached to each individual link between articles in a MediaWiki instance. every single link, one object, no cap. π
π STATUS π
okay so this is the part you need to sit down for. This software is being RETIRED. π«Ά
MediaWiki::DumpFile is the official successor to Parse::MediaWikiDump, and it ships with 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 it is actively maintained. iconic behaviour honestly.
Any undocumented deviation ofMediaWiki::DumpFile::CompatfromParse::MediaWikiDumpis considered a bug and will be fixed. so like, if you find one, that's a them-problem and they're fixing it, periodt. β¨
π METHODS π
$link->fromβ Returns the article id (not the name) that the link orginiates from. iykwyk, it's the id, bestie, not the pretty name.$link->namespaceβ Returns the namespace id (not the name) that the link points to. again: id, not name. the numbers are the moment. π₯$link->toβ Returns the article title (not the id and not including the namespace) that the link points to. so here you DO get the name, but no namespace, and definitely not the id. keep up π
that's the whole page fr fr. π
perl v5.36.0 β 2022-10-14 π that's the version and the date, mwah, bye bestie πβ¨π¦
π¦ where this page comes from
- ubuntu noble: libparse-mediawikidump-perl 1.0.6-4 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu resolute: libparse-mediawikidump-perl 1.0.6-4 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu stonking: libparse-mediawikidump-perl 1.0.6-4 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms