Recent Changes - Search:

PmWiki

pmwiki.org

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

UrlApprovals


A quick test to confirm how unapproved urls display

*http://www.jr.com/
*[[http://www.jr.com/]]
*[[http://www.jr.com/|Link Alias]]

While the first two items display the unapproved url, the third only displays the alias used in creating the link for the unapproved url: [[http://www.jr.com/|Link Alias]]

To be able to view the url that is hidden behind the alias used in creating the link, an administrator would need to edit the config.php file to set the $UnapprovedLinkFmt as shown in the documentation (UrlApprovals) (and quoted below).

If that were activated on this page, the resulting tool tip would display the exact same url text for each of the three items above: http://www.jr.com


From UrlApprovals:

To see what link is to be approved without editing the page a tool tip can be displayed when the cursor hovers over the (approve Links) link that displays the URL. e.g. Example(approve links)

Add the following setting in your local/config.php:

$UnapprovedLinkFmt =
  "\$LinkText<a class='apprlink' href='\$PageUrl?action=approvesites'
   title='\$LinkUrl'>$[(approve sites)]</a>";
Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 12:03 PM
 0: 00.00 00.00 config start
 1: 00.01 00.00 config end
 2: 00.07 00.05 MarkupToHTML begin
 3: 00.07 00.06 MarkupToHTML begin
 4: 00.08 00.06 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 5: 00.09 00.07 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 6: 00.21 00.19 MarkupToHTML end
 7: 00.28 00.27 MarkupToHTML end
 8: 00.29 00.27 MarkupToHTML begin
 9: 00.32 00.31 MarkupToHTML end
10: 00.33 00.31 MarkupToHTML begin
11: 00.34 00.32 MarkupToHTML end
12: 00.34 00.32 now