Page MenuHomePhabricator

Support arbitrary groups in createAndPromote.php
Closed, ResolvedPublic

Description

Allow any groups to be added through createAndPromote.php

Event Timeline

Mattflaschen-WMF raised the priority of this task from to Needs Triage.
Mattflaschen-WMF updated the task description. (Show Details)

Change 222068 had a related patch set uploaded (by Mattflaschen):
Allow using createAndPromote.php with custom groups

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

Change 222068 merged by jenkins-bot:
Allow using createAndPromote.php with custom groups

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

Works in beta - test1, test2 - custom groups:

@deployment-bastion:~$ mwscript maintenance/createAndPromote.php --wiki='enwiki' --force  --custom-groups test1,test2 'et15' 
enwiki: Promoting User:et15 into test1, test2...
done.
DannyH added a subscriber: DannyH.

I don't know if anyone actually has any of these, but won't this still break for groups with commas in their names?

I don't know if anyone actually has any of these, but won't this still break for groups with commas in their names?

Yeah. I haven't seen such a group, though.