The default Mediawiki installed has been customized to make it a bit harder for spammers to overwhelm wikis with illegitimate content and comments. This is done by modifying the LocalSettings.php file (a file that is included in every install in which it is possible to provide configurations details).
By default, Mediawiki allows anonymous users to create pages and edit pages in the wiki. The modifications change this in the following ways:
Anonymous users cannot edit existing pages
Anonymous users cannot create pages
Registered users must click the confirmation link in the registration email in order to edit or create pages
This approach should drastically reduce unsolicited content and comments on Mediawiki installations. One further step that administrator might take is to turn registration off after a predetermined amount of time. Users must create accounts by this date; after that, the settings are changed so that registrations are no longer open.
To add this setting, you must edit LocalSettings.php in your Mediawiki install:
- Login to cPanel and browse to your File Manager.
- In the File Manager, browser to the folder within publichtml that contains your Mediawiki install. If you installed the wiki at the root of your domain, you won’t need to go any further than publichtml. If you installed the wiki in a subdomain or subdirectory, you’ll need to find the directory that is associated with that space.
- Locate LocalSettings.php. Download the file to back it up, before editing. Click the Edit icon at the top of the File Manager.
- If you did not back up the file, as suggested in the step above, cancel and do so now. Otherwise, confirm that you want to edit the file.
- Browse to the bottom of the document, and locate the custom settings that were added during the Mediawiki install and the line “$wgGroupPermissions[‘*’][‘createaccount’] = false;”
You can learn how to use this application at the official MediaWiki Help Pages. This support documentation wiki will show you how to manage all aspects of your wiki, including customizing its appearance, editing content, and changing user settings.