Jump to content

Topic on Project:Support desk/Flow

admin account blocked

4
188.26.95.207 (talkcontribs)

I accidentaly blocked my admin user. is there a way to unblocke it ? Thank you!

88.130.81.181 (talkcontribs)

According to Manual:User_rights you can set this in LocalSettings.php:

$wgGroupPermissions['sysop']['unblockself'] = true;

According to the aforementioned page this allows you "unblock yourself, if blocked by another administrator". However, it would be only logical, if you could also unblock yourself, if you blocked yourself.

Does that work?

If so, the text on unblockself at Manual:User_rights should be fixed accordingly!

Florianschmidtwelzow (talkcontribs)

Sure, with another Administrator account, or simply delete the block from the table ipblocks in your database. Or, as an alternative, create a new user and give the user group the ability to unblock user (unrecommended, because so everybody has (for a limited time) the chance to unblock users).

Florianschmidtwelzow (talkcontribs)

Hmm, in addtion to the reply of 88.130.81.181: I don't know, if this works, but be happy if so :) Hope for a reply of 188.26.95.207 :)