MediaWiki - Installing

From TNG_Wiki
Jump to: navigation, search

The Wiki Integration mod requires that you install MediaWiki on your web server. It may be easier for you to have a WampServer environment installed on your own local computer before attempting to install this on a web hosting service.

To install MediaWiki you should following the instructions on MediaWiki Installation and the Complete Installation Guide.

The following is not a replacement for the MediaWiki documentation, but is offered only as a supplement and a visual help.

Extract MediaWiki

After downloading the MediaWiki software which is distributed as a tar.gz file, you should untar or extract the software to your local computer WampServer environment.

The image on the right shows using WinRAR for extracting the software, but WinZip and 7-zip may also be used.

After the software is extracted you may want to rename the directory from mediaWiki-verson.release.mod to simply wiki.

MediaWiki extract.jpg

Configuration

See MediaWiki LocalSettings.php and Configuration Settings for instructions on how to configure your MediaWiki installation.

The following is not a replacement for the MediaWiki documentation, but is offered only as a supplement and a visual help.

If you extracted the MediaWiki software to your local computer WampServer environment, to configure it should be a simple matter of invoking it by URL in your browser, such as http://localhost/wiki/

The image on the right shows the screen returned with a link to set up the wiki first.

MediaWiki setup link.jpg

Site Configuration

The following is not a replacement for the MediaWiki documentation, but is offered only as a supplement and a visual help.

Within the Site Config section, you must provide the information for your:
  • Wiki name
  • Contact e-mail - should probably be the same as your TNG admin email
  • Admin username - should probably be the same as your TNG admin user
  • Password - should probably be the same as your TNG admin user password
  • Password confirm

The image on the right shows the Site Config section of the MediaWiki setup.

MediaWiki site config.jpg

Database Configuration

The following is not a replacement for the MediaWiki documentation, but is offered only as a supplement and a visual help.

In the Database Config section, you must provide:
  • Database host - on a local WampServer localhost is correct, but on your hosting services it might also require specifying a socket
  • Database name - this must be the same as your TNG database
  • DB username - this should be the same as your TNG database connection Username
  • DB password - this should be the same as your TNG database connection Username password
  • Database table prefix - you must provide a database prefix, such as wiki_ or mw_ It should not be tng_

The image on the right shows the Database Config section of the MediaWiki setup.

MediaWiki database config.jpg

Manual Settings

See MediaWiki Configuration Settings for additional settings you may need to make to your MediaWiki LocalSettings.php file.

To change the MediaWiki logo to your own logo, see:

Preventing Access

You may want to view the MediaWiki Preventing Access page on how to prevent users from

If you want to allow logged in users to create pages, you may want to consider adding the ConfirmAccount Extension and reCaptcha Extension to control user account creation as was done on the TNG Wiki.

Other Customizations

You may also want to consult the Customization page which covers adding tags which is what the Wiki Integration mod by Brian McFadyen has done.

Related Links

Wiki Integration

Wiki Language Extension