-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Roan Kattouw wrote:
btongminh(a)svn.wikimedia.org schreef:
Revision: 35681
Author: btongminh
Date: 2008-06-01 17:58:27 +0000 (Sun, 01 Jun 2008)
Log Message:
-----------
API: Add action=emailuser
Modified: trunk/phase3/RELEASE-NOTES
===================================================================
+* Added action=emailuser to send an email to a user
<snip>
+ $this->getMain()->requestWriteMode();
Do we really need requestWriteMode() here? Sending e-mails through the
wiki doesn't really qualify as writing IMO.
"Write-mode" should apply to any action that has side effects (modifying
data, causing anything to be sent to a third-party, etc).
It *must* be possible to clearly demarcate between read-only data access
and stuff that does stuff.
For that matter I'm verrrrrrrry leery of any automated interface for
email such as this.
- -- brion
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iEYEARECAAYFAkhEFZwACgkQwRnhpk1wk44y0ACeJJWowjOMiJD7ld+sXJQL6rRy
mYgAn2qyvMRRg8NngHCXyqYDGIoY4v2K
=Njqm
-----END PGP SIGNATURE-----