I'm constantly editing my wiki, and it's a bit frustrating how articles have to be newly changed to reflect any changes I've made to how they're parsed; and it also seems that if I change anything in Messages.php, the old data gets referenced. Is there an easy way to get around these problems? Thanks.
On 17/12/06, Vernon Thommeret synotic@gmail.com wrote:
I'm constantly editing my wiki, and it's a bit frustrating how articles have to be newly changed to reflect any changes I've made to how they're parsed; and it also seems that if I change anything in Messages.php, the old data gets referenced. Is there an easy way to get around these problems? Thanks.
1. The former sounds like parser caching. The quick method to deal with this is to invalidate the parser cache; increase the value of $wgCacheEpoch. In LocalSettings.php files from newer installers (1.6 branch, I think), there are a few lines of code at the bottom of the file which accomplish this when the file is updated or touched.
2. You shouldn't edit Messages.php, but since you already have; disable the MediaWiki namespace by switching $wgUseDatabaseMessages = false;. This will, of course, remove your ability to customise messages easily using the MediaWiki namespace; and in particular, makes editing things like the navigation bar a royal pain in the wotsit.
Rob Church
mediawiki-l@lists.wikimedia.org