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. More... | |
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. More... | |
getTitleFields ( $table) | |
Static Public Attributes | |
static | $mapping |
static | $prefixToTableMapping |
Private Member Functions | |
assertMapping (string $table) | |
Private Attributes | |
Config | $config |
LinkTargetLookup | $linkTargetLookup |
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 58 of file LinksMigration.php.
References MediaWiki\Linker\LinksMigration\$config.
|
private |
Definition at line 136 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 70 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 93 of file LinksMigration.php.
References SCHEMA_COMPAT_READ_NEW.
MediaWiki\Linker\LinksMigration::getTitleFields | ( | $table | ) |
Definition at line 126 of file LinksMigration.php.
References SCHEMA_COMPAT_READ_NEW.
|
private |
Definition at line 35 of file LinksMigration.php.
Referenced by MediaWiki\Linker\LinksMigration\__construct().
|
private |
Definition at line 38 of file LinksMigration.php.
|
static |
Definition at line 40 of file LinksMigration.php.
Referenced by MigrateLinksTable\doDBUpdates().
|
static |
Definition at line 50 of file LinksMigration.php.