]
];
- $htmlForm = HTMLForm::factory( 'inline', $formDescriptor, $this->getContext() );
- $htmlForm->setWrapperLegendMsg( 'withoutinterwiki-legend' )
+ $htmlForm = HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() );
+ $htmlForm->setWrapperLegend( '' )
->setSubmitTextMsg( 'withoutinterwiki-submit' )
->setMethod( 'get' )
->prepareForm()
'join_conds' => [ 'langlinks' => [ 'LEFT JOIN', 'll_from = page_id' ] ]
];
if ( $this->prefix ) {
- $dbr = wfGetDB( DB_SLAVE );
+ $dbr = wfGetDB( DB_REPLICA );
$query['conds'][] = 'page_title ' . $dbr->buildLike( $this->prefix, $dbr->anyString() );
}