r96612 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96611‎ | r96612 | r96613 >
Date:20:12, 8 September 2011
Author:demon
Status:ok
Tags:
Comment:
Pass second param to article constructor per r86166
Modified paths:
  • /trunk/extensions/FileAttach/FileAttach.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FileAttach/FileAttach.php
@@ -95,7 +95,7 @@
9696 if( $attachto = $wgRequest->getText( 'attachto', '' ) ) {
9797 self::$uploadForm = true;
9898 $title = Title::newFromText( $attachto );
99 - self::$attachto = new Article( $title );
 99+ self::$attachto = new Article( $title, 0 );
100100 $wgHooks['SpecialUploadComplete'][] = 'FileAttach::onSpecialUploadComplete';
101101 }
102102 return true;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r86166attachment process wasnt working if upload warning happenednad01:02, 16 April 2011

Status & tagging log