import userlib import wikipedia site = wikipedia.getSite() for username in list: user = userlib.User(site,username) user.sendMail('Subject','email contents')
On Sat, Nov 9, 2013 at 9:53 AM, John <phoenixoverr...@gmail.com> wrote: > If you can get a list of users, perhaps from a database query, its about 5 > lines of code to mass email them. > > On Sat, Nov 9, 2013 at 9:04 AM, Fred Bauder <fredb...@fairpoint.net>wrote: > >> > Depends on the wiki configuration. It is fairly easy to mass email all >> > users who have email enabled, via pywikibot >> >> Perhaps I will struggle with pywikibot again... Can't be any harder than >> cube roots. >> >> Fred >> >> > >> > On Sat, Nov 9, 2013 at 7:08 AM, Fred Bauder <fredb...@fairpoint.net> >> > wrote: >> > >> >> Is there a way to easily send an email message to all users registered >> >> with a wiki? Perhaps to give out a new url if the wiki has moved. >> >> >> >> Fred >> >> >> >> >> >> _______________________________________________ >> >> MediaWiki-l mailing list >> >> MediaWiki-l@lists.wikimedia.org >> >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l >> >> >> > >> >> >> > _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l