https://bugzilla.wikimedia.org/show_bug.cgi?id=30505
Web browser: ---
Bug #: 30505
Summary: Uploading fails where File page exists
Product: MediaWiki
Version: 1.19-svn
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Uploading
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
If you try to Special:Upload a file to the name of an image where the File:
page exists but the image does not, MW correctly mentions this and offers you
the chance to upload.
Clicking "Submit modified file description" results in an error.
I received two different errors before and after updating SVN to the latest
version.
Using the SVN codebase from a few days ago, this gave the following error:
Fatal error: Call to a member function getId() on a non-object in
[path]/includes/upload/UploadFromStash.php on line 32
Using 95194 (current svn), the following error is given:
Warning: preg_match() expects parameter 2 to be string, object given in
[path]/includes/upload/UploadStash.php on line 84
Catchable fatal error: Object of class UploadStashFile could not be converted
to string in [path]/includes/upload/UploadStash.php on line 85
To clarify:
-This is MW 1.19 SVN, up to date
-Uploading works fine, permissions/chmod are fine
-Image does not exist, but the File: page does
-In my scenario, we Special:Imported some pages which included File: pages, and
are retrospectively uploading the images through Special:Upload
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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