Page MenuHomePhabricator

Update ImportUsers for AuthManager
Closed, ResolvedPublic

Description

User::setPassword() is going to be deprecated. You could inline the method if you really want to keep the ability to import users with a password rather than generating a temporary password that they are required to change on the next login, although I'd suggest doing the latter.

Note that the "Replace existing users" feature is very likely to lead to users where the old owner of the account can still access it with non-password-based authentication methods.

Event Timeline

Note: The extension not using the new AuthManger does however not cause it to fail on what it is supposed to do.

Note: The extension not using the new AuthManger does however not cause it to fail on what it is supposed to do.

Now that the method was removed from MediaWiki the extension fails.

Change 879914 had a related patch set uploaded (by Brian Wolff; author: Brian Wolff):

[mediawiki/extensions/ImportUsers@master] Make work with 1.39.

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

Change 879914 merged by jenkins-bot:

[mediawiki/extensions/ImportUsers@master] Make work with 1.39.

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

Change 881029 had a related patch set uploaded (by Brian Wolff; author: Brian Wolff):

[mediawiki/extensions/ImportUsers@REL1_39] Make work with 1.39.

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

Change 881029 merged by jenkins-bot:

[mediawiki/extensions/ImportUsers@REL1_39] Make work with 1.39.

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

Kghbln assigned this task to Bawolff.
Kghbln added a subscriber: Bawolff.

@Bawolff Thanks so much for your work here. Much appreciated.

Change 888777 had a related patch set uploaded (by Brian Wolff; author: Brian Wolff):

[mediawiki/extensions/ImportUsers@REL1_38] Make work with 1.39.

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

Change 888778 had a related patch set uploaded (by Brian Wolff; author: Brian Wolff):

[mediawiki/extensions/ImportUsers@REL1_35] Make work with 1.39.

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

Change 888778 merged by Brian Wolff:

[mediawiki/extensions/ImportUsers@REL1_35] Make work with 1.39.

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

Change 888777 merged by jenkins-bot:

[mediawiki/extensions/ImportUsers@REL1_38] Make work with 1.39.

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