Hi, 1) I'm new to MW and having issues with dumpBackup.php and importDump.php. Both give me the same error:
# php maintenance/dumpBackup.php --full X-Powered-By: PHP/5.2.11 Content-type: text/html
DB connection error: Access denied for user 'Admin'@'localhost' (using password: YES) (localhost)
I do have $wgDBadminuser and $wgDBadminpassword set in AdminSettings.php. I believe they are set correctly, since I can login to the wiki with the same name and password. Any idea what else I might be doing wrong?
2) Is it possible to use SSI in MW without it being stripped out? I've tried commenting out the "removeHTMLcomments" function in Sanitizer.php, but the HTML comment with the SSI in it still doesn't show up when I view source on the wiki display page in my browser. Even if it did, since the page doesn't have an shtml extension, I'm fairly sure it won't work. Has anyone done this and can you talk a n00b through it?
Ron
--
Ron Laufer
Ron Laufer wrote:
- Is it possible to use SSI in MW without it being stripped out? I've tried commenting out the "removeHTMLcomments" function in Sanitizer.php, but the HTML comment with the SSI in it still doesn't show up when I view source on the wiki display page in my browser. Even if it did, since the page doesn't have an shtml extension, I'm fairly sure it won't work.
Has anyone done this and can you talk a n00b through it?
Ron
No. Implement whatever you want to get with a Server Side Include directly in php, or via an extension.
Don't comment random mediawiki code. I wouldn't recommend commenting Sanitizer code to mediawiki hackers unles they were really really sure of what they were doing. Since you are new to MW, changing the code will only lead you to problems later. The only file you should ever have to edit is LocalSettings.php, and installing extensions.
mediawiki-l@lists.wikimedia.org