MediaWiki REL1_40
|
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 | $mapping |
static | $prefixToTableMapping |
Service for compat reading of links tables.
Definition at line 32 of file LinksMigration.php.
MediaWiki\Linker\LinksMigration::__construct | ( | Config | $config, |
LinkTargetLookup | $linktargetLookup ) |
Config | $config | |
LinkTargetLookup | $linktargetLookup |
Definition at line 59 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 71 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 98 of file LinksMigration.php.
References SCHEMA_COMPAT_READ_NEW.
MediaWiki\Linker\LinksMigration::getTitleFields | ( | $table | ) |
Definition at line 131 of file LinksMigration.php.
References SCHEMA_COMPAT_READ_NEW.
Referenced by ApiQueryBacklinks\__construct().
|
static |
Definition at line 40 of file LinksMigration.php.
|
static |
Definition at line 51 of file LinksMigration.php.