diff --git a/api.php b/api.php index be6e72ee0ea..3c3b3168cfa 100644 --- a/api.php +++ b/api.php @@ -1,6 +1,10 @@ for more + * information. * * It begins by constructing a new ApiMain using the parameter passed to it * as an argument in the URL ('?action='). It then invokes "execute()" on the @@ -25,6 +29,7 @@ * http://www.gnu.org/copyleft/gpl.html * * @file + * @ingroup entrypoint */ use MediaWiki\Logger\LegacyLogger; diff --git a/docs/scripts.md b/docs/scripts.md deleted file mode 100644 index 3a07b3800c6..00000000000 --- a/docs/scripts.md +++ /dev/null @@ -1,41 +0,0 @@ -Scripts -======= - -MediaWiki primary scripts are in the root directory of the software. Users -should only use these scripts to access the wiki. There are also some `.php` that -aren't primary scripts but helper files and won't work if they are accessed -directly by the web. - -Primary scripts: ----------------- - - - index.php - - Main access point. It handles the most of requests. - See - - - api.php - - Script to provide an API for bots to fetch content and informations about - the site and also modify it. See - for more information. - - - img_auth.php - - Script that only serve images to logged in users. To configure the wiki - to use that script, see . - - - load.php - - Used by `ResourceLoader` to serve minified, concatenated and gzipped CSS and JS. - - - opensearch_desc.php - - Returns a OpenSearch description document (see ) - that points to the search engines of the wiki. - - - thumb.php - - Script used to resize images if it is configured to be done when the web - browser requests the image and not when generating the page. This script can - be used as a 404 handler to generate image thumbs when they don't exist. diff --git a/img_auth.php b/img_auth.php index 94eaccb3fe8..ba97d3b186a 100644 --- a/img_auth.php +++ b/img_auth.php @@ -1,6 +1,6 @@
+
+// If you are reading this in your web browser, your server is probably
+// not configured correctly to run PHP applications!
+//
+// See the README, INSTALL, and UPGRADE files for basic setup instructions
+// and pointers to the online documentation.
+//
+// https://www.mediawiki.org/wiki/Special:MyLanguage/MediaWiki
+//
+// -------------------------------------------------
+
 /**
- * For people without PHP, close tag for easier debugging: >
- *
- * This is the main web entry point for MediaWiki.
- *
- * If you are reading this in your web browser, your server is probably
- * not configured correctly to run PHP applications!
- *
- * See the README, INSTALL, and UPGRADE files for basic setup instructions
- * and pointers to the online documentation.
- *
- * https://www.mediawiki.org/wiki/Special:MyLanguage/MediaWiki
- *
- * ----------
+ * The main web entry point for MediaWiki. It handles all web requests for
+ * navigations from web browsers.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -30,6 +30,7 @@
  * http://www.gnu.org/copyleft/gpl.html
  *
  * @file
+ * @ingroup entrypoint
  */
 
 define( 'MW_ENTRY_POINT', 'index' );
diff --git a/load.php b/load.php
index 434ba460848..25aa1e90052 100644
--- a/load.php
+++ b/load.php
@@ -1,6 +1,7 @@
  for the specification of the OpenSearch
+ * "description" document. In a nut shell, this tells browsers how and where
+ * to submit submit search queries to get a search results page back,
+ * as well as how to get typeahead suggestions (see ApiOpenSearch).
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -18,6 +23,7 @@
  * http://www.gnu.org/copyleft/gpl.html
  *
  * @file
+ * @ingroup entrypoint
  */
 
 // This endpoint is supposed to be independent of request cookies and other
diff --git a/thumb.php b/thumb.php
index da2084529c7..7b28f87c2d3 100644
--- a/thumb.php
+++ b/thumb.php
@@ -1,6 +1,9 @@