*** /nfs/home/cnahaboo/w/wiki/twiki-2003-02/bin/oops Sun Jan 5 03:08:17 2003 --- bin/oops Thu Jun 5 19:17:04 2003 *************** *** 36,43 **** my $theTopic = $query->param( 'topic' ); my $theUrl = $query->url; ! my( $topic ) = &TWiki::initialize( $thePathInfo, $theRemoteUser, $theTopic, $theUrl, $query ); my $tmplName = $query->param( 'template' ) || "oops"; my $skin = $query->param( "skin" ) || TWiki::Prefs::getPreferencesValue( "SKIN" ); --- 36,44 ---- my $theTopic = $query->param( 'topic' ); my $theUrl = $query->url; ! my( $topic, $webName) = &TWiki::initialize( $thePathInfo, $theRemoteUser, $theTopic, $theUrl, $query ); + my ( $meta, $text ) = &TWiki::Store::readTopic( $webName, $topic ); my $tmplName = $query->param( 'template' ) || "oops"; my $skin = $query->param( "skin" ) || TWiki::Prefs::getPreferencesValue( "SKIN" ); *************** *** 63,69 **** $tmplData =~ s/%PARAM4%/$param/go; $tmplData = &TWiki::handleCommonTags( $tmplData, $topic ); ! $tmplData = &TWiki::getRenderedVersion( $tmplData ); $tmplData =~ s|( ?) *\n?|$1|gois; # remove tags (PTh 06 Nov 2000) TWiki::writeHeader( $query ); --- 64,71 ---- $tmplData =~ s/%PARAM4%/$param/go; $tmplData = &TWiki::handleCommonTags( $tmplData, $topic ); ! $tmplData = &TWiki::handleMetaTags( $webName, $topic, $tmplData, $meta ); ! $tmplData = &TWiki::getRenderedVersion( $tmplData, "", $meta ); $tmplData =~ s|( ?) *\n?|$1|gois; # remove tags (PTh 06 Nov 2000) TWiki::writeHeader( $query );