It works by adding this config setting $wgStrictFileExtensions = false; to
the LocalSetting.php file.
Why is Mediawiki adding a couple of weird directories underneath the Image
directory when you upload? For example, *I have url like this *
when I finished uploading the
file. Is there away to prevent this from happening and placed all file
under one specified directory instead?
Also, can you please let us know when you have this mass-uploading file
done?
Thank you
On 1/4/06, Rob Church <robchur(a)gmail.com> wrote:
You can't do it via FTP, since the database needs to be updated to
contain certain pieces of information about the file. However, there
is a Perl script which allows for mass-uploading of files, and since
it's oft-requested, I might write a mass-upload maintenance script of
some description.
Rob Church
On 04/01/06,
Dharmaweb.org <http://dharmaweb.org/> <dharmaweb(a)gmail.com>
wrote:
I didn't see the button next to the warning
message.
I don't know if the file exist on the server or not since I can not log
on
the server at this point. Also, Is there a way
for me to FTP these? I
have
alot of mp3 files and I can not afford to upload
1 by 1.
I will try to change the setting when I get home.
Thank you very much for your help.
On 1/4/06, Rob Church <robchur(a)gmail.com> wrote:
>
> 1. A straight FTP won't work, so don't bother.
> 2. On the same warning screen, you should have had a button appear
> which would allow you to continue with the upload.
>
> a. If you did, did you click it? ;-)
> b. If not, you need to set $wgStrictFileExtensions = false; in
> LocalSettings.php
>
> It sounds like the upload wasn't completed after all. Does the file
> exist somewhere inside the uploads directory?
>
>
> Rob Church
>
> On 04/01/06,
Dharmaweb.org <http://dharmaweb.org/> <
dharmaweb(a)gmail.com> wrote:
> > When I uploaded the file, I see this
warning message '".mp3" is not
a
> > recommended image file format.'
and I don't see any mp3 file
listing on
> any
> > logs. Is there a setting somewhere that prevent me from upload mp3
> file? I
> > can ftp a few mp3 files and see if that works but I can not get out
of
> my
> > company proxy server at this point so I have to try it at home.
> >
> > On 1/4/06, Rowan Collins <rowan.collins(a)gmail.com > wrote:
> > >
> > > On 04/01/06,
Dharmaweb.org <http://dharmaweb.org/> <
dharmaweb(a)gmail.com> wrote:
> > > > For example, if I place this
tag
[[Media:Michael_Xyz.mp3|Download]]
> > > then it
> > > > becomes
> > >
> > > Have you tried keeping everything the same but replacing the
"Media:"
> > > with "Image:"? This
should link to the file's description page,
and
> > > will tell you whether you have in
fact typed the filename right.
There
> > > should also be a "recent
uploads" list somewhere - Special:Log,
maybe?
> > > - that will have the file's
name as te software thinks it is.
> > >
> > > Otherwise, something very odd is happening. I wondered briefly if
it
> > > was possible to end up with a file
uploaded with no description
page
> > > (so that link code might think
"page doesn't exist, therefore file
> doesn't"), but I wasn't able to
create such a situation.
>
> --
> Rowan Collins BSc
> [IMSoP]
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)Wikimedia.org
>
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l