From: stanley <sta...@kt...> - 2001-01-29 21:50:40
|
I've been merging Peter's new changes today. They look pretty good. In the process, I've noted a few bug fixes I had made that were not included in his fixes. [I can't easily use diff, since I have a number of other customizations] I'm not sure these are important enough to have "bug topics" in Codev save, attach: The new code reformats error messages from RCS, but only handles spaces and linefeeds. I wrote a subroutine that also handled "<" and ">" in the error messages to convert to < and > (I actually did it in a subroutine called in getOopsUrl so as to have the handling for parameters with spaces in one place) wikistore.pm: about line 136. # handle case where file does not exist (stat returned null) # (usually due to a permission problem or admin user renaming the file accidently) my @arr = gmtime( $date || 600000000 ); oops, line 42: added checking for missing templates: my $tmplData = &wiki::readTemplate( $tmplName ); if( ! $tmplData ) { print "Content-type: text/html\n\n"; print "<html><body>"; print "<h1>TWiki Installation Error</h1>"; print "Template file $tmplName.tmpl not found in $wiki::templateDir<p>"; print "Check the \$templateDir variable in wikicfg.pm."; print "</body></html>"; return; } ------- In the various oopsXX.tmpl, the references to user list topics need to include %MAINWEB% (not just the %WIKIUSERSTOPIC%) since in a few situations (I don't recall which) the web is not "main". ------- - Stanley Knutson |