Index: trunk/phase3/includes/specials/SpecialGlobalFileUsage.php |
— | — | @@ -43,9 +43,9 @@ |
44 | 44 | /* Build form */ |
45 | 45 | $html = Xml::openElement( 'form', array( 'action' => $wgScript ) ) . "\n"; |
46 | 46 | // Name of SpecialPage |
47 | | - $html .= Xml::hidden( 'title', $this->getTitle()->getPrefixedText() ) . "\n"; |
| 47 | + $html .= Html::hidden( 'title', $this->getTitle()->getPrefixedText() ) . "\n"; |
48 | 48 | // Limit |
49 | | - $html .= Xml::hidden( 'limit', $wgRequest->getInt( 'limit', 50 ) ); |
| 49 | + $html .= Html::hidden( 'limit', $wgRequest->getInt( 'limit', 50 ) ); |
50 | 50 | // Input box with target prefilled if available |
51 | 51 | $formContent = "\t" . Xml::input( 'target', 40, is_null( $this->target ) ? '' |
52 | 52 | : $this->target->getText() ) |
Index: trunk/phase3/includes/specials/SpecialGlobalTemplateUsage.php |
— | — | @@ -46,9 +46,9 @@ |
47 | 47 | /* Build form */ |
48 | 48 | $html = Xml::openElement( 'form', array( 'action' => $wgScript ) ) . "\n"; |
49 | 49 | // Name of SpecialPage |
50 | | - $html .= Xml::hidden( 'title', $this->getTitle( )->getPrefixedText( ) ) . "\n"; |
| 50 | + $html .= Html::hidden( 'title', $this->getTitle( )->getPrefixedText( ) ) . "\n"; |
51 | 51 | // Limit |
52 | | - $html .= Xml::hidden( 'limit', $wgRequest->getInt( 'limit', 50 ) ); |
| 52 | + $html .= Html::hidden( 'limit', $wgRequest->getInt( 'limit', 50 ) ); |
53 | 53 | // Input box with target prefilled if available |
54 | 54 | $formContent = "\t" . Xml::input( 'target', 40, is_null( $this->target ) ? '' |
55 | 55 | : $this->target->getPrefixedText( ) ) |
— | — | @@ -92,7 +92,6 @@ |
93 | 93 | return; |
94 | 94 | } |
95 | 95 | |
96 | | - $offset = $query->getOffsetString( ); |
97 | 96 | $navbar = $this->getNavBar( $query ); |
98 | 97 | $targetName = $this->target->getPrefixedText( ); |
99 | 98 | |