Hello, when we try to import an image on a page of the wiki "guidermesprojet.com", after to have logged in, and accessed the page "http://guidermesprojets.com/index.php?title=Special:Upload%5C", I have the following error message: "Désolé, l'envoi de fichier est désactivé. " (that is: sorry, message sending is disabled". So my question is: how can we activate this feature? kind regards Benoit Daloze
On 30 Mar 2005, at 13:40, schtroumpf.BD@swing.be wrote:
Hello, when we try to import an image on a page of the wiki... I have the following error message: "Désolé, l'envoi de fichier est désactivé. " (that is: sorry, message sending is disabled". So my question is: how can we activate this feature?
Is your /wiki/images directory writable by the effective user of your web server? (Typically, user "www" in Unix Apache installations.)
Do you have "$wgDisableUploads = false;" in LocalSettings.php?
:::: If you succumb to the temptation of using violence in the struggle, unborn generations will be the recipients of a long and desolate night of bitterness, and your chief legacy to the future will be an endless reign of meaningless chaos. - Martin Luther King Jr. :::: Jan Steinman http://www.Bytesmiths.com/Item/99-0590-18
Bonjour schtroumpf (ma réponse en français est plus bas)
- First you have to check in the LocalSettings.php file that uplaoding is allowed. By default, it is set on "False" (As Jan Steinman suggested) - Second, not all type of files are allowed, and it is a little bit tricky to add a new type of files in the list: you have to add it in an array: (Here is an excerpt from the http://meta.wikimedia.org/wiki/Help:Images_and_other_uploaded_files page:)
If you want to upload other file types than .jpg or .ogg (like for example .pdf) in newer versions of mediawiki, you have to modify the file LocalSettings.php accordingly: $wgFileExtensions = array( 'png', 'jpg', 'jpeg', 'ogg','doc','xls','ppt','mp3','sxc','pdf' );
Finalement as-tu vraiment besoin d'une traduction ? en clair, tout est dans LocalSettings.php: 1) autoriser l'upload de fichier (qui est par défaut sur interdire) 2)vérifier que le type de fichier que tu veux uploader est bien dans la liste des fichiers autorisés... qui se trouve elle aussi dans LocalSettings.php
Hope it helps Fxparlant (françois pour les mangeurs de grenouilles)
schtroumpf.BD@swing.be wrote:
Hello, when we try to import an image on a page of the wiki "guidermesprojet.com", after to have logged in, and accessed the page "http://guidermesprojets.com/index.php?title=Special:Upload%5C", I have the following error message: "Désolé, l'envoi de fichier est désactivé. " (that is: sorry, message sending is disabled". So my question is: how can we activate this feature? kind regards Benoit Daloze
mediawiki-l@lists.wikimedia.org