Email function gone from toolbox after upgrade
Upon upgrading several wiki's to MediaWiki 1.16.0 some time ago, in each case the e-mail link disappeared from the toolbox on he left. Attempting the function manually by typing into the address bar gives error messages:
- attempts in the local language give: "There is currently no text in this page"
- attempts in English give: "You must be logged in and have a valid e-mail address in your preferences to send e-mail to other users."
'My preferences', however, says that the e-mail address was in fact authenticated; the link was there and working flawlessly before the upgrade.
I have not found a solution. Confirming the e-mail address anew does not help.
Any ideas?
I can't reproduce this.
Try upgrading from version 1.14 or 1.13.
I don't see why that would make a difference. Do you have a link to your wiki?
The most active one: http://nl.wikisage.org
Could it be a problem with one of the extensions? We have: CategoryTree, CheckUser, Cite, ConfirmEdit, Interwiki, Mibbit, Newuserlog, ParserFunctions, RenameUser, UserMerge, UsernameBlacklist.
Regards,
It looks like none of the groups on your wiki have the sendemail right. Perhaps you've been overwriting your groups' permissions arrays, rather than adding to them?
The error message you were getting is rather misleading; that appears to have been fixed in trunk.
As a side note, you can get rid of the Newuserlog extension—it was integrated into the core.
Ah, nice.
Could it be that since 1.16 (or 1.15) the sendemail right must be made explicit in localsettings, while before it was the default? I have created a virgin wiki where no groups have been created and there the option to send email is in the toolbox.
It seems to work now again, with the line
$wgGroupPermissions['user']['sendemail'] = true;
added to LocalSettings.php.
Thanks!
I think the sendemail right was added in 1.16. It should have automatically been granted: that's why I asked whether you're overwriting the permissions in some way you shouldn't. You might want to go through your rights settings and clean them up.