Difference between revisions of "PKC MediaWiki configuration data"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
Note that the value for <code>$wgDBserver</code> is often suggested to be <code>localhost</code>, and in the <code>docker-compose.yml</code> file for [[PKC]], it is set to be <code>database</code> already. | Note that the value for <code>$wgDBserver</code> is often suggested to be <code>localhost</code>, and in the <code>docker-compose.yml</code> file for [[PKC]], it is set to be <code>database</code> already. | ||
For the purpose of learning how to set up [[PKC]], the administrator is set to be: | |||
Administrator user name: <code>admin</code> | |||
Password:<code>YOUR PREFERED KEY PHRASE</code> | |||
It is suggested to change the password to a value of your choice. The interface is in the [[Special:Preferences]] page. |
Revision as of 03:14, 18 August 2021
The configuration file should have the following entries:
## Database settings
$wgDBtype = "mysql";
$wgDBserver = "database";
$wgDBname = "my_wiki";
$wgDBuser = "wikiuser";
$wgDBpassword = "example";
Note that 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.
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
It is suggested to change the password to a value of your choice. The interface is in the Special:Preferences page.