[dokuwiki] Re: Would allowing upper case image names cause big problems?

  • From: Chris G <cl@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 3 Sep 2010 14:47:08 +0100

On Fri, Sep 03, 2010 at 10:54:09AM +0100, Christopher Smith wrote:
> 
> On 3 Sep 2010, at 10:07, Chris G wrote:
> 
> > 
> > So, firstly *why* does Dokuwiki change everything to lower case and,
> > secondly, are there any realy big issues with getting Dokuwiki to
> > allow upper case media names?  All non-alphabetic characters can be
> > handled as at present, I only need to allow A-Z to stay unchanged.
> > 
> 
> Dokuwiki insists on lower case names to ensure portability between 
> case-sensitive and case-insensitive file systems.

> 
> > I can see several workarounds (other than allowing Dokuwiki to 'see'
> > uppper case names) many of which would be quite easy to implement but
> > nearly all would add an extra layer/step into my sharing strategy and
> > I want to keep things as simple as possible.
> 
> If you're using *nix.  Make a script to mirror your photo directory using 
> links (hard or symbolic), with the filenames converted to lowercase.  Link 
> the mirrored directory into DokuWiki's media space.
> 
Exactly the sort of workaround I'd thought of but it does involve that
extra, annoying, stage that I'd really like to aviod if I can. 
I'd have to either run the linking script using cron, say once a day,
which would mean just uploaded pictures wouldn't be immediately
available. Or I'd have to run it manually, which is just a nuisance.

If I could persuade Dokuwiki to allow upper case image names then all
I'd have to do is: load pictures into photo software (which I do
already) and then add image links (or, more likely, gallery links)
from dokuwiki.  Adding a, probably, command line task to this sequence
is, while not that onerous, just annoying.



-- 
Chris Green

-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: