
I was hoping to make a character page, but every time I try to log in, it tells me there's no user by this name. What am I doing wrong?
so, about the wiki.. |
|
so, about the wiki.. |
01-29-2016, 05:05 AM
![]()
I was hoping to make a character page, but every time I try to log in, it tells me there's no user by this name. What am I doing wrong?
|
RE: so, about the wiki.. |
01-29-2016, 08:45 AM
![]()
Mcbeef gave the gist of it. For boring details, there's a fancy plugin that bridges user accounts from the forum to the wiki and updates those wiki accounts with forum account changes. For one reason or another, special characters and underscores are not carries over during the conversion and you end up with an invalid wiki username.
|
RE: so, about the wiki.. |
01-29-2016, 10:06 AM
![]()
Technical stuff, for the interested, follows!
Special characters don't carry over because MediaWiki encodes them differently than MyBB does, so you end up with the usernames not matching up for the purposes of checking passwords. This is a classic "why u no use UTF-8" issue. ![]() Underscores don't work right because, in the MediaWiki world, underscores and spaces are the same thing. MyBB, of course, cares a lot about underscores. The plugin gets called a couple of times during the authentication process and gets both the raw username (whatever you typed in) and the cooked one (with the underscore replaced by a space) at different points. Since there's no way to disambiguate the two, we're left with a curious situation where we'd have to check the MyBB database 2^(number of underscores) times to authenticate, which opens up the potential for a denial of service. Instead, we just punt and say underscores don't work. ![]() The Freelance Wizard
Quality RP at low, low prices! ((about me | about L'yhta Mahre | L'yhta's desk | about Mysterium, the Ivory Tower: a heavy RP society of mages)) |
« Next Oldest | Next Newest »
|
|
|
|