Source: site.view [edit]
Function name: bookmark
Arguments: title,url
Description: creates bookmark page given title and URL
Page type: webl
Render function:  
Module: site

Page source:

/*
// Try to find main domain name used in url
var functionName = "";
var F = Str_Search(url, `([a-zA-Z0-9\-]+)\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)`);

if Size(F) == 1 then
   functionName = F[0][1]
end;

*/

// Even if found good function name, editFunction has no "create" parameter. :^(
// To create, need to pass empty functionName.  Should change sometime...
var functionName = "";

WubCall("editFunction", [functionName, false, "sitebookmarkform", [. description=title, exec=url, flags="bookmark", createdby=wubinfo.user .], false ]);