SICK! Dude, thanks - didn't think of that.
On May 14, 2006, at 10:26 AM, iubito wrote:
<?php # Change URL, replace _ by - $wgHooks['GetLocalURL'][] = 'underscoreToHyphen'; //wfRunHooks( 'GetLocalURL', array( &$this, &$url, $query ) ); function underscoreToHyphen($title, $url, $query) { $url = str_replace("_", "-", $url); #wfDebug('extension/underscoreToHyphen : $title,$url='.$url.',$query='.$query."\n"); } ?>