|
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 (string $table) | |
Static Public Attributes | |
| static array[] | $mapping |
| static string[] | $prefixToTableMapping |
Service for compat reading of links tables.
Definition at line 17 of file LinksMigration.php.
| MediaWiki\Linker\LinksMigration::__construct | ( | Config | $config, |
| LinkTargetLookup | $linktargetLookup ) |
Definition at line 73 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 85 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 112 of file LinksMigration.php.
| MediaWiki\Linker\LinksMigration::getTitleFields | ( | string | $table | ) |
Definition at line 145 of file LinksMigration.php.
Referenced by MediaWiki\Api\ApiQueryBacklinks\__construct().
|
static |
Definition at line 26 of file LinksMigration.php.
|
static |
Definition at line 66 of file LinksMigration.php.