}
protected function getFormFields() {
- $user = $this->getUser();
- $request = $this->getRequest();
-
$fields = [];
if ( $this->par !== null ) {
];
} else {
+ $linkRenderer = $this->getLinkRenderer();
$dbr = BotPassword::getDB( DB_SLAVE );
$res = $dbr->select(
'bot_passwords',
'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
),
];
}