First time configuration on MediaWiki
1. Enable File Upload Function:
Edit this file
LocalSettings.php
under the Mediawiki root directory, change the parameter of
$wgEnableUploads
to be true,
then you can see that a Upload File link appears under Toolbox on the sidebar.
Also, you have to change the properties of the default upload directory “image” to allow it to be read/write.
2. Revise your php.ini file to make sure the file size limit fits your needs.
If you have full access to your hosting server, you can just revise it yourself, if not, you can simply ask your technical support to revise it for you.
3. Make Mediawiki allow more file extensions:
Edit
DefaultSettings.php,
add more file extensions in the array:
$wgFileExtensions = array( ‘png’, ‘gif’, ‘jpg’, ‘jpeg’,'xls’ );
Also, revise
$wgVerifyMimeType= false;
to be true.
File path:
includes/DefaultSettings.php
4. Edit sidebar:
Search for
mediawiki:sidebar
and edit it.
5. Change mediawiki’s default logo:
Its default file path is here:
/skins/common/images/wiki.png
6. Limit anonymous users’ rights:
Change the corresponding items to be false, such as
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['edit'] = false;


