Service for compat reading of links tables.
More...
Service for compat reading of links tables.
- Since
- 1.39
Definition at line 17 of file LinksMigration.php.
◆ __construct()
◆ getLinksConditions()
| MediaWiki\Linker\LinksMigration::getLinksConditions |
( |
string | $table, |
|
|
LinkTarget | $linkTarget ) |
Return the conditions to be used in querying backlinks to a page.
- Parameters
-
| string | $table | |
| LinkTarget | $linkTarget | |
- Returns
- array
Definition at line 86 of file LinksMigration.php.
◆ getQueryInfo()
| 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.
- Parameters
-
| string | $table | |
| string | $joinTable | table to end the join chain. Most of the time it's linktarget |
| string | $joinType | |
- Returns
- array
Definition at line 104 of file LinksMigration.php.
◆ getTitleFields()
| MediaWiki\Linker\LinksMigration::getTitleFields |
( |
string | $table | ) |
|
◆ $mapping
| array [] MediaWiki\Linker\LinksMigration::$mapping |
|
static |
◆ $prefixToTableMapping
| string [] MediaWiki\Linker\LinksMigration::$prefixToTableMapping |
|
static |
Initial value:= [
'tl' => 'templatelinks',
'pl' => 'pagelinks',
'cl' => 'categorylinks',
'exl' => 'existencelinks',
'il' => 'imagelinks',
]
Definition at line 66 of file LinksMigration.php.
The documentation for this class was generated from the following file: