

- #Mediawiki add user how to
- #Mediawiki add user install
- #Mediawiki add user update
- #Mediawiki add user manual
#Mediawiki add user how to
Hi, I'm fairly good with most things internet but am lost on how to "UPDATE" in the phpMyAdmin user interface. Where 1 is your user id viewable under preferences. INSERT INTO user_groups ( ug_user, ug_group ) VALUES ( 1, "sysop" )
#Mediawiki add user update
UPDATE user_rights SET ur_rights="bureaucrat,sysop" WHERE ur_user=1 įor Mediawiki 1.5 INSERT INTO user_groups ( ug_user, ug_group ) VALUES ( 1, "bureaucrat" ) You should browse table `user_rights` for `user_id` and place it instead of 1 here: Just below 1.3 instruction there`s 1.4 one. Can we get updated instructions for the version 1.4 database? Thanks! However, that looks like that applies to the database structure of the version 1.3 code.
#Mediawiki add user manual
On the content page, it gives a script for doing a manual update of the MySQL database.
#Mediawiki add user install
During the initial setup, it did not install a WikiSysop. Here at work, I've installed the 1.4rc1 version. What did i do wrong or miss out?Īt home, using the stable version 1.3 of MediaWiki, the initial setup installed a WikiSysop. What i did was go to phpMyAdmin > the MediaWiki db and then run the SQL UPDATE instruction given on the content page. i tried to set the user rights of one of the usernames to 'sysop' according to the instructions on the content page, but without success. My web host installed MediaWiki for me, without creating a sysop. Anyone have any idea how I can include the whitelist array without breaking something or going against mediawiki developer guidelines or something? However, the $wgWhilelistRead array is not readable from this file apparently (making it global in this function doesn't help), so I had to copy the line from localsettings.php to above line 482 as stated here. # Don't show subcategories section if there are none. If ((!is_array( $wgWhitelistRead ) || (in_array( $name, $wgWhitelistRead) || 0 != $wgUser->getID() )))

# Don't show subcategories and articles when category not in whitelist I think that it would be logical that if you restrict access to certain pages, the categories that are restricted don't show their subcategories and articles.Īnyway, I edited includes/Parser.php as follows: But because I have some article names and such in the subcategories and the main category name is easily guessed, I wanted to restrict this too. However, I noticed that using this method the subcategories and articles in a category that is linked on the mainpage are still shown (not the page content of the category though). $wgWhitelistRead = array ("Main Page", "Special:Userlogin", "Wikipedia:Help") So not a wiki in the wiki spirit, I'd rather not have my work plagiarized before I publish my thesis, so I tried to restrict access using

I have set up a wiki to try it out and to keep track of all the documenting I do for my graduation project.

I would like to change that message to administrator.
