https://bugzilla.wikimedia.org/show_bug.cgi?id=39642

--- Comment #1 from Derk-Jan Hartman <hart...@videolan.org> 2012-08-25 16:45:25 
UTC ---
The destination filename check relies on a mw.Title object.

you can not have "File:.jpg"  as a valid title object, so errors are thrown.
Worse, you cannot fallback to returning null, because this is the only location
keeping track of the file extension.

Point of note. is it wise to have this as a mw.Title ? you can't seem to enter
'invalid titles' this way, which might be a bad UI experience ?

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to