https://bugzilla.wikimedia.org/show_bug.cgi?id=31946
Alex Monk <kren...@wikimedia.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kren...@wikimedia.org --- Comment #4 from Alex Monk <kren...@wikimedia.org> --- (In reply to Kevin Israel (PleaseStand) from comment #1) > Just a question: do we still need the AJAX destination filename check now > that we have the upload stash? > > Converting the check to use the API in a sensible manner has proven to be > quite a challenge, and I suppose that's why it hasn't been done yet. Unlike > SpecialUpload::ajaxGetExistsWarning(), API modules return error codes and > not messages in the user's language. > > I suppose I could add a "warnings only" mode to the upload API, which would > not require uploading an actual file. Then, if it returns an error or > warning code, the script could make a second API request for the actual > message text. There ought to be a better way to load fully parsed messages > such as https://commons.wikimedia.org/wiki/MediaWiki:Fileexists though. I moved that stuff to the API in Gerrit change 65641 -- 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