link to pagespec/attachment
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 2 Jul 2008 22:07:34 +0000 (18:07 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 2 Jul 2008 22:07:34 +0000 (18:07 -0400)
IkiWiki/Plugin/attachment.pm
doc/plugins/attachment.mdwn

index 1bcf5a2e49e43e55aca07ad8ddb8d885e7cc903f..3bbe27b1a42cbfbdf2f63568b19c856e00385a03 100644 (file)
@@ -47,7 +47,13 @@ sub formbuilder_setup (@) { #{{{
 
                $form->field(name => "allowed_attachments", size => 50,
                        fieldset => "admin",
-                       comment => "(".htmllink("", "", "ikiwiki/PageSpec", noimageinline => 1).")");
+                       comment => "(".
+                               htmllink("", "", 
+                                       "ikiwiki/PageSpec/attachment", 
+                                       noimageinline => 1,
+                                       linktext => "Enhanced PageSpec",
+                               ).")"
+               );
                if (! IkiWiki::is_admin($user_name)) {
                        $form->field(name => "allowed_attachments", type => "hidden");
                }
index daadfc348a9affed3051c9bfe25e5eb32e3d6d45..2b834304296cf184e78d4110573914795d0abaff 100644 (file)
@@ -20,8 +20,8 @@ Bear in mind that if you let anyone upload a particular kind of file
    contains html as a web page; including running any malicious javascript
    embedded in that page.
 
-If you enable this plugin, be sure to lock that down, by entering a
-[[special_PageSpec|ikiwiki/pagespec/attachment]] in the "Allowed
+If you enable this plugin, be sure to lock that down, by entering an
+[[enhanced_PageSpec|ikiwiki/pagespec/attachment]] in the "Allowed
 Attachments" field of the wiki admin's preferences page.
 
 This plugin will use the [[cpan File::MimeInfo::Magic]] perl module, if