https://bugzilla.wikimedia.org/show_bug.cgi?id=53065
Web browser: ---
Bug ID: 53065
Summary: Fatal error: Using $this when not in object context
in SpecialUpload.php on line 686
Product: MediaWiki
Version: 1.22-git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Uploading
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
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";
}
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l