On 26/08/06, Steve Bennett stevage@gmail.com wrote:
If by any chance, anyone works on this, would it also be possible to do the name check *before* the upload, rather than afterwards? It's happened to me a couple of times that I've uploaded a file of several meg, wandered off, and found out later that it's waiting for me to confirm that I really do want to take the incredibly drastic step of replacing the spaces in the name with underscores.
That particular check should be binned, there's no real point in it; the image is addressed the same when editing, regardless.
You should find that the upload happens once; the code behind it "stashes" the file elsewhere when presenting warnings, and passes back a hidden token which lets MediaWiki know about the save state.
Rob Church