Page MenuHomePhabricator

Create accounts for new stewards in closed wikis
Open, Needs TriagePublic


As a 2019 steward I have access to those closed wikis where I have an account since before the wiki was closed (for me e.g. wikimania2014wiki), but when I attempt to log into a wiki where I didn't have one I get "Auto-creation of a local account failed: Automatic account creation is not allowed." (for me it is e.g. wikimania2010wiki or gotwikibooks).

Sometimes there is a need to do something in closed wikis. Be it T218520 or my last edit here

Please ensure that all existing stewards[1] have accounts in all closed wikis.

Judging from wm2005 log something like this was previously done on 17 May 2013.


Event Timeline

Base created this task.Apr 29 2019, 10:20 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 29 2019, 10:20 PM

I agree that there should be some established procedure for cases where it becomes apparent action needs to be taken on a closed wiki.

@Base are you able to provide some examples to demonstrate a need for this? I am sure if something were to come up we could e-mail a staffer to handle it as to my knowledge there has been no prior case requiring this action.

In any case, it would be beneficial to establish a process to deal with potential cases of this nature - it could easily be to e-mail T&S and have them flag the appropriate person to handle it.

revi added subscribers: Legoktm, revi.EditedMay 1 2019, 4:46 AM

I recall a request in 2018 that I had to defer to someone else because it was closed and I did not have local account there. Chatted with @Legoktm back then but if this is doable I think it should be done — in the future we might not have a steward with access to that closed wiki.

Sysadmins can create the accounts manually server-side as necessary. Off the top of my head I'm not sure how we can fix this in a general manner but my auth stack knowledge is a bit outdated.

I think the creation of a maintenance script that would create accounts on all wikis for all members of a global group would be the solution here. It would then be possible to call that script after each steward election.

I've tried mwscriptwikiset createAndPromote.php closed.dblist --custom-groups=steward --force Base, but that a) yelled that I must pass a password (contrary to the docs, fixed that and uploaded 523694 for in-script fix), because account Base does not exist on (some) closed wikis b) when I ran mwscript createAndPromote.php --wiki=wikimania2005wiki --custom-groups=steward --force "Martin Urbanec" "some random password" to try it first with my own account, it said Cannot create account: The requested username is already taken by a user on another wiki.. It seems it's not possible to create an account on SUL closed wiki with createAndPromote.php.

Because of this, the only solution that comes to my mind is either introduce autocreateaccount right to CentralAuth, which will stay granted and allow everyone with a SUL account to create an account on a closed wiki, or maybe even just stop revoking createaccount? Given the log @Base linked, it's possible the right wasn't revoked all the time and it was revoked due to some reason I don't see now. Links to relevant tasks welcomed.

@Legoktm When you said "Sysadmins can create the accounts manually server-side as necessary", did you mean createAndPromote.php, or something else (eval.php and manual SQL queries come to my mind, both is something we would like to avoid)?

For the reasons mentioned above, @Base was promoted to a steward on some closed wikis. If this is not wanted, feel free to revert.