Brion Vibber schreef:
Paul van der Vlis wrote:
I try to customize Mediawiki, so I changed some things in templates/xhtml_slim.pt. After dropping the database and reinstalling the wiki I saw my first changes. OK.
Why would you drop the database and reinstall to change the HTML template? These are completely unrelated activities.
I look likes you are right. I first thought, the template was loaded in the database during install.
But now I try to change something again and it does not work anymore, I still see my first changes.
Make sure the compiled template file (usually put in /tmp) is not newer than the xhtml_slim.pt file.
Thanks for this tip!
I've removed all the files with start with "wiki_" and "tpl_0_7_0_" and this works. I am not sure about the files starting with "wiki_", maybe they belong to another wiki.
If you continue to have trouble, upgrade to 1.4 and use the new template system which is not as fragile.
Maybe I should take a look at 1.4.
Thanks, Paul.