$3 in logentry-rights-rights should support gender. It currently doesn't appear to do so, as it's a link to a user page. If that user page is on another wiki, gender cannot be determined, but if it's on the local wiki, it can be, and should be.
Related Gerrit Patches:
|mediawiki/core : master||Add GENDER support to $3 in logentry-rights-rights|