[Home]GetPageLink

UseModWiki | RecentChanges | Preferences

General description of function

Optionally qualifies SubPages with $MainPage, handles FreeLinks and returns the &ScriptLink for the $id.

Given input:

$id

Returns results:

&ScriptLink


Since &GetPageLinkText does the same - only with a second parameter, this could be refactored to

 sub GetPageLink {
   my ($id) = @_;
   my $name = $id;

   return &GetPageLinkText($id, $name);
 }

or is there any significant semantical difference?


UseModWiki | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited October 26, 2007 7:07 pm by MarkusLude (diff)
Search: