[Pmwiki-users] editing tips in edit view

Greg Morgan Cybie
Tue Feb 24 18:28:12 CST 2004


 

> -----Original Message-----
> From: Andres Yver [mailto:yver at entelchile.net] 
> Sent: Tuesday, February 24, 2004 9:53 AM
> To: Cybie at infinite-elements.com; pmwiki-users at pmichaud.com
> Subject: Re: [Pmwiki-users] editing tips in edit view
 
> Do you have a clue about where the a class='wikilink' and a 
> class='urllink' come from?
> 
> Thanks,
> Andres
> 
> 

This format is used for links to existing wiki pages.
$WikiPageExistsFmt = "<a class='wikilink'
href='\$PageUrl\$Fragment'>\$LinkText</a>";

This format is used for links to pages that have yet to be created.
$WikiPageCreateFmt = "<span class='createlink'>\$LinkText</span><a
class='createlink' href='\$PageUrl?action=edit'>?</a>";

This format is used for standard text based links to outside web pages.
$UrlLinkFmt = "<a class='urllink' href='\$Url'>\$LinkText</a>";

This format is used for creating links to images... (pmwiki replaces any
urls ending in .gif, .jpg, etc. with this format)
$UrlImgFmt = "<img src='\$Url' border='0' alt='' img>";

These two lines in pmwiki.php define which functions will be used to process
links.
$FmtWikiLink = 'FmtWikiLink';
$FmtUrlLink = 'FmtUrlLink';

I supposed this is one of the things that should go in the variable
documentation.




More information about the pmwiki-users mailing list