Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Question about how to get admin access

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


CHausberger at gmx

Oct 23, 2009, 1:39 AM

Post #1 of 6 (1011 views)
Permalink
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 [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Sam.Sexton at thomsonreuters

Oct 23, 2009, 2:10 AM

Post #2 of 6 (957 views)
Permalink
Re: Question about how to get admin access [In reply to]

If you add entries to your user_groups table for yourself as bureaucrat and sysop, that should do the trick.


/Sam


-----Original Message-----
From: mediawiki-l-bounces [at] lists [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Claus Hausberger
Sent: 23 October 2009 09:40
To: mediawiki-l [at] lists
Subject: [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 [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


This email was sent to you by Thomson Reuters, the global news and information company.
Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.



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


jan at jans-seite

Oct 23, 2009, 3:29 AM

Post #3 of 6 (958 views)
Permalink
Re: Question about how to get admin access [In reply to]

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 [at] lists
[mailto:mediawiki-l-bounces [at] lists] Im Auftrag von Claus
Hausberger
Gesendet: Freitag, 23. Oktober 2009 10:40
An: mediawiki-l [at] lists
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 [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


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


midom.lists at gmail

Oct 23, 2009, 3:39 AM

Post #4 of 6 (944 views)
Permalink
Re: Question about how to get admin access [In reply to]

> 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.

The real way to do maintenance actions is of course by using eval
interface:

flu:phase3 midom$ php maintenance/eval.php
> User::newFromName("Eviluser")->addGroup("sysop");

Logout, login, here you are.

-- Domas

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


CHausberger at gmx

Oct 26, 2009, 6:15 AM

Post #5 of 6 (914 views)
Permalink
Re: Question about how to get admin access [In reply to]

Thanks a lot to everyone for the answers.

Claus

> > 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.
>
> The real way to do maintenance actions is of course by using eval
> interface:
>
> flu:phase3 midom$ php maintenance/eval.php
> > User::newFromName("Eviluser")->addGroup("sysop");
>
> Logout, login, here you are.
>
> -- Domas
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

--
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 [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


ChristensenC at BATTELLE

Oct 26, 2009, 1:31 PM

Post #6 of 6 (911 views)
Permalink
Re: Question about how to get admin access [In reply to]

Hi Claus,

Another answer, I think, would be to use the maintenance/createAndPromote.php script. I'm pretty sure if you have command line access to the wiki that will make you a new admin user.

-Courtney

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

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.