User:Wladek92/save/doc
Please do not mark this page for translation yet. It is still being drafted, or it contains incomplete translation markup which should be fixed before marking for translation. |
trad pb de span apparu
edit$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
editApache Step 1. Protect Images Directory from Internet Access
editIn your [/path/to]/images directory, create an .htaccess containing one line:
Deny from All
Apache Step 2. Execute Script img_auth.php for all Accesses
editApache Step 2.1. Change $wgUploadPath in LocalSettings.php. This is not needed if Apache step 2.2 is done.
editTExte d'essais Neutral Oppose On hold Strong oppose Support Weak oppose Weak support Galleries are a complement to categories, as another way of displaying media. Galleries are useful as showcasing the best, most illustrative, informative and interesting images of a category. They allow files to be annotated with captions, shown at better sizes than the category default, organised in tables, etc. They are also useful for presenting material in a logical order, something categories have a limited ability to do. For example, compare Tennis to Category:Tennis. Information on gallery pages can be presented in a hierarchical manner, such as Pronunciation of Dutch municipality names and United States.
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
See also: