Same as r48631; added "@file" when needed, also added doc in redirect.php and install-utils.inc

This commit is contained in:
Alexandre Emsenhuber 2009-03-21 16:48:09 +00:00
parent b564fa66d0
commit ce9c8bf686
5 changed files with 43 additions and 22 deletions

42
api.php
View file

@ -1,25 +1,27 @@
<?php
/*
* API for MediaWiki 1.8+
*
* Copyright (C) 2006 Yuri Astrakhan <Firstname><Lastname>@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
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* http://www.gnu.org/copyleft/gpl.html
*/
/**
* API for MediaWiki 1.8+
*
* Copyright (C) 2006 Yuri Astrakhan <Firstname><Lastname>@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
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* http://www.gnu.org/copyleft/gpl.html
*
* @file
*/
/**
* This file is the entry point for all API queries. It begins by checking

View file

@ -5,11 +5,13 @@
*
* To use this:
*
* Set $wgUploadDirectory to a non-public directory (not web accessible)
* Set $wgUploadPath to point to this file
* - Set $wgUploadDirectory to a non-public directory (not web accessible)
* - Set $wgUploadPath to point to this file
*
* Your server needs to support PATH_INFO; CGI-based configurations
* usually don't.
*
* @file
*/
define( 'MW_NO_OUTPUT_COMPRESSION', 1 );

View file

@ -1,5 +1,12 @@
<?php
/**
* This file contains functions used by the install script (config/index.php)
* and maintenance scripts. It is not loaded in normal web requests.
*
* @file
*/
function install_version_checks() {
# We dare not turn output buffer _off_ since this will break completely
# if PHP is globally configured to run through a gzip filter.

View file

@ -2,6 +2,8 @@
/**
* Generate an OpenSearch description file
*
* @file
*/
require_once( dirname(__FILE__) . '/includes/WebStart.php' );

View file

@ -1,4 +1,12 @@
<?php
/**
* Script that redirects to the article passed in the "wpDropdown" parameter.
* This is used by the nostalgia skin for the special pages drop-down
*
* @file
*/
require_once( './includes/WebStart.php' );
global $wgArticlePath;