Index: trunk/phase3/includes/SpecialWhatlinkshere.php |
— | — | @@ -156,7 +156,7 @@ |
157 | 157 | /* Offset must be an integral. */ |
158 | 158 | if ( !strlen( $options['offset'] ) || !preg_match( '/^[0-9]+$/', $options['offset'] ) ) |
159 | 159 | $options['offset'] = ''; |
160 | | - $options['target'] = $this->target->getPrefixedDBkey(); |
| 160 | + $options['target'] = $this->target->getPrefixedText(); |
161 | 161 | |
162 | 162 | // Read the rows into an array and remove duplicates |
163 | 163 | // templatelinks comes second so that the templatelinks row overwrites the |
— | — | @@ -298,7 +298,7 @@ |
299 | 299 | |
300 | 300 | $options['title'] = $wgTitle->getPrefixedText(); |
301 | 301 | |
302 | | - $f = Xml::openElement( 'form', array( 'method' => 'get', 'action' => "$wgScript" ) ) . |
| 302 | + $f = Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ) . |
303 | 303 | Xml::openElement( 'fieldset' ) . |
304 | 304 | Xml::element( 'legend', array(), wfMsg( 'whatlinkshere' ) ) . |
305 | 305 | Xml::inputLabel( wfMsg( 'whatlinkshere-page' ), 'target', 'mw-whatlinkshere-target', 40, $options['target'] ) . ' '; |