Manual talk:System administration

Things I have not been able to figure out how to do on my newly installed wiki:

- Edit the default navigation box to include custom links.

This turns out to be in the file "xhtml_slim.pt" within the Templates folder. I wish it were a wiki page instead!!!

- Change the default icon and background image.

OK. I think I figured this one out. They are in the "Stylesheets folder", under the name of the style template you are using. Note: They are not in the "templates" folder. They are PNG files.

Actually, the icon needs to be changed at the top level of the Stylesheets folder, not within the specific template (although it exists there as well).

- Modify the URL scheme so it respects the URL forwarding I'm already using. (i.e. The domain my wiki is hosted on is not the same as the URL I wish to use, so all liks at www.myhost.com/... should be forwarded to www.mydomain.com/...) Ideally, I'd like to combine this with some kind of URL redirection so that I don't see the annoying index.php links on all the pages.

The second half of this question is answered in Rewrite_Rules, but not the first half. (Although I can't get my .htaccess file to work.)

Thanks for your help!

Luhmann

The latest MediaWiki supports granting sysop rights through the UI, so you don't have to use a SQL statement any longer. Update this doc to reflect that? --209.6.144.65 19:51, 19 Oct 2004 (UTC)

In section 3.1 (enabling and disabling downloads) it would be nice to have more information, such as-- what do the ImageMagick lines do? Thanks, Chira 06:35, 28 Oct 2004 (UTC)
 * 1) $wgUseImageMagick = true;
 * 2) $wgImageMagickConvertCommand = "/usr/bin/convert";

Uploads disabled by default?
In section 3.1 it says: "In newer versions of the MediaWiki software, starting with version 1.1.0 from 2003-12-08, uploads are disabled by default because of security considerations." But after installing 1.4 beta 3, I look in the generated LocalSettings.php and "$wgDisableUploads = false;". And uploads do work. So this is inconsistent I think. ErikH2000 07:36, 16 Dec 2004 (UTC)


 * The generated file has that line, commented out, so you can remove the comment marker to easily enable uploads. Uploads remain disabled unless you do so. --brion 08:13, 16 Dec 2004 (UTC)


 * Doh! You are right, that line is commented out, and I feel silly. I guess I got confused because I am still able to upload files on the same installation where the $wgDisableUploads line in LocalSettings.php is commented out. There is no other occurrence of $wgDisableUploads in the file. I uploaded several images and displayed them. The last one was with an account that had no special privileges. So I don't know if I have a bug or simply misunderstand what the expected behavior is when uploads are disabled. ErikH2000 11:53, 31 Dec 2004 (UTC)

cleaning up the database
is this really correct?

mysqldump -uusername -ppassword databasename > file.sql

mysqldump -uusername -ppassword databasename | ssh user@host "cat > remote_file"

mysql -uusername -ppassword databasename < file.sql

shouldn't there be a space between "-u" and "username" and  "-p" and "password" ?