From: Brion Vibber Date: Sat, 27 Oct 2007 16:11:51 +0000 (+0000) Subject: * Don't put _ into the title in the form X-Git-Tag: 1.31.0-rc.0~51074 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=114fb4e555eb4e4fb2c8e131a3e2e754bc36f9b9;p=lhc%2Fweb%2Fwiklou.git * Don't put _ into the title in the form * Skip some useless quotes --- 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'] ) . ' ';