just tried the extension in MW 1.31 and everything works as expected.
Jump to navigation Jump to search
Reply to "Works fine in MW 1.31"
Reply to "Add user to existing group"
Reply to "Problem when trying to add invalid characters."
Reply to "What if I want them to get a temporary password by email?"
Reply to "Bug for username with special characters"
Reply to "Works well with MW 1.23 (also with multiple groups)"
About this board
Works fine in MW 1.31
Add user to existing group
What does that option do? Is it correct that, if the option "Replace existing users" is selected, then selecting the option "Add user to existing group" will add any groups in the input file to the user which the user is NOT already a member of? And corresponding, if the option "Replace existing users" is selected, then the option "Add user to existing group" is '''not''' selected, then any extra groups in the input file which the user is not already a member of will be ignored?
I will have to test this. This was a feature added along the way. If you tick "Replace existing users" I would expect that the current record in the database gets overwritten by whatever there is in the import file. So the option "Add user to existing group" should have any effect.
I just tested this. If the option "Add user to existing group" is not checked, then user groups don't get set even if they are included in the CSV. So to set user groups, you have to check the option.
Problem when trying to add invalid characters.
When trying to add characters that are in violation of the $wgLegalTitleChars the program doesn't error out or skip the input gracefully, but instead crashes and doesn't provide meaningful output.
[XDmdMwNiX64pb2H-OgFOtQAAAAk] /wiki/Special:ImportUsers Error from line 129 of /home/xxxx/public_html/w/extensions/ImportUsers/ImportUsers_body.php: Call to a member function setEmail() on boolean
What if I want them to get a temporary password by email?
Instead of choosing a password on their behalf.
This would indeed be a nice feature but this extension cannot do this currently. If you are a programmer an would like to pick this up I am all for it.
Bug for username with special characters
A bug has been identified when using usernames such as :
The user appears in the user list but doesn't seem to be recognised elsewhere like for the userpage. It becomes then possible to create an other user with the same name through the ordinary way, making appearing two users with the same name in the user list.
My configuration is MW 1.23.2
Thanks for reporting this issue. I filed it as task T118184 so it does not get lost.
Works well with MW 1.23 (also with multiple groups)
I am very happy to see that my changes were integrated by User:Ency (as per the archived talk page of 16 June 2014). The extension works well with MW 1.23.
I does also work with multiple groups. I have updated the instructions and the example on the extension page.
Heiya Sm8ps, thanks for the feedback and amending the documentation! Yeah, I added the respective version to the GitHub repo since I also thought that this will be very useful. In case you want to further enhance the extension you could just do a pull request at GitHub and I merge it in for you. Cheers
Thank you for your work, Kghbln! Now that I have started learning Git, I can even imagine pulling and merging stuff in and out. :)
You are welcome. Coincidently, yesterday I have been asked by someone who wants to take over maintainership of this extension, which also means that it will be move from GitHub to the WMF repo. So you would need commit access for this one.
Sounds good to me! This extension is quite relevant, especially on closed wikis with lot of users. So it would be great if someone took over maintainership. Unfortunately, I am by no means capable of any programming in PHP other than my occasional copy/paste jobs. :)
Cool, I was not sure how much involvement was intended or possible by you. So things can get rolling. :)
There are no older topics