Index: trunk/phase3/includes/specials/SpecialListfiles.php |
— | — | @@ -158,10 +158,10 @@ |
159 | 159 | } |
160 | 160 | |
161 | 161 | function getForm() { |
162 | | - global $wgRequest, $wgMiserMode; |
| 162 | + global $wgRequest, $wgScript, $wgMiserMode; |
163 | 163 | $search = $wgRequest->getText( 'ilsearch' ); |
164 | 164 | |
165 | | - $s = Xml::openElement( 'form', array( 'method' => 'get', 'action' => $this->getTitle()->getLocalURL(), 'id' => 'mw-listfiles-form' ) ) . |
| 165 | + $s = Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript, 'id' => 'mw-listfiles-form' ) ) . |
166 | 166 | Xml::openElement( 'fieldset' ) . |
167 | 167 | Xml::element( 'legend', null, wfMsg( 'listfiles' ) ) . |
168 | 168 | Xml::tags( 'label', null, wfMsgHtml( 'table_pager_limit', $this->getLimitSelect() ) ); |