Merge "Add MW_REST_API and MW_ENTRY_POINT"
[lhc/web/wiklou.git] / docs / scripts.txt
1 scripts.txt
2
3 MediaWiki primary scripts are in the root directory of the software. Users
4 should only use these scripts to access the wiki. There are also some .php that
5 aren't primary scripts but helper files and won't work if they are accessed
6 directly by the web.
7
8 Primary scripts:
9
10 index.php
11 Main access point. It handles the most of requests.
12 See https://www.mediawiki.org/wiki/Manual:Index.php
13
14 api.php
15 Script to provide an API for bots to fetch content and informations about
16 the site and also modify it. See https://www.mediawiki.org/wiki/API
17 for more information.
18
19 img_auth.php
20 Script that only serve images to logged in users. To configure the wiki
21 to use that script, see https://www.mediawiki.org/wiki/Manual:Image_Authorisation.
22
23 load.php
24 Used by ResourceLoader to serve minified, concatenated and gzipped CSS and JS.
25
26 opensearch_desc.php
27 Returns a OpenSearch description document (see http://www.opensearch.org/)
28 that points to the search engines of the wiki.
29
30 profileinfo.php
31 Simple interface for displaying request profiles that were stored in the
32 database. For more information, see the documentation in that file, and at
33 https://www.mediawiki.org/wiki/Manual:Profiling.
34
35 thumb.php
36 Script used to resize images if it is configured to be done when the web
37 browser requests the image and not when generating the page. This script can
38 be used as a 404 handler to generate image thumbs when they don't exist.