[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mediawiki-l
Subject:    Re: [Mediawiki-l] Question about how to get admin access
From:       "Jan Luca" <jan () jans-seite ! de>
Date:       2009-10-23 10:29:33
Message-ID: 000b01ca53cb$b7067280$25135780$ () de
[Download RAW message or body]

Hi,

Run in mysql:

INSERT INTO `{$PREFIX}_user_groups` (
`ug_user` ,
`ug_group`
)
VALUES (
'{USER_ID, you get in the table `{$PREFIX}_user`}', 'sysop'
);

INSERT INTO `{$PREFIX}_user_groups` (
`ug_user` ,
`ug_group`
)
VALUES (
'{USER_ID, you get in the table `{$PREFIX}_user`}', 'bureaucrat'
);

Now you should can use the page "Special:UserRights" in your wiki.

Viele Grüße
Jan

-----Ursprüngliche Nachricht-----
Von: mediawiki-l-bounces@lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] Im Auftrag von Claus
Hausberger
Gesendet: Freitag, 23. Oktober 2009 10:40
An: mediawiki-l@lists.wikimedia.org
Betreff: [Mediawiki-l] Question about how to get admin access

Hello,

I am new to MediaWiki and couldn't find the answer to my problem in the
docs. Maybe I was just blind but I hope someone here can help me.

I have to manage a MediaWiki installation that has already bin in place for
a while. 
I have to add an user with admin rights, for example to change the
navigation on the very left.
Currently there seems to be no admin user (or sysop). 
I have root access to the file system and the MySQL db. 
In the user table there is only one entry for myself and in the user_groups,
there are no entries at all.

Is there a way to add a user with all admin rights without doing a new
installation? There is a lot of content in the wiki already.

any help very welcome!

Claus
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic