function reallyGetQueryInfo( $namespace = null, $title = null ) {
$limitToTitle = !( $namespace === null && $title === null );
function reallyGetQueryInfo( $namespace = null, $title = null ) {
$limitToTitle = !( $namespace === null && $title === null );
'namespace' => 'pa.page_namespace',
'title' => 'pa.page_title',
'value' => 'pa.page_title',
'namespace' => 'pa.page_namespace',
'title' => 'pa.page_title',
'value' => 'pa.page_title',
'nsc' => 'rb.rd_namespace',
'tc' => 'rb.rd_title',
'iwc' => 'rb.rd_interwiki',
'nsc' => 'rb.rd_namespace',
'tc' => 'rb.rd_title',
'iwc' => 'rb.rd_interwiki',
'ra.rd_from = pa.page_id',
// Filter out redirects where the target goes interwiki (bug 40353).
'ra.rd_from = pa.page_id',
// Filter out redirects where the target goes interwiki (bug 40353).
'pb.page_title = ra.rd_title',
'rb.rd_from = pb.page_id',
'pb.page_title = ra.rd_title',
'rb.rd_from = pb.page_id',
// get a little more detail about each individual entry quickly
// using the filter of reallyGetQueryInfo.
if ( $result && !isset( $result->nsb ) ) {
// get a little more detail about each individual entry quickly
// using the filter of reallyGetQueryInfo.
if ( $result && !isset( $result->nsb ) ) {
- return '<del>' . Linker::link( $titleA, null, array(), array( 'redirect' => 'no' ) ) . '</del>';
+ return '<del>' . Linker::link( $titleA, null, [], [ 'redirect' => 'no' ] ) . '</del>';
$edit = Linker::linkKnown(
$titleA,
$this->msg( 'parentheses', $this->msg( 'editlink' )->text() )->escaped(),
$edit = Linker::linkKnown(
$titleA,
$this->msg( 'parentheses', $this->msg( 'editlink' )->text() )->escaped(),