r113242 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113241‎ | r113242 | r113243 >
Date:16:09, 7 March 2012
Author:nad
Status:deferred
Tags:
Comment:
FileAttachDummyOutput should extend normal OutputPage
Modified paths:
  • /trunk/extensions/FileAttach/FileAttach.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FileAttach/FileAttach.php
@@ -159,7 +159,7 @@
160160 * - this instance puts the original instance back and changes the redirect
161161 * - the upload hook and redirect are on line 434,435 of SpecialUpload.php
162162 */
163 -class FileAttachDummyOutput {
 163+class FileAttachDummyOutput extends OutputPage {
164164 function redirect( $url ) {
165165 global $wgOut;
166166 $wgOut = FileAttach::$wgOut;

Status & tagging log