]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/goto.pm
Merge branch 'master'
[ikiwiki.git] / IkiWiki / Plugin / goto.pm
index 4fd1471e98db36e72a5ce5f9695a479c35591929..3f40c5859f3d22f7d7c1fc7dfb8d9398e8a7249f 100644 (file)
@@ -38,7 +38,7 @@ sub cgi_goto ($;$) {
        # permalink. Comments do.
        if (IkiWiki::isinternal($page) &&
            defined $pagestate{$page}{meta}{permalink}) {
-               Ikiwiki::redirect($q, $pagestate{$page}{meta}{permalink});
+               IkiWiki::redirect($q, $pagestate{$page}{meta}{permalink});
        }
 
        my $link = bestlink("", $page);
@@ -65,7 +65,7 @@ sub cgi ($) {
        my $do = $cgi->param('do');
 
        if (defined $do && ($do eq 'goto' || $do eq 'commenter' ||
-                              $do eq 'recentchanged_link')) {
+                              $do eq 'recentchanges_link')) {
                # goto is the preferred name for this; recentchanges_link and
                # commenter are for compatibility with any saved URLs
                cgi_goto($cgi);