From 114fb4e555eb4e4fb2c8e131a3e2e754bc36f9b9 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 27 Oct 2007 16:11:51 +0000 Subject: [PATCH] * Don't put _ into the title in the form * Skip some useless quotes --- includes/SpecialWhatlinkshere.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialWhatlinkshere.php b/includes/SpecialWhatlinkshere.php index 8f2750dfaf..881510c9a8 100644 --- a/includes/SpecialWhatlinkshere.php +++ b/includes/SpecialWhatlinkshere.php @@ -156,7 +156,7 @@ class WhatLinksHerePage { /* Offset must be an integral. */ if ( !strlen( $options['offset'] ) || !preg_match( '/^[0-9]+$/', $options['offset'] ) ) $options['offset'] = ''; - $options['target'] = $this->target->getPrefixedDBkey(); + $options['target'] = $this->target->getPrefixedText(); // Read the rows into an array and remove duplicates // templatelinks comes second so that the templatelinks row overwrites the @@ -298,7 +298,7 @@ class WhatLinksHerePage { $options['title'] = $wgTitle->getPrefixedText(); - $f = Xml::openElement( 'form', array( 'method' => 'get', 'action' => "$wgScript" ) ) . + $f = Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ) . Xml::openElement( 'fieldset' ) . Xml::element( 'legend', array(), wfMsg( 'whatlinkshere' ) ) . Xml::inputLabel( wfMsg( 'whatlinkshere-page' ), 'target', 'mw-whatlinkshere-target', 40, $options['target'] ) . ' '; -- 2.20.1