Last modified: 2013-08-20 20:54:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T55065, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53065 - Fatal error: Using $this when not in object context in SpecialUpload.php on line 686
Fatal error: Using $this when not in object context in SpecialUpload.php on ...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.22.0
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-19 19:19 UTC by Sam Reed (reedy)
Modified: 2013-08-20 20:54 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2013-08-19 19:19:45 UTC
Fatal error:  Using $this when not in object context in /usr/local/apache/common-local/php-1.22wmf13/includes/specials/SpecialUpload.php on line 686


	/**
	 * Construct a warning and a gallery from an array of duplicate files.
	 * @param $dupes array
	 * @return string
	 */
	public static function getDupeWarning( $dupes ) {
		if ( !$dupes ) {
			return '';
		}

		$gallery = ImageGalleryBase::factory();
		$gallery->setContext( $this->getContext() );
		$gallery->setShowBytes( false );
		foreach ( $dupes as $file ) {
			$gallery->add( $file->getTitle() );
		}
		return '<li>' .
			wfMessage( 'file-exists-duplicate' )->numParams( count( $dupes ) )->parse() .
			$gallery->toHtml() . "</li>\n";
	}
Comment 1 Gerrit Notification Bot 2013-08-19 19:23:05 UTC
Change 79850 had a related patch set uploaded by Reedy:
Fatal error: Using $this when not in object context in SpecialUpload.php on line 686

https://gerrit.wikimedia.org/r/79850
Comment 2 Gerrit Notification Bot 2013-08-19 19:25:06 UTC
Change 79851 had a related patch set uploaded by Reedy:
Fatal error: Using $this when not in object context in SpecialUpload.php on line 686

https://gerrit.wikimedia.org/r/79851
Comment 3 Gerrit Notification Bot 2013-08-19 19:31:50 UTC
Change 79851 merged by jenkins-bot:
Fatal error: Using $this when not in object context in SpecialUpload.php on line 686

https://gerrit.wikimedia.org/r/79851
Comment 4 Gerrit Notification Bot 2013-08-20 20:47:04 UTC
Change 79850 merged by jenkins-bot:
Fatal error: Using $this when not in object context in SpecialUpload.php on line 686

https://gerrit.wikimedia.org/r/79850

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links