Skip to content

Commit

Permalink
Item1801: missed the Config.spec
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/PermLinkPlugin@4453 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
OliverKrueger authored and OliverKrueger committed Jul 6, 2009
1 parent 95a01b1 commit c3d7c5a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/System/VarPERMLINK.txt
Expand Up @@ -10,11 +10,11 @@ Anywhere in a topic or template:
| =format=""= | Controls the format of the permanent link. See formatting variables below. | $url$md5 |

| *Formatting parameter* | *Description* | *Default* |
| =$url= | Base URL without the ID. This parameter can be set in [[%SCRIPTURL{configure}%][configure]]. | %SCRIPTURL{rest}%/%TOPIC%/view/ |
| =$url= | Base URL without the ID. This parameter can be set in [[%SCRIPTURL{configure}%][configure]]. | %SCRIPTURL{rest}%/PermLinkPlugin/view/ |
| =$md5= | permanent ID in MD5 format (hex) | _none_ |
| =$human= | permanent ID in human readable format | _none_ |
| =$rev= | Current Revision number (delimitted with two hyphens) | _none_ |

Plus the default escape sequence like =$n= or =$percnt=.
Plus the default escape sequences like =$n= or =$percnt=.

%ENDSECTION{"permlink_attributes"}%
6 changes: 6 additions & 0 deletions lib/Foswiki/Plugins/PermLinkPlugin/Config.spec
@@ -0,0 +1,6 @@
# ---+ Extensions
# ---++ PermLinkPlugin
# **STRING**
# This is what $url in VarPERMLINK expands to. May be replaced by some custom short url.
$Foswiki::cfg{Plugins}{PermLinkPlugin}{shortURL} = '%SCRIPTURL{rest}%/PermLinkPlugin/view/';

1 change: 1 addition & 0 deletions lib/Foswiki/Plugins/PermLinkPlugin/MANIFEST
Expand Up @@ -2,4 +2,5 @@
data/System/PermLinkPlugin.txt 0644 Documentation
data/System/VarPERMLINK.txt 0644 Documentation
lib/Foswiki/Plugins/PermLinkPlugin.pm 0644 Perl module
lib/Foswiki/Plugins/PermLinkPlugin/Config.spec 0644 Confic Spec

0 comments on commit c3d7c5a

Please sign in to comment.