Merge "SpecialBotPasswords: Use LinkRenderer instead of Linker::link()"
This commit is contained in:
commit
9b53775d8c
1 changed files with 3 additions and 5 deletions
|
|
@ -162,6 +162,7 @@ class SpecialBotPasswords extends FormSpecialPage {
|
|||
];
|
||||
|
||||
} else {
|
||||
$linkRenderer = $this->getLinkRenderer();
|
||||
$dbr = BotPassword::getDB( DB_SLAVE );
|
||||
$res = $dbr->select(
|
||||
'bot_passwords',
|
||||
|
|
@ -174,12 +175,9 @@ class SpecialBotPasswords extends FormSpecialPage {
|
|||
'section' => 'existing',
|
||||
'type' => 'info',
|
||||
'raw' => true,
|
||||
'default' => Linker::link(
|
||||
'default' => $linkRenderer->makeKnownLink(
|
||||
$this->getPageTitle( $row->bp_app_id ),
|
||||
htmlspecialchars( $row->bp_app_id ),
|
||||
[],
|
||||
[],
|
||||
[ 'known' ]
|
||||
$row->bp_app_id
|
||||
),
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue