Parse:...::link(3pm)

πŸ“¦
version 1.0.6 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

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 of MediaWiki::DumpFile::Compat from Parse::MediaWikiDump is 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