MediaWiki talk:Gadget-userRightsManager.js
This script, userRightsManager, is a JavaScript gadget which can be enabled or disabled in your Preferences. The discussion page is located at MediaWiki talk:Gadget-userRightsManager. |
i18n | Gadget translations:
internationalisation needs to be implemented |
edit request[edit]
{{Edit request}}
This portion of code:
var templates = {
'Autopatrolled': 'Autopatrolledgiven',
'AutoWikiBrowser': ,
'Confirmed': ,
'File mover': 'Filemovergiven',
'Rollback': 'Rollbackgiven'
};
needs to be replaced by this one:
var templates = {
'Autopatrolled': 'Autopatrolgiven',
'AutoWikiBrowser': ,
'Confirmed': ,
'File mover': 'FilemoverWelcome',
'Rollback': 'Rollbackgiven'
};
rubin16 (talk) 08:36, 17 June 2021 (UTC)
- Done Thanks for the improvement. —RP88 (talk) 04:35, 30 August 2021 (UTC)
add template to new line[edit]
The gadget is currently adding the Wikitext into the last line with content on the user talk page resulting in mal formatted content.
I think adding two empty lines in the text string would solve this.
236appendtext: `
237
238{{subst:` + templates[permission] + '}} ~~~~',
GPSLeo (talk) 14:21, 28 October 2023 (UTC)
- @GPSLeo: Can you give an example of a page where that happened? (If I understand what you mean correctly, then I think I [hopefully] fixed a similar case in another gadget with Special:Diff/816120987 – I wonder if something changed in MediaWiki…) Lucas Werkmeister (talk) 15:19, 28 October 2023 (UTC)
- This happened here and here. I do not know if real linke breaks in a `` block or \n is the better solution. As this was not noticed before I think there must have been a MediaWiki change and then many more tools would have similar problems. GPSLeo (talk) 16:57, 28 October 2023 (UTC)
- Done for now, but also created T349962, let’s see if that goes anywhere. --Lucas Werkmeister (talk) 18:18, 28 October 2023 (UTC)
- @GPSLeo: Follow-up question: can you pinpoint when this happened? (So I guess what I’m asking is, how frequently do you give out autopatrolled and other rights?) Lucas Werkmeister (talk) 18:43, 28 October 2023 (UTC)
- I used that gadget for the first time. But I had a look at the user rights log and checked the talk pages of users who got rights using the gadget. I wrote the result at the Phabricator ticket. GPSLeo (talk) 19:20, 28 October 2023 (UTC)
- Thanks! Let’s continue the investigation there then. --Lucas Werkmeister (talk) 19:22, 28 October 2023 (UTC)
- I used that gadget for the first time. But I had a look at the user rights log and checked the talk pages of users who got rights using the gadget. I wrote the result at the Phabricator ticket. GPSLeo (talk) 19:20, 28 October 2023 (UTC)
- @GPSLeo: Follow-up question: can you pinpoint when this happened? (So I guess what I’m asking is, how frequently do you give out autopatrolled and other rights?) Lucas Werkmeister (talk) 18:43, 28 October 2023 (UTC)
- Done for now, but also created T349962, let’s see if that goes anywhere. --Lucas Werkmeister (talk) 18:18, 28 October 2023 (UTC)
- This happened here and here. I do not know if real linke breaks in a `` block or \n is the better solution. As this was not noticed before I think there must have been a MediaWiki change and then many more tools would have similar problems. GPSLeo (talk) 16:57, 28 October 2023 (UTC)
Malformed message[edit]
https://commons.wikimedia.org/w/index.php?title=User_talk:LaurenzStapf&diff=prev&oldid=856120703 the gadget left behind a malformed message. RZuo (talk) 11:51, 17 April 2024 (UTC)