Saturday, December 15, 2007, 9:57:13 PM, Zahir Lalani wrote: > I have setup a wiki and very impressed by pmwiki as a tool. However, I want > to be able to change how the search works. The ":" is of course a special > character in the search - unfortunately it is also a special delimiting > character in the references we use in the text. It would be very tricky > training users to not use this character. What I have found is that if > enclose the search text in quotes then then the ":" is treated normally. So > what I want is that when the search text is submitted, it is automatically > wrapped in quotes. Is this possible?
Try and add to config.php: $PageListArgPattern = '((?:\\$:?)?\\w+)='; This has the : removed as a keyword-argument divider. The original is in scripts/pagelist.php: SDV($PageListArgPattern, '((?:\\$:?)?\\w+)[:=]'); but first defining the var in config.php will take precedence. ~Hans _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
