Every donation is welcome and appreciated. This product is for free and it will stay free despite the fact that commercial products with much less capabilities cost a lot of money. So before you spend that money on other products, try this one and feel free to send that money to me
I have a question about the User Registration Regex. I have a few users who have non english characters in their usernames. If I change this setting to allow only alphanumeric characters does this mean that they will be forced to change their userid or otherwise not be able to login? Or will it simply only allow users going forward to only use those specific characters?
Yes, it would only affect new user registrations. Worst case would be that two users get the same Wiki account.
e.g:
VB username 1: "test_test"
VB username 2: "test test"
Both would use the "Test test" wiki user account, because all '_' will be converted to ' '.
For tests I created an user "_test : ? ^ & ( ) *" in VB, even there the user was able to use the wiki with this username: "Test : ? ^ & ( ) *" and the userpage was: "User:Test_:_%3F_^_%26_(_)_*"
As you see the first char should not be an '_' or an ' ' else it just gets removed, the other chars did not really make a problem.
I need to do some more tests to see what chars we really need to disallow.
Yes, it would only affect new user registrations. Worst case would be that two users get the same Wiki account.
e.g:
VB username 1: "test_test"
VB username 2: "test test"
Both would use the "Test test" wiki user account, because all '_' will be converted to ' '.
For tests I created an user "_test : ? ^ & ( ) *" in VB, even there the user was able to use the wiki with this username: "Test : ? ^ & ( ) *" and the userpage was: "User:Test_:_%3F_^_%26_(_)_*"
As you see the first char should not be an '_' or an ' ' else it just gets removed, the other chars did not really make a problem.
I need to do some more tests to see what chars we really need to disallow.
Thank you for the info. I did a bit of digging as well and found out that the characters forbidden in a username are the same as those that are forbidden in a page title. There is an article that talks about that here.
With this new mod, are the users in the MediaWiki table ignored? My users are getting login errors on the old product, and I was looking for a way to delete them out of the MW user tables, but if this mod solves that, I'll uninstall the old mod and install this one. Thanks for any advice.
Thank you for the info. I did a bit of digging as well and found out that the characters forbidden in a username are the same as those that are forbidden in a page title. There is an article that talks about that here.
I hope that helps a little bit. Based on that I think you should be able to get a regex that should work for just about everyone.
Yes, I've read that page, but not all the page title restrictions are needed for the user.
I've come up with this now:
PHP Code:
/^[^_ #:~\/[\]]{1}[^_#:~\/[\]]*$/
[^_ #:~\/[\]]{1} -> for avoiding space as first char
_ -> would be converted to a space in the username
# -> Wiki does not allow it
: -> someone might use a username like 'Talk:ToMe' ... that would be a Wiki Namespace
~ -> Wiki does not allow this sequence: '~~~'
/ -> Name is used in the URL, so we cannot have users with something like "../" or "./" or "/../" in the name... so disallow the '/' or the '.'
[] -> Wiki does not allow it
With this new mod, are the users in the MediaWiki table ignored? My users are getting login errors on the old product, and I was looking for a way to delete them out of the MW user tables, but if this mod solves that, I'll uninstall the old mod and install this one. Thanks for any advice.
Brett
I did some changes to the login stuff... but even with the old version there should not have been problems if an user name exists in the Wiki User DB already... this mod will just use the existing Wiki user if the VB user exists in the wiki DB already
Can you tell me exactly what username is making the problems? (vb and the one that is in the wiki)
I need to recreate the problem or you send me a link to your forum with one of this accounts that is have problems... I need to look into that
I should've looked, I've started from scratch with 1.16 since I'd deleted some users out of the previous versions user table before I realized how bad that was. I've installed the new version on top of 1.16 and I don't see Wiki in the tab either.
Also, for some reason although I am a vb Administrator, and I have the sysop and beaurocrat setting for admins set to use, I don't get the edit option.
EDIT: Also, the sub-nav bar shows: {wiki:raw personal_urls}, which I'm assuming is where things like the user's wiki preferences are supposed to be.
The old templates did not get overwritten...
- Did you uninstall the old version before installing the new one?
- Did you edid some of the vbMediaWiki templates before installing?