There is a new type of attribute to html5, called 'integrity'. Usually it has the md5sum of the file to automagically check for integrity. If the integrity check fails, the browser won't allow you to download the file. Why I believe this is somewhat important? Because some of the files were altered before some changes that where made to PmWiki to catch downloads on AllRecentChanges. For instance the file I refer to is phpmerge.php on the page SimultaneousEdits that has a call to a non-existant function, and by the way, this recipe should be part of the distro as I believe most people don't use a full host with access to all the linux commands, but use more shared hosts I believe. CarlosAB January 13, 2017, at 10:24 PM
OBS: It looks like it can only be used on link and script elements, not sure yet.
I think the UploadQuickReference should be changed to say "Use the top button above to find the "FIle to upload" on your local computer. Currently it says use the "Browse" button, which is what Firefox calls the button, but Safari and Chrome call it a "Choose file" button, and Opera calls it a "Choose…" button. It would be less confusing to users to simply refer to the "top" button. -- RandyB September 18, 2014, at 12:37 AM
Agreed. Also, on a localized browser, the button text is translated into the language of the user. --Petko September 18, 2014, at 03:19 AM
How does the translate work when "Choose file" does not appear to be a string that can be localised?
simon September 18, 2014, at 06:32 PM
The string "Site.UploadQuickReference" can be localized, then another (translated) page will be used. As explained above, the button is labeled differently in different browsers in the same language, so we don't need to insist on the button label. --Petko September 19, 2014, at 01:47 AM
I'd like to include some pages that contain some attachments. But I don't want to have to add
How do I prevent files being uploaded with no extension?
Is it possible to create subdirectories for organizing attachments (within the same group)? Specifically, I'm thinking of images... would be very handy....
Is there a way to hide the "triangle" behind attachment links? Perhaps make it visible to logged in users only? Thanks.
Add to your config.php :
To hide the "triangle"
To restore the default behavior to only logged in users (assuming using AuthUser)
Antony Templier October 12, 2011, at 08:19 AM
Thanks, that worked great for hiding the delta! But it is not showing up for logged in users. Could the problem be that I'm using Cookbook.UserAuth2?
John October 12, 2011, at 9:51 AM (EST)
Yes, this tip is for the default authorization system : AuthUser. For UserAuth2, maybe you can try this (but i don't use it, you 'll have to validate yourself) :
To restore the default behavior to only logged in users (assuming using UserAuth2)
Antony Templier October 12, 2011, at 11:36 AM