Difference between revisions of "Help:Configuration tips and tricks"
(→Comment for v1.6.7) |
(No difference)
|
Revision as of 10:41, 26 June 2006
Contents
Questions
- Please help! Mediawiki is stumping me on a couple of configuration issues. First, I'd like to rename "Image List" to "Upload List," as has been done here. Second, I'd like to remove completely the links to the rss/atom feeds--how do I do this? --Artemisi link 21:27, 12 August 2005 (UTC)
How do I change the "discussion" tab at the top of the page to "News"?
- Check the "System Messages" page under Special:Specialpages.
Configuration of Image Marker
is there a way to supply an image for the box with the red x when linking to a file like a doc file or pdf file ??
Change lock defaults
1. Set new pages to locked
What to do to make newly created pages get locked by default?
2. Set uploads disabled for users
What to do to restrict file upload to the e.g. sysop group?
Using external SMTP server
For using an external smtp server you need to define $wgSMTP
$wgSMTP = array( "host" => 'smtp.your-server.extension', "IDHost" => 'your-domain.extension', "port" => "25", "auth" => true/false, "username" => user, "password" => password );
This function relies on the PEAR's Mail packages. After installing you have to include the location to your include path. What is located in the beginning of LocalSettings.php:
ini_set( "include_path", ".:$IP:$IP/includes:$IP/languages:/usr/share/php" );
The last part (/usr/share/php) is pointing to the directory where Mail.php is
Comment for v1.6.7
I tried this in mediawiki 1.6.7 on Windows and found that there you have to change the $path array (in LocalSettings.php) instead:
$path = array( $IP, "$IP/includes", "$IP/languages", "C:\PHP\PEAR");
where "C:\PHP\PEAR" is the location of Mail.php.
Note that there are two files of that name: Mail.php in the PEAR root and mail.php in subdirectory "Mail". I set the include path to the PEAR root and it works.