User "Jeroen De Dauw" posted a comment on MediaWiki.r99619.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99619#c24459
Commit summary:

Follow up to r99618; matching fix made in contest extension

Comment:

The point of this code is that the user can click the back button after 
creating a campaign and re-submit the form, which will result in a campaign 
with existing name to be submitted, but without an ID. The first object that is 
created is just to do a select for the id, if it exists. We could continue to 
use this object, and set the submitted data on it, and then save it, but given 
that you can only do this when the id is missing and the name exists, this 
would just result in more code, more complexity and absolutely no real 
performance gain (it won't change the queries done at all).

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to