Page MenuHomePhabricator

redirect.py: please add -summary: support
Closed, ResolvedPublic

Event Timeline

Xqt triaged this task as Low priority.
Xqt subscribed.

Could you explain why and in which is this necessary or needed or useful.

Obviously to allow customizing the edit summary. I ask because when I'm
running the script on my sysop account with no bot flag I'd like to
suppress the 'bot' mention on the deletion log summaries. Thanks.

Maybe a possible solution would be to suppress the "Bot: " prefix when the sysop account has no bot flag?

I wouldn't do the same for normal user accounts because bots might not have a bot flag.

And what do you think to put a parameter in the user-config.py file that defines the user as bot, that defines the presence of the Bot: summary prefix for all scripts ?

(i love cats)

Config option to show Bot: prefix by default or some different user-specified prefix seems cool to me.

(who doesn't)

Aklapper removed Xqt as the assignee of this task.Jun 19 2020, 4:28 PM

This task has been assigned to the same task owner for more than two years. Resetting task assignee due to inactivity, to decrease task cookie-licking and to get a slightly more realistic overview of plans. Please feel free to assign this task to yourself again if you still realistically work or plan to work on this task - it would be welcome!

For tips how to manage individual work in Phabricator (noisy notifications, lists of task, etc.), see https://phabricator.wikimedia.org/T228575#6237124 for available options.
(For the records, two emails were sent to assignee addresses before resetting assignees. See T228575 for more info and for potential feedback. Thanks!)

Xqt changed the task status from Open to In Progress.Apr 1 2023, 12:27 PM
Xqt claimed this task.

Change 904877 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/i18n@master] [i18n] Add pywikibot-bot-prefix token

https://gerrit.wikimedia.org/r/904877

Change 904878 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [i18n] Add default pywikibot-bot-prefix token for fallback

https://gerrit.wikimedia.org/r/904878

Change 904877 merged by jenkins-bot:

[pywikibot/i18n@master] [i18n] Add pywikibot-bot-prefix token

https://gerrit.wikimedia.org/r/904877

Change 904881 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/i18n@master] [i18n] Remove Bot: prefix from redirect messages

https://gerrit.wikimedia.org/r/904881

Change 904882 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [IMPR] Use bot prefix with redirect.py

https://gerrit.wikimedia.org/r/904882

Change 904878 merged by jenkins-bot:

[pywikibot/core@master] [i18n] Enable preleading Bot: prefix with twtranslate messages

https://gerrit.wikimedia.org/r/904878

Change 904881 merged by jenkins-bot:

[pywikibot/i18n@master] [i18n] Remove Bot: prefix from redirect messages

https://gerrit.wikimedia.org/r/904881

Change 904882 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] Use bot prefix with redirect.py

https://gerrit.wikimedia.org/r/904882