[Home]ReBrowsePage/Code

UseModWiki | ReBrowsePage | RecentChanges | Preferences

Code

Version 092
sub ReBrowsePage {
  my ($id, $oldId, $isEdit) = @_;

  if ($oldId ne "") {   # Target of #REDIRECT (loop breaking)
    print &GetRedirectPage("action=browse&id=$id&oldid=$oldId",
                           $id, $isEdit);
  } else {
    print &GetRedirectPage($id, $id, $isEdit);
  }
}


UseModWiki | ReBrowsePage | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited May 13, 2004 11:40 am by 62.213.86.109 (diff)
Search: