dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move IDatabase/IMaintainableDatabase to Rdbms namespace
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialBrokenRedirects.php
diff --git
a/includes/specials/SpecialBrokenRedirects.php
b/includes/specials/SpecialBrokenRedirects.php
index
8927fbf
..
cd9345d
100644
(file)
--- a/
includes/specials/SpecialBrokenRedirects.php
+++ b/
includes/specials/SpecialBrokenRedirects.php
@@
-21,6
+21,9
@@
* @ingroup SpecialPage
*/
* @ingroup SpecialPage
*/
+use Wikimedia\Rdbms\ResultWrapper;
+use Wikimedia\Rdbms\IDatabase;
+
/**
* A special page listing redirects to non existent page. Those should be
* fixed to point to an existing page.
/**
* A special page listing redirects to non existent page. Those should be
* fixed to point to an existing page.
@@
-136,13
+139,7
@@
class BrokenRedirectsPage extends QueryPage {
[ 'action' => 'edit' ]
);
}
[ 'action' => 'edit' ]
);
}
- $to = $linkRenderer->makeLink(
- $toObj,
- null,
- [],
- [],
- [ 'broken' ]
- );
+ $to = $linkRenderer->makeBrokenLink( $toObj );
$arr = $this->getLanguage()->getArrow();
$out = $from . $this->msg( 'word-separator' )->escaped();
$arr = $this->getLanguage()->getArrow();
$out = $from . $this->msg( 'word-separator' )->escaped();