Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [05-2007 Date Index] [Date Next] || [Thread Prev] [05-2007 Thread Index] [Thread Next]

[dokuwiki] Re: media file links converted to lowercase

  • From: chris <jugg@xxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 09 May 2007 18:37:38 -0700
Andreas Gohr wrote:
Also when we allow mixed cased filenames we may get problems when copying files from a case sensitive filesystem to a insensitive one (this was what the previous poster wanted to say I believe).

This is hardly a DokuWiki specific problem, so why does DokuWiki take it upon itself to try to "solve" it?

Whether or not that is true, I don't know. But it remains that a valid link to a valid file in the Media folder should work. It currently does not.

As it was said before: A valid media file has to be a vaild page name. If your files are upper cased then they are not valid. If you upload files through DokuWiki, it will make sure all files are valid. If you circumvent DokuWiki's mechanisms then you have to care for valid filenames your self.

I'm not trying to beat a dead horse here, but why does a media file have to be a "valid page name"? I understand that is how it currently is, but for what purpose?

I'll let well enough alone from here on regarding this, but it still seems that this restriction exists simply because it was easier to re-use code for wiki page links as media file links. I don't have a problem with that, I just want to understand if there is an actual requirement that media file links be lower case. I'd like to know why, so that I don't inadvertently break something if I decide to modify my local installation in regards to this. And if I do, would a patch would be welcome?

Thanks!

chris

--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.