PKC MediaWiki configuration data

From PKC
Jump to navigation Jump to search

The configuration file should have the following entries:

## Database settings
$wgDBtype = "mysql";
$wgDBserver = "database";
$wgDBname = "my_wiki";
$wgDBuser = "wikiuser";
$wgDBpassword = "example";

Important parameters

There are two important parameter that must be defined, database name and the administrators password.

Database name in Docker's Default Network

Due to PKC is running in docker, the value for $wgDBserver is often suggested to be localhost, and in the docker-compose.yml file for PKC, it is set to be database already.

Administrator's name and password

For the purpose of learning how to set up PKC, the administrator is set to be:

Administrator user name: admin
Password:YOUR PREFERED KEY PHRASE

You may change the password using MediaWiki's web-based interface after you log-in as the user:admin. The interface is in the Special:Preferences page.