OutputPage::showPermissionsErrorPage displays a login prompt for anonymous (IP) users who can't perform certain actions read, edit, create and upload), if it could be solved by logging in, e.g.:
Temporary users encounter an error explaining that they are not in the correct groups, e.g.:
However, temporary users cannot be added to groups (see T330816), so the login message would be more helpful.

