Type the following into your browser address bar: This will redirect to the installation page.In this example we will not change folder wiki.Ĭopy folder C:\mediawiki_temp\mediawiki-1.21.2.tar\mediawiki-1.21.2\ wiki to folder C:\UniServerZ\ www.Optional rename folder C:\mediawiki_temp\mediawiki-1.21.2.tar\mediawiki-1.21.2\ wiki to C:\mediawiki_temp\mediawiki-1.21.2.tar\mediawiki-1.21.2\ desired name.Optional rename the wiki directory to your desired name, then copy the directory to your desired location within the root directory of your web site Copy all the contents of folder C:\mediawiki_temp\mediawiki-1.21.2.tar\mediawiki-1.21.2\ wiki to folder C:\UniServerZ\ www.In the root directory of your web site.Now you will need to decide where on your domain you'd like your MediaWiki-powered site to appear: Note: Other parts of this documentation assume you have set the following: MediaWiki database name = mediawiki Username for MediaWiki = mediawiki Password = fred123 remember to replace these with the values you have set in the above. The page will refresh with privileges for that database.In the Database-specific privileges section, select the database you've just created for MediaWiki.Click Edit privileges for the user you've just created for MediaWiki.Leave all options under Database for user and Global privileges at their defaults.Write down the username and password you chose.(Be sure Use text field: is selected from the dropdown.) Re-enter the password in the Re-type field. Choose a difficult-to-guess password (ideally containing a combination of upper- and lower-case letters, numbers, and symbols), and enter it in the Password field.From the Host dropdown select Use text field: in the Host field enter 127.0.0.1.(Be sure Use text field: is selected from the dropdown.) Choose a username for MediaWiki (' mediawiki' is good) and enter it in the User name field.Click Add user this opens the add user menu, navigate to the Login Information section:.If a user relating to MediaWiki does not already exist in the list of users, create one: Note: Database name added to list on the left. Choose a name for your MediaWiki database (' mediawiki' or ' wiki' are good), enter it in the Create database field, and click Create.Click Databases button top left menu bar.If a MediaWiki database does not already exist in the Database list on the left, create one:.Click phpMyAdmin button - Opens phpMyAdmin in default browser.Note: These instructions are written for phpMyAdmin 4.0.8 the phpMyAdmin user interface can vary slightly between versions. Step 2: Create the Database and a User using phpMyAdminįollow these instructions to create your MediaWiki username and database using phpMyAdmin. Rename the folder mediawiki-1.21.2 to wikiīefore MediaWiki can be installed a MySQL user and database are required for details see step2.Inside this folder extract the file (mediawiki-1.21.2.tar) with 7-Zip.This will create folder mediawiki-1.21.2.tar Extract the downloaded file (mediawiki-1.21.2.tar.gz) with 7-Zip.Save the downloaded file mediawiki-1.21.2.tar.gz to a temporary folder for example C:\mediawiki_temp.Download the latest version of MediaWiki from here.Download the latest version and install it.ĭownload and extract the MediaWiki package.Note 2: We will follow MediaWiki's recommendation and use 7-Zip to extract the files, since Windows cannot do this. Note 1: At step 4 you are required to enter your e-mail address this can be the e-mail address you set as default when configuring MSMTP, for details see Edit MSMTP Configuration Step 2: Create the Database and a User using phpMyAdmin.You might want to consider a better maintained extension for than the one you are using, btw, see: Editing permissions of MediaWiki default namespacesĪlso, be adviced that MediaWiki is designed for openess, and any attempt to circumvent that, will have holes. $wgGroupPermissions = false ), and then configure your extension to prevent them from accessing some documents. You should just create a user group for user that are not supposed to access the internal documents (e.g. 'myUserGroup' => array( APCOND_EDITCOUNT, 0 )Īlso, note that you can't directly remove a user from an autopromotion group through Special:UserRights.Įdit: As per the comments I understand that the unusual solution you are suggesting in your question is actually not needed. If you really need to add every new user to another user group (you don't tell us why this would be necessary) you can use wgAutopromote, as pointed out in the comments: $wgAutopromote = array( That would be much more straightforward, easier to maintain, and easier to understand for other administrators of your wiki. Normally, you would use the built in user group if you wanted to change permissions for new users, and have a other user groups for when you need to change that (i.e.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |