On Dec 2, 2004, at 10:42 AM, John Andrews wrote:
1037,1044d1036
< # JBA inserted code here
< # Replace P4:// with stuff to point at P4WEB.
< # Allows links of the form P4://depot/the/file
< # Replace p4machine:8081 w/ your p4web mach:port
< $text = preg_replace(
< "#P4://([^ \]]+)(\s|]|$)#U",
< 'http://p4machine:8081//${1}?ac=64${2}',
< $text);
< # JBA end of code insertion
This is the kind of thing extensions would be great for... :) Having to
hack up Parser.php is a maintenance burden (since it makes upgrades
more difficult). Are we still missing an appropriate hook point for
this kind of thing?
-- brion vibber (brion @
pobox.com)