Are there special semantics associated with a user name such that if there is an at sign, mediawiki assumes different properties about the user? For example, if I have a user 'a@b.c' and I try to edit that user's rights, I get an error "Database b.c does not exist or is not local."
Thanks, Rob
Robert Hagens | Chief Technical Officer| Envysion, Inc. 950 Spruce Street | Louisville, CO 80027 303.590.2365 office | 303.590.2351 fax rhagens@envysion.com | www.envysion.com | Visit our blog
a@b.c looks like an email format and the computer may well have interpreted it as such.
On Tue, Feb 10, 2009 at 8:59 AM, Robert Hagens rhagens@envysion.com wrote:
Are there special semantics associated with a user name such that if there is an at sign, mediawiki assumes different properties about the user? For example, if I have a user 'a@b.c' and I try to edit that user's rights, I get an error "Database b.c does not exist or is not local."
Thanks, Rob
Robert Hagens | Chief Technical Officer| Envysion, Inc. 950 Spruce Street | Louisville, CO 80027 303.590.2365 office | 303.590.2351 fax rhagens@envysion.com | www.envysion.com | Visit our blog
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Mon, Feb 9, 2009 at 4:59 PM, Robert Hagens rhagens@envysion.com wrote:
Are there special semantics associated with a user name such that if there is an at sign, mediawiki assumes different properties about the user? For example, if I have a user 'a@b.c' and I try to edit that user's rights, I get an error "Database b.c does not exist or is not local."
The main mediawiki server and DB do the right thing with @ symbols, but the user rights tools can't. There's a user on english wikipedia with one of those, it's a known issue.
New MW distributions apparently default to not letting you set up accounts with @ symbols in them, though I haven't tested that.
Userrights uses @ for steward type userright changes (managing userrights cross-wiki).
For that reason @ has been made an illegal character in usernames for quite some time now.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://nadir-seen-fire.com] -Nadir-Point (http://nadir-point.com) -Wiki-Tools (http://wiki-tools.com) -MonkeyScript (http://monkeyscript.nadir-point.com) -Animepedia (http://anime.wikia.com) -Narutopedia (http://naruto.wikia.com) -Soul Eater Wiki (http://souleater.wikia.com)
George Herbert wrote:
On Mon, Feb 9, 2009 at 4:59 PM, Robert Hagens rhagens@envysion.com wrote:
Are there special semantics associated with a user name such that if there is an at sign, mediawiki assumes different properties about the user? For example, if I have a user 'a@b.c' and I try to edit that user's rights, I get an error "Database b.c does not exist or is not local."
The main mediawiki server and DB do the right thing with @ symbols, but the user rights tools can't. There's a user on english wikipedia with one of those, it's a known issue.
New MW distributions apparently default to not letting you set up accounts with @ symbols in them, though I haven't tested that.
On Mon, Feb 9, 2009 at 7:06 PM, George Herbert george.herbert@gmail.com wrote:
The main mediawiki server and DB do the right thing with @ symbols, but the user rights tools can't. There's a user on english wikipedia with one of those, it's a known issue.
Sorry, are you saying it's not possible to desysop User:@pple@enwiki using the stewards' tool?
—C.W.
On Tue, Feb 10, 2009 at 2:31 PM, Charlotte Webb charlottethewebb@gmail.com wrote:
On Mon, Feb 9, 2009 at 7:06 PM, George Herbert george.herbert@gmail.com wrote:
The main mediawiki server and DB do the right thing with @ symbols, but the user rights tools can't. There's a user on english wikipedia with one of those, it's a known issue.
Sorry, are you saying it's not possible to desysop User:@pple@enwiki using the stewards' tool?
That's not the case. User rights can changed by user ID as well as by user name. So, you'd just enter #3685614@enwiki instead. You can find a user ID by exporting a page they've written - http://en.wikipedia.org/wiki/Special:Export/User:@pple
Angela
On Mon, Feb 9, 2009 at 10:04 PM, Angela beesley@gmail.com wrote:
Sorry, are you saying it's not possible to desysop User:@pple@enwiki using the stewards' tool?
That's not the case. User rights can changed by user ID as well as by user name. So, you'd just enter #3685614@enwiki instead. You can find a user ID by exporting a page they've written - http://en.wikipedia.org/wiki/Special:Export/User:@pple
Gee, is that the only work-around? I'm not sure many stewards would remember how to do that in an emergency. Is this written in the interface of the stewards' tool as something to try if they get an error?
—C.W.
On Sat, Feb 14, 2009 at 11:06 PM, Charlotte Webb charlottethewebb@gmail.com wrote:
On Mon, Feb 9, 2009 at 10:04 PM, Angela beesley@gmail.com wrote:
Sorry, are you saying it's not possible to desysop User:@pple@enwiki using the stewards' tool?
That's not the case. User rights can changed by user ID as well as by user name. So, you'd just enter #3685614@enwiki instead. You can find a user ID by exporting a page they've written - http://en.wikipedia.org/wiki/Special:Export/User:@pple
Gee, is that the only work-around? I'm not sure many stewards would remember how to do that in an emergency. Is this written in the interface of the stewards' tool as something to try if they get an error?
The only one I know of. Using the ID instead of the name is explained at http://meta.wikimedia.org/wiki/Steward_handbook#Encoding_problems but emergency desysopping of admins with @ in their name is sufficiently rare that I don't think there's reason to be concerned about it.
Angela
mediawiki-l@lists.wikimedia.org