I want to wrap a mediawiki site inside another site – using the header.inc and footer.inc files that the rest of the website’s html files use.
I’m not familiar with php, is there a ‘masterpage’ file somewhere I can put them in?
I want to wrap a mediawiki site inside another site – using the header.inc
Share
Your best bet would be to create a custom skin, or edit one of the default skins, such as monobook. They control most of the basic presentation code. Here is one short tutorial on creating a custom skin. The files usually live in the
/skins/folder; if you skim through one, you can find where the HTML begins and ends.You can include another file using the PHP include function, like so: