Currently, as part of the manual permission expiry process, a notification template is posted to a user's talk page "a few days" before their rights are removed.
When this functionality is available in core MediaWiki, it would be nice to provide users with a notification that their rights are soon to expire. Possibly a week before expiry, or a day before if the rights were assigned for less than two weeks. It would also be nice to send a notification when the rights finally expire.
- Purpose of the notification: Provide users with notice that their membership of a user group/groups are about to expire/have expired, giving them the opportunity to start a community discussion to have their rights renewed, or just acting as a courtesy notification.
- Notification name: user-rights or user-rights-expiry (not sure if it needs to be separate from existing user-rights notification)
- What triggers notification?: The notifications would have to be timed, rather than being created reactively. See my comment below.
- "Notice" or "Alert"?: Alert (?)
- Notification type (standard, bundled, expandable bundle): Standard
For a single message
- Header: Your user rights [are about to expire/have expired]
- Body: Your sysop and bureaucrat permissions [will expire on DATE/have expired].
For Bundled Messages
- Main, bundling message: Don't think we need bundling.
- Subsidiary, bundled message:
- Primary link target: Not sure. The existing user-rights notification points to Special:ListGroupRights, which is a pretty silly target. Personally I don't think user rights notifications need any target at all.
- Primary link label (for email display only):
- #1 secondary link target: Log entry where the expiring user groups were assigned (see UserRightsPresentationModel::getLogLink())
- #1 secondary link label: User rights log
- #2 secondary link target:
- #2 secondary link label:
- Icon name: user-rights