Merge "SpecialBotPasswords: Use LinkRenderer instead of Linker::link()"

This commit is contained in:
jenkins-bot 2016-06-23 12:46:50 +00:00 committed by Gerrit Code Review
commit 9b53775d8c

View file

@ -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
),
];
}