Odd text substitution for some DollarVars


See [[http://thread.gmane.org/gmane.comp.web.wiki.pmwiki.user/38557/focus=38559|this message from 2007]] (examples are now listed here)

:[[#MakeLink]][@MakeLink($pagename, $tgt, $txt, $suffix, $fmt)@]:
: :Creates a link to $tgt (url, intermap link, or page name) using $txt as the link text according to the string given by $fmt. If $txt isn't given then it uses $tgt as the link text after stripping anything in parentheses. If $fmt isn't given then it uses the default formatting for whatever kind of link $tgt is. For page links this means the $LinkPageExistsFmt and $LinkPageCreateFmt variables, for intermap-style links it comes from either the $IMapLinkFmt array or from $UrlLinkFmt.  Inside of the formatting strings, $LinkUrl is replaced by the resolved url for the link, $LinkText is replaced with the appropriate text, and $LinkAlt is replaced by any "title" (alternate text) information associated with the link.

[=$AbcDe=]: $AbcDe

[=$anything=]: $anything

See this message from 2007 (examples are now listed here)

MakeLink($pagename, $tgt, $txt, $suffix, $fmt)
Creates a link to $tgt (url, intermap link, or page name) using $txt as the link text according to the string given by $fmt. If $txt isn't given then it uses $tgt as the link text after stripping anything in parentheses. If $fmt isn't given then it uses the default formatting for whatever kind of link $tgt is. For page links this means the $LinkPageExistsFmt and $LinkPageCreateFmt variables, for intermap-style links it comes from either the $IMapLinkFmt array or from $UrlLinkFmt. Inside of the formatting strings, $LinkUrl is replaced by the resolved url for the link, $LinkText is replaced with the appropriate text, and $LinkAlt is replaced by any "title" (alternate text) information associated with the link.

$AbcDe: $AbcDe

$anything: $anything

Thanks for noticing, should be fixed now (omission in vardoc.php). --Petko May 17, 2017, at 12:32 AM

 0: 00.00 00.00 config start
 1: 00.00 00.00 config end
 2: 00.03 00.02 MarkupToHTML begin
 3: 00.03 00.02 MarkupToHTML begin
 4: 00.03 00.03 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 5: 00.04 00.03 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 6: 00.08 00.07 MarkupToHTML end
 7: 00.08 00.07 MarkupToHTML end
 8: 00.09 00.08 MarkupToHTML begin
 9: 00.10 00.09 MarkupToHTML end
10: 00.10 00.09 MarkupToHTML begin
11: 00.11 00.09 MarkupToHTML end
12: 00.11 00.09 now
Peak memory: 3,099,712 bytes