Jump to content

.

From mediawiki.org
This page is a translated version of the page User:Wladek92/save/doc and the translation is 23% complete.

trad pb de span apparu

$wgUploadPath = "$wgScriptPath /img_auth.php"; $wgUploadDirectory = '</absolute/path/to/your/doc_root>/../<dir_name_unguessable>'; $wgEnableUploads = true; # We don't wanna restrict access, just make our MW install more secure $wgWhitelistRead = false;

Apache Instructions

Apache Step 1. Protect Images Directory from Internet Access

In your [/path/to]/images directory, create an .htaccess containing one line:

Deny from All
If you have not moved your directory, you do not have to change $wgUploadDirectory

Apache Step 2. Execute Script img_auth.php for all Accesses

Apache Step 2.1. Change $wgUploadPath in LocalSettings.php. This is not needed if Apache step 2.2 is done.

TExte d'essais Neutral Neutral Oppose Oppose On hold Strong oppose Support Weak oppose Weak support . .

Galleries typically begin with short captions that briefly introduce the topic in many languages (these can be automatically generated using Commons Sum-it-up), followed by headed sections that typically use the <gallery> tag (see meta page for guidance). The files should be followed by interwiki links (also generated by Sum-it-up) and at least one category. Gallery pages must be in at least one category.

A good way to design a new gallery page is to adapt an existing one from a similar topic. Species (plants/animals) pages will necessarily be different to location (cities/countries) pages.

A special series of gallery pages are the Atlas pages, that can be found at Atlas.


Test

Change your settings at any time, in Special:Preferences#mw-prefsection-editing.


See also: