Menu

#108 UpLoad plugin to respect InterWikiMap entry

1.3.x
open
None
5
2012-10-11
2005-02-18
No

I changed the UpLoad.php plugin file to calculate the
appropriate upload directory from an Upload entry in the
InterWikiMap page.

Not yet tested thoroughly, but I guess it's a good
improvement.

Btw: I'm an M$ dummy, so I attached the whole file
instead of a diff :(

Discussion

  • Anonymous

    Anonymous - 2005-02-18

    new UpLoad plugin file

     
  • Anonymous

    Anonymous - 2005-02-18

    Logged In: YES
    user_id=925869

    Changed as of

    "
    Revision 1.10 2004/04/12 10:19:18 rurban
    "

     
  • Reini Urban

    Reini Urban - 2005-02-18

    Logged In: YES
    user_id=13755

    This is a good idea.
    But I want to change the upload dir to be user-specific also.

    Upload:MyUserName/uploaded-file.txt

    Maybe we should add a %u to be expanded to the curretn
    username in the interwiki map, similar to %s for the pagename.

     
  • Reini Urban

    Reini Urban - 2005-04-25

    Logged In: YES
    user_id=13755

    That's still not correct for custom interwiki map's, but I
    see what I can do. I'll also add %u and %d expansion
    (username and date)
    and mkdir the intermediate dirs.

    Note that "Upload:" is automatically added to the interwiki
    map at startup, so most of your logic is not needed.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.