Hi,
I'm creating a wiki of software documentation and I would like to include a link to the pdf of the user guide for people to print out. Most of the user guides exceed the 2 MB maximum file size that the upload file dialog states is the limit. How can I increase the allowed size of uploaded files?
Thanks,
Linda
Hi Linda
This should help
http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads#Set_maximum_si...
In your php.ini file increase the max size for file uploads.
Jim
2009/1/5 Linda Rose lnr@qad.com
Hi,
I'm creating a wiki of software documentation and I would like to include a link to the pdf of the user guide for people to print out. Most of the user guides exceed the 2 MB maximum file size that the upload file dialog states is the limit. How can I increase the allowed size of uploaded files?
Thanks,
Linda
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
2009/1/5 Linda Rose lnr@qad.com
How can I increase the allowed size of uploaded files?
Thanks,
Linda
Hi Linda,
Try http://www.mediawiki.org/wiki/Manual:$wgMaxUploadSize If you add that variable to your LocalSettings with a size similar to your largest average upload you should no longer get the warning in MediaWiki.
-Courtney
Hi,
writing text in the german Wikipedia I noticed that <math>\phi</math> <math>\phi,</math> delivers different phi's. In the first case a HTML symbol is used, in the second case a graphic with a different phi from LaTeX is generated. It seems to me there is an error in the TeX generation.
Yours sincerely
Sigbert
2009/1/6 Sigbert Klinke sigbert@wiwi.hu-berlin.de:
Hi,
writing text in the german Wikipedia I noticed that <math>\phi</math> <math>\phi,</math> delivers different phi's. In the first case a HTML symbol is used, in the second case a graphic with a different phi from LaTeX is generated. It seems to me there is an error in the TeX generation.
Depending on your preferences, Mediawiki will generally try to display formulae in HTML where possible and only use png images where HTML is insufficient. Adding whitespace like that makes Mediawiki think it can't be done (simply) in HTML so it uses an image. The English Wikipedia help page (http://en.wikipedia.org/wiki/Help:Displaying_a_formula) explains it (the "Forced PNG rendering" section) quite well.
Hi,
my extension produces from program code between <sample>...</sample> figures, tables and numerical results. I'am using $wgParser->setHook( 'sample', 'efSampleRender' ); for rendering the <sample> tag. Now it seems to me that whenver a page is viewed my function 'efSampleRender' is called (maybe because I put $parser->disableCache() in 'efSampleRender' :).
But basically this is not the functionality I need. The program code between <sample>...</sample> produces a HTML file. The content of the HTML file is returned at the end of 'efSampleRender'. As long as the program code between <sample>...</sample> is not changed I could immediately return the content of the old HTML file rather then creating the HTML file again. So, does the parser know if the rendering occurs from a 'Save' or 'Show Preview' process (that is only time when the ... code can be changed) or just someone tries to view the page? If not, is there another way to achieve the functionality I want to have?
Thanks in advance
Sigbert
Sigbert Klinke wrote:
(maybe because I put $parser->disableCache() in 'efSampleRender' :).
(...)
As long as the program code between <sample>...</sample> is not changed I could immediately return the content of the old HTML file
So, why do you need to call $parser->disableCache() ?
Hi,
(maybe because I put $parser->disableCache() in 'efSampleRender' :).
(...)
As long as the program code between <sample>...</sample> is not changed I could immediately return the content of the old HTML file
So, why do you need to call $parser->disableCache() ?
Good question. Actually someone requested that the result of some interactive changes (changing program parameters via a form) become permanent. So, the next viewer sees also the changed contents. For that I need to call to set $parser->disableCache() to force a reread. Maybe I have to think more about the execution queque in detail.
Thanks a lot
Sigbert
I want to upload a video describing how to use our wiki on our website. A lot of our users are struggling with it, and are new to it.
What would be the best format to upload it? SWF or AVI?
The filesize SWF is much smaller than the AVI file if I'm not mistaken. I also saw that there are extensions on Mediawiki catering for both formats.
Do anyone have any suggestions or experience?
Thanks.
Sarel. www.agriwiki.co.za
On 1/8/09 1:13 AM, Sarel Wesssels (Agri Wiki) wrote:
I want to upload a video describing how to use our wiki on our website. A lot of our users are struggling with it, and are new to it.
What would be the best format to upload it? SWF or AVI?
The filesize SWF is much smaller than the AVI file if I'm not mistaken. I also saw that there are extensions on Mediawiki catering for both formats.
As much as we like to whinge about Flash, it's probably the easiest for most potential viewers for a screencast.
-- brion
mediawiki-l@lists.wikimedia.org