MediaWiki master
MediaWiki\ExternalLinks\ExternalLinksLookup Class Reference

Functions for looking up externallinks table. More...

Static Public Member Functions

static getExternalLinksForPage (int $pagId, IReadableDatabase $dbr, $fname)
 Return an array of external links for a given page id.
 

Detailed Description

Functions for looking up externallinks table.

Definition at line 28 of file ExternalLinksLookup.php.

Member Function Documentation

◆ getExternalLinksForPage()

static MediaWiki\ExternalLinks\ExternalLinksLookup::getExternalLinksForPage ( int $pagId,
IReadableDatabase $dbr,
$fname )
static

Return an array of external links for a given page id.

Stability: stable
to call
Parameters
int$pagId
IReadableDatabase$dbr
string$fname
Returns
string[] array of external links

Definition at line 39 of file ExternalLinksLookup.php.

References Wikimedia\Rdbms\IReadableDatabase\newSelectQueryBuilder(), and MediaWiki\ExternalLinks\LinkFilter\reverseIndexes().


The documentation for this class was generated from the following file: