blob: 2c308d086542f527ef19a85c3a2399dcc3354210 (
plain)
The [[plugins/recentchanges]] plugin has a do=recentchanges_link feature that will
redirect to a given wiki page, or an error page with a creation link.
In the [[plugins/contrib/comments]] plugin I've found that it would be useful to do
the same for users. For now I've just cloned the functionality into the comments
plugin, but perhaps this functionality could be renamed to do=goto or
something, and moved to IkiWiki/CGI.pm ?
Now implemented as the 'goto' branch in my git repository, along with
[[apache_404_ErrorDocument_handler]]. --[[smcv]]
Looks good, the only things I wonder are:
- Should it be a separate plugin? In particular
cgi_page_from_404() is
pretty big, and only works if apache is configured so seems somewhat
pluginaable.
- I wish there were some way to generalize the workaround for the stupid
MSIE behavior. Actually, I wish we could ignore the MSIE stupidity,
as I tend to do, but perhaps it's too stupid in this case for that to
fly..
--[[Joey]]
|