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.