Index: trunk/extensions/FileAttach/FileAttach.php |
— | — | @@ -159,7 +159,7 @@ |
160 | 160 | * - this instance puts the original instance back and changes the redirect |
161 | 161 | * - the upload hook and redirect are on line 434,435 of SpecialUpload.php |
162 | 162 | */ |
163 | | -class FileAttachDummyOutput { |
| 163 | +class FileAttachDummyOutput extends OutputPage { |
164 | 164 | function redirect( $url ) { |
165 | 165 | global $wgOut; |
166 | 166 | $wgOut = FileAttach::$wgOut; |