Last modified: 2010-05-15 15:42:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8494 - Missing global declaration in SpecialUpload::curlCopy()
Missing global declaration in SpecialUpload::curlCopy()
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-01-04 23:51 UTC by Rick
Modified: 2010-05-15 15:42 UTC (History)
0 users

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


Description Rick 2007-01-04 23:51:06 UTC
In includes/SpecialUpload.php, function curlCopy, when the user is not allowed to upload by URL, it 
throws a PHP error because $wgOut is not declared as a global variable at the start of the function.

To fix, simply add $wgOut to the list of global variables at the start of the function.
Comment 1 Rob Church 2007-01-05 00:11:33 UTC
This was fixed in r17880.

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