*** lib/TWiki/UI/Oops.pm.orig Tue Jan 4 11:38:31 2005 --- lib/TWiki/UI/Oops.pm Tue Jan 4 11:37:44 2005 *************** *** 41,46 **** --- 41,49 ---- sub oops_cgi { my ( $web, $topic, $user, $query ) = @_; + # TWiki:Codev/TopicMovedMessageTooVisible + my ( $meta, $text ) = &TWiki::Store::readTopic( $web, $topic ); + my $tmplName = $query->param( 'template' ) || "oops"; my $skin = $query->param( "skin" ) || TWiki::Prefs::getPreferencesValue( "SKIN" ); my $tmplData = TWiki::Store::readTemplate( $tmplName, $skin ); *************** *** 65,71 **** $tmplData =~ s/%PARAM4%/$param/go; $tmplData = &TWiki::handleCommonTags( $tmplData, $topic ); ! $tmplData = &TWiki::Render::getRenderedVersion( $tmplData ); $tmplData =~ s/( ?) *<\/?(nop|noautolink)\/?>\n?/$1/gois; # remove and tags TWiki::writeHeader( $query ); --- 68,76 ---- $tmplData =~ s/%PARAM4%/$param/go; $tmplData = &TWiki::handleCommonTags( $tmplData, $topic ); ! # TWiki:Codev/TopicMovedMessageTooVisible ! $tmplData = &TWiki::handleMetaTags( $web, $topic, $tmplData, $meta ); ! $tmplData = &TWiki::Render::getRenderedVersion( $tmplData, "", $meta ); $tmplData =~ s/( ?) *<\/?(nop|noautolink)\/?>\n?/$1/gois; # remove and tags TWiki::writeHeader( $query );