[pmwiki-users] What attachment operations do you want or need?
pbowers at pobox.com
Thu May 6 04:51:51 CDT 2010
On Thu, May 6, 2010 at 10:36 AM, Eemeli Aro <eemeli at gmail.com> wrote:
> On 6 May 2010 11:49, SteP <step.list+pmwiki at gmail.com> wrote:
>> I would like a way to upload - and markup - images without being aware of their underlying file type.
> When uploading, if there is no file extension or if the extension
> isn't recognised, you append the extension of the file as it was on
> the user's local machine.
> When marking up, add a replace-on-edit rule for Attach:... if there is
> no file extension or if the extension isn't recognised, in which case
> the extension of the first matching uploaded attachment is appended.
For both of these cases above I would add to the logic "if it matches
exactly one file then do action X". In other words, I don't want the
computer guessing between 3 different files I've got that all happen
to have the same "base" filename. However, if there's only one file
that matches then filling in the rest of the filename makes a lot of
If it tries to do too much (trying to read my mind to figure out which
of 3 I meant) then it runs the risk of becoming frustrating rather
than being helpful...
More information about the pmwiki-users