From 86a9b8c06c446d4afa688bc81832813e0f8e32df Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Fri, 15 Feb 2013 07:31:48 +0000 Subject: [PATCH] Clean up access points * Harmonize spacing * Use // for comments rather than # * Harmonize call style for 'require', 'include' etc. * Add missing profileinfo.php5 * Use "./" for path to api.php in api.php5 (to match other php5 files). * Move documentation related to Setup.php from index.php to WebStart.php * Remove "Initialise common code." comment in api.php (was already remove in most entry points) Change-Id: I8dc4a79fd13cee49e34f250a4039b3666bd42aca --- api.php | 1 - api.php5 | 6 +++--- img_auth.php5 | 4 ++-- includes/WebStart.php | 5 ++++- includes/rcfeed/XMLRCFeedFormatter.php | 1 - index.php | 3 --- index.php5 | 4 ++-- load.php5 | 4 ++-- mw-config/index.php | 2 ++ mw-config/index.php5 | 7 ++++--- opensearch_desc.php5 | 4 ++-- profileinfo.php5 | 24 ++++++++++++++++++++++++ thumb.php5 | 4 ++-- thumb_handler.php | 4 ++-- thumb_handler.php5 | 4 ++-- wiki.phtml | 2 +- 16 files changed, 52 insertions(+), 27 deletions(-) create mode 100644 profileinfo.php5 diff --git a/api.php b/api.php index 554c2726bc..e55ec75a33 100644 --- a/api.php +++ b/api.php @@ -40,7 +40,6 @@ if ( !function_exists( 'version_compare' ) || version_compare( phpversion(), '5. wfPHPVersionError( 'api.php' ); } -// Initialise common code. require __DIR__ . '/includes/WebStart.php'; wfProfileIn( 'api.php' ); diff --git a/api.php5 b/api.php5 index 1828b7b4d1..524dfd5463 100644 --- a/api.php5 +++ b/api.php5 @@ -1,7 +1,7 @@