I was trying to make an update to Manual:User rights but instead of text I only see gerrit:.... I actually have a gerrit account, so I tried to go and change the content there, but can't find it. Is there documentation of how this setup works somewhere? Thanks!
Topic on Project:Support desk
Appearance
What are you trying to update? [[gerrit:]] is used on the page as an interwiki prefix to link to changesets in gerrit.
I figured that it was a link to gerrit, but when I actually go to the gerrit in the link using the search box I was not able to find the content that populates into that spot on the wiki. So, there is fixing the content and understanding how this is set-up for next time. The specific thing I am trying to do is to add to the editmyprivateinfo right that it also sets whether a user can change their password.
I'm not really sure what you're clicking on to get just the gerrit change link. The actual text you would want to edit is MediaWiki:Right-editmyprivateinfo, which would be done in git or locally here. But I don't think your change is correct, I revoked that right on my local test wiki and I could still change my password. Also I don't really think it would make sense to have a right that disallows you from changing your password.
is this the part you are trying to edit?
|- |editmyprivateinfo |{{int|right-editmyprivateinfo}} |* |[[gerrit:67876|1.22+]]
Its a link to gerrit change 67876 (which is where the right was added). Its just a link, it is not populating the content.
I can't believe I didn't see that, of course it's a template call to right-editmyprivateinfo. Facepalm me.
@Dylsss, I have had to set a wiki from public to private, and add a generic account so people can log in to read but not edit. It's not a good solution, and I know it and have presented why it is problematic, and am looking for greener pastures, but for now my workplace wants it this way. So I need a way to make the generic account so the generic users of the account can't change the password for it. I was actually thinking about running a cron job to just set it back to what we want every 5 minutes.
When I change this setting on my wiki ($wgRevokePermissions['generic']['editmyprivateinfo'] = true;) the change password button in preferences disappears. I didn't test whether there are other ways (known URL, API or Special Pages links or something) that would still allow a password change. Are you saying that for you the change didn't make that button go away?
Yes, it did make the button go away, but you can still change the password by going to Special:ChangeCredentials.
Confirmed @Dylss. Which means even if I managed to hide that from Special Pages, it would still be available via link. Arguably it should not be if the editmyprivateinfo right is revoked, but there likely are more sides to that story. I still think it would be good to mention on mediawiki:right-editmyprivateinfo that the right controls the presence of that button, with your caveat. I will start a discussion on That discussion belongs on that page's discussion page, though, not here. I have started the conversation at Topic:Wp5sr4h7i526dpwh. Thanks @Dylsss and @Bawolff for pointing me in the right direction!