webjump: use $alternative keyword; array form no longer accepted
commit55940e07d46729b95c41e035e92691e630a843e3
authorDavid Kettler <kettler@internode.on.net>
Thu, 5 Feb 2009 00:47:23 +0000 (5 11:17 +1030)
committerDavid Kettler <kettler@internode.on.net>
Sun, 8 Feb 2009 11:35:12 +0000 (8 22:05 +1030)
tree5bda08fa4c2dc2a78f30646c589a3de69eedf159
parent03be7e88ac6275e42526ae581d1d621d8ffea5f7
webjump: use $alternative keyword; array form no longer accepted

The alternative url (which is used when no argument is supplied by the
user when invoking a webjump) should now be specified explicitly using
the $alternative keyword to define_webjump().  The previous method of
specifying the handler as an array of two strings was peculiar and
will no longer be supported.

Prepared for allowing search engine webjumps to specify an alternative
url by allowing function handlers to have an alternative url.

Expanded the comment describing the parameters to define_webjump().

The supplied webjumps that have alternative urls are changed to use
the new style.
modules/webjump.js