From f27ff698fb1c6442f20dc08344821b08d52199d5 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Wed, 23 May 2012 13:41:30 +0200 Subject: [PATCH] Added missing GPLv2 headers in some places. Also made file documentation more consistent. Change-Id: I30e124514396f110a572467b94ca06cefd5f7b46 --- api.php | 24 ++++++++++-------------- api.php5 | 25 ++++++++++++++++++++++++- img_auth.php | 19 ++++++++++++++++--- img_auth.php5 | 25 ++++++++++++++++++++++++- index.php5 | 25 ++++++++++++++++++++++++- load.php | 1 - load.php5 | 25 ++++++++++++++++++++++++- opensearch_desc.php | 18 ++++++++++++++++-- opensearch_desc.php5 | 25 ++++++++++++++++++++++++- redirect.php | 17 ++++++++++++++++- redirect.php5 | 25 ++++++++++++++++++++++++- thumb.php | 17 ++++++++++++++++- thumb.php5 | 26 +++++++++++++++++++++++++- thumb_handler.php | 23 ++++++++++++++++++++++- thumb_handler.php5 | 26 +++++++++++++++++++++++++- 15 files changed, 290 insertions(+), 31 deletions(-) diff --git a/api.php b/api.php index 3691ac6457..1cd549747c 100644 --- a/api.php +++ b/api.php @@ -1,9 +1,16 @@ @gmail.com + * Copyright © 2006 Yuri Astrakhan @gmail.com * * 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 @@ -23,17 +30,6 @@ * @file */ -/** - * This file is the entry point for all API queries. It begins by checking - * whether the API is enabled on this wiki; if not, it informs the user that - * s/he should set $wgEnableAPI to true and exits. Otherwise, it constructs - * a new ApiMain using the parameter passed to it as an argument in the URL - * ('?action=') and with write-enabled set to the value of $wgEnableWriteAPI - * as specified in LocalSettings.php. It then invokes "execute()" on the - * ApiMain object instance, which produces output in the format sepecified - * in the URL. - */ - // So extensions (and other code) can check whether they're running in API mode define( 'MW_API', true ); diff --git a/api.php5 b/api.php5 index 72ee155e6d..bb515c5c15 100644 --- a/api.php5 +++ b/api.php5 @@ -1 +1,24 @@ -