CGI: document why commenter and recentchanges_link are supported
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Sat, 31 Jan 2009 15:05:17 +0000 (15:05 +0000)
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Sat, 31 Jan 2009 15:05:17 +0000 (15:05 +0000)
IkiWiki/CGI.pm

index 949390e681d18a784b6bd6652b6265078b2ffc4f..f23d44fd6dd80a8707c78c9d74c39251a435bf9f 100644 (file)
@@ -359,6 +359,8 @@ sub cgi (;$$) {
                }
        }
 
+       # goto is the preferred name for this; recentchanges_link and
+       # commenter are for compatibility with any saved URLs
        if ($do eq 'goto' || $do eq 'recentchanges_link' ||
            $do eq 'commenter') {
                cgi_goto($q);