Index: trunk/extensions/Filepath/SpecialFilepath_body.php |
— | — | @@ -48,17 +48,18 @@ |
49 | 49 | } |
50 | 50 | |
51 | 51 | function execute() { |
52 | | - global $wgOut, $wgTitle; |
| 52 | + global $wgOut, $wgTitle, $wgScript; |
53 | 53 | |
54 | 54 | $wgOut->addHTML( |
55 | 55 | wfElement( 'form', |
56 | 56 | array( |
57 | 57 | 'id' => 'specialfilepath', |
58 | 58 | 'method' => 'get', |
59 | | - 'action' => $wgTitle->escapeLocalUrl() |
| 59 | + 'action' => $wgScript, |
60 | 60 | ), |
61 | 61 | null |
62 | 62 | ) . |
| 63 | + wfHidden( 'title', $wgTitle->getPrefixedText() ) . |
63 | 64 | wfOpenElement( 'label' ) . |
64 | 65 | wfMsgHtml( 'filepath_page' ) . |
65 | 66 | ' ' . |