On Mon, Aug 6, 2012 at 10:24 PM, Jani Patokallio <jpatokal(a)iki.fi> wrote:
If I'm reading http://www.mediawiki.org/wiki/API:E-mail
there appear to be no (technical) restrictions preventing anybody
capable of creating a MediaWiki account from spamming every user with
a registered mailing address. Please tell me I'm wrong, and I'm not
going to wake up some day to an avalanche of Wikipedia e-mail about
Viagra and penis extensions in my inbox?
I'm asking because I'm about to add an email operation to my
MediaWiki::Gateway Ruby gem, and would prefer that this not be used
Sending e-mail to other users, regardless of whether it's done through
the user interface or the API, is subject to
$wgRateLimits['emailuser'] . Unfortunately, MediaWiki doesn't ship
with sane defaults for these rate limits (they're set to unlimited),
but Wikipedia has these limits set.