portfactory.blogg.se

Mediawiki add user
Mediawiki add user








mediawiki add user
  1. #Mediawiki add user how to
  2. #Mediawiki add user install
  3. #Mediawiki add user update
  4. #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() )))

mediawiki add user

# 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

mediawiki add user

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

  • Off topic but I would also like Recent Posts, Categories, Wikified Navbar areas.
  • Non logged in users seem to be given an IP address talk page which they can write to.
  • mediawiki add user

    I would like to change that message to administrator.

  • The user login message is "Create account or login in," even though people cannot login.
  • Is there any way of setting a global protect on all pages? If there is even one orphaned page on my wiki I guess that there #will be a spammer sending in links to casinos and worse.
  • To use MediaWiki in this way though I would need to be able to solve the following connundra: No having to delve into some back office, but double click the page and change. Non-Wiki-Spirited, Blogging MediaWiki User Asks
  • 12 Rights for Unregistered Users (moved from top).
  • 10 No “Special:Userrights” or “Special:Makesysop”.
  • 9 User rights levels section out of date?.
  • 7 Allow discussion while denying edits?.
  • 3.1.1 Just below 1.3 instruction there`s 1.4 one.
  • 1 Non-Wiki-Spirited, Blogging MediaWiki User Asks.
  • There is no way to remove a group from a user from the command line, without directly modifying the database. Php maintenance/createAndPromote.php Example -sysop The maintenance script createAndPromote.php can add groups to a user from the command line: If you are developing a gadget, a bot (an admin bot) or other stuff that should be able to change user's groups through the API, see the page API:User group membership. You can also view the rights an individual group has by accessing the Special:UserGroupRights special page.įor help in using Special:UserRights, refer to Help:User rights and groups. You can access Special:UserRights directly or via Special:SpecialPages in the toolbox on the left. To do this the acting user must have the userrights user right, which by default is granted to the Bureaucrats user group. There is a simple interface ( Special:UserRights) for adding a user to or removing a user from one or more user groups.










    Mediawiki add user