Skip to content

Commit

Permalink
Add omited prefix in related articles
Browse files Browse the repository at this point in the history
(cherry picked from commit acf625d)
  • Loading branch information
lens0021 committed Jun 11, 2021
1 parent d80f09c commit 8111eb7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Versions and bullets are arranged chronologically from latest to oldest.

## Unreleased

- Add omited prefix in related articles.

## v1.1.0

- Add backlinks to the related articles.
Expand Down
2 changes: 1 addition & 1 deletion includes/Hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ private function getLinksTitle( Title $title ): array {

$titles = [];
foreach ( $result as $row ) {
$titles[] = Title::newFromRow( $row )->getText();
$titles[] = Title::newFromRow( $row )->getPrefixedText();
}

return $titles;
Expand Down

0 comments on commit 8111eb7

Please sign in to comment.