dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec8813
)
Show redirect fragments on Special:ListRedirects
author
Fomafix
<fomafix@googlemail.com>
Tue, 1 Aug 2017 18:30:34 +0000
(20:30 +0200)
committer
Fomafix
<fomafix@googlemail.com>
Tue, 1 Aug 2017 18:32:56 +0000
(20:32 +0200)
current:
* Redirect → Target
* Redirect with fragment → Target
new:
* Redirect → Target
* Redirect with fragment → Target#Anchor
Change-Id: I78ae08714508ca19eee717a661a62b8ea0a275de
includes/specials/SpecialListredirects.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialListredirects.php
b/includes/specials/SpecialListredirects.php
index
5f38629
..
f81c03c
100644
(file)
--- a/
includes/specials/SpecialListredirects.php
+++ b/
includes/specials/SpecialListredirects.php
@@
-137,7
+137,7
@@
class ListredirectsPage extends QueryPage {
# Make a link to the destination page
$lang = $this->getLanguage();
$arr = $lang->getArrow() . $lang->getDirMark();
- $targetLink = $linkRenderer->makeLink( $target );
+ $targetLink = $linkRenderer->makeLink( $target
, $target->getFullText()
);
return "$rd_link $arr $targetLink";
} else {