r57996 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57995‎ | r57996 | r57997 >
Date:08:22, 22 October 2009
Author:overlordq
Status:ok
Tags:
Comment:
Followup to r57868: some maint scripts still call recordUpload which did not get updated when getInitialPageText was moved to a different class
Modified paths:
  • /trunk/phase3/includes/filerepo/LocalFile.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/LocalFile.php
@@ -778,7 +778,7 @@
779779 function recordUpload( $oldver, $desc, $license = '', $copyStatus = '', $source = '',
780780 $watch = false, $timestamp = false )
781781 {
782 - $pageText = UploadForm::getInitialPageText( $desc, $license, $copyStatus, $source );
 782+ $pageText = SpecialUpload::getInitialPageText( $desc, $license, $copyStatus, $source );
783783 if ( !$this->recordUpload2( $oldver, $desc, $pageText ) ) {
784784 return false;
785785 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57868Rewrote Special:Upload to allow easier extension. Mostly backwards compatible...btongminh19:41, 18 October 2009

Status & tagging log