includes/filerepo/file/ForeignDBFile.php 1 location
|
@@ 192-197 (lines=6) @@
|
| 189 |
|
] |
| 190 |
|
); |
| 191 |
|
|
| 192 |
|
if ( $pageId !== false ) { |
| 193 |
|
$url = $this->repo->makeUrl( [ 'curid' => $pageId ] ); |
| 194 |
|
if ( $url !== false ) { |
| 195 |
|
return $url; |
| 196 |
|
} |
| 197 |
|
} |
| 198 |
|
return null; |
| 199 |
|
} |
| 200 |
|
|
includes/filerepo/file/LocalFile.php 1 location
|
@@ 784-789 (lines=6) @@
|
| 781 |
|
public function getDescriptionShortUrl() { |
| 782 |
|
$pageId = $this->title->getArticleID(); |
| 783 |
|
|
| 784 |
|
if ( $pageId !== null ) { |
| 785 |
|
$url = $this->repo->makeUrl( [ 'curid' => $pageId ] ); |
| 786 |
|
if ( $url !== false ) { |
| 787 |
|
return $url; |
| 788 |
|
} |
| 789 |
|
} |
| 790 |
|
return null; |
| 791 |
|
} |
| 792 |
|
|