On Mon, 29 Dec 2014 14:36:38 +0100, Michael Renner michael.renner@gmx.de wrote:
What I miss is a possibility to redirect the (not logged in) users to the login page instead of showing them a "you must be logged in ...." page.
Hmm. We already do this, but only if something directly requires the user to be logged-in (=to have an account), such as Special:Watchlist or Special:Preferences. We don't generally do it if something requires the user to have a permission that logged-in users happen to have, like in your case. Perhaps we should.
Coding-wise, that would probably require modifying the PermissionsError class to work a bit more like the UserNotLoggedIn class.