MediaWiki master
|
Service for compat reading of links tables. More...
Public Member Functions | |
__construct (Config $config, LinkTargetLookup $linktargetLookup) | |
getLinksConditions (string $table, LinkTarget $linkTarget) | |
Return the conditions to be used in querying backlinks to a page. | |
getQueryInfo (string $table, string $joinTable='linktarget', string $joinType='JOIN') | |
Return the query to be used when you want to or from a group of pages. | |
getTitleFields ( $table) | |
Static Public Attributes | |
static array[] | $mapping |
static string[] | $prefixToTableMapping |
Service for compat reading of links tables.
Definition at line 32 of file LinksMigration.php.
MediaWiki\Linker\LinksMigration::__construct | ( | Config | $config, |
LinkTargetLookup | $linktargetLookup ) |
Definition at line 80 of file LinksMigration.php.
MediaWiki\Linker\LinksMigration::getLinksConditions | ( | string | $table, |
LinkTarget | $linkTarget ) |
Return the conditions to be used in querying backlinks to a page.
string | $table | |
LinkTarget | $linkTarget |
Definition at line 92 of file LinksMigration.php.
MediaWiki\Linker\LinksMigration::getQueryInfo | ( | string | $table, |
string | $joinTable = 'linktarget', | ||
string | $joinType = 'JOIN' ) |
Return the query to be used when you want to or from a group of pages.
string | $table | |
string | $joinTable | table to end the join chain. Most of the time it's linktarget |
string | $joinType |
Definition at line 119 of file LinksMigration.php.
MediaWiki\Linker\LinksMigration::getTitleFields | ( | $table | ) |
Definition at line 152 of file LinksMigration.php.
Referenced by MediaWiki\Api\ApiQueryBacklinks\__construct().
|
static |
Definition at line 41 of file LinksMigration.php.
|
static |
Definition at line 74 of file LinksMigration.php.