Last modified: 2007-09-04 16:11:07 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 T13166, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11166 - Some upload checks not triggered with AJAX framework enabled
Some upload checks not triggered with AJAX framework enabled
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.11.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-03 15:14 UTC by Raimond Spekking
Modified: 2007-09-04 16:11 UTC (History)
0 users

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


Attachments

Description Raimond Spekking 2007-09-03 15:14:37 UTC
(based on trunk r25439)

When the AJAX framework is enabled some upload checks are not triggered:

SpecialUpload::getExistsWarning:

- if( $file->exists() )
   works well

- elseif ( $file_lc && $file_lc->exists() )
   not triggered

- elseif ( ( substr( $partname , 3, 3 ) == 'px-' ....
   not triggered

- if ( $file->wasDeleted() )
   not triggered

No issue with $wgUseAjax = false.
Comment 1 Raimond Spekking 2007-09-04 16:11:07 UTC
Fixed with r25481 by Brion. Thanks a lot :-)

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


Navigation
Links