From: Adam P. <ad...@dw...> - 2006-03-06 13:08:10
|
Hello, I would like to add some sort of 'Page name checker' code to our Wiki. This is because some users still use spaces when naming pages. We would like to stop this as it causes problems when linking to pages from emails. It would be great if I could add a quick preg_match() and preg_replace() somewhere in Wiki to strip out all white space from newly created page titles and name them correctly with capitals indicating a new word, e.g. ThisIsANewPage. But, I'm not sure where to add this code, if it's even possible? Or is there a better way of going about this? We use PHPWiki on our intranet so unfortunately I can't provide a link. Thank you, Adam Palmer |