User "Awjrichards" posted a comment on MediaWiki.r96927.

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

Mods to make the DonationInterface tests accurate again.Fundraiser Card #285
Modifications to DonationInterface so RapidHTML works in a gateway-agnostic 
sort of way.
Also, some clean up: followup r95723, and mods to the tests.

Comment:

In DonationData.php:
<pre>
        function wasPosted() {
                //TODO: Get rid of these log statements. 
                if ( $this->isSomething( 'posted' ) ) {
                        return true;
                }
                return false;
        }
</pre>
MW actually gives you this for free - $wgRequest->wasPosted() (see 
http://svn.wikimedia.org/doc/classWebRequest.html#ac071f0bf11ae22c677678688e4818392).
  Probably best to stick with that unless you have other dark magic to do.

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

Reply via email to