r48658 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48657‎ | r48658 | r48659 >
Date:16:48, 21 March 2009
Author:ialex
Status:ok
Tags:
Comment:
Same as r48631; added "@file" when needed, also added doc in redirect.php and install-utils.inc
Modified paths:
  • /trunk/phase3/api.php (modified) (history)
  • /trunk/phase3/img_auth.php (modified) (history)
  • /trunk/phase3/install-utils.inc (modified) (history)
  • /trunk/phase3/opensearch_desc.php (modified) (history)
  • /trunk/phase3/redirect.php (modified) (history)

Diff [purge]

Index: trunk/phase3/opensearch_desc.php
@@ -2,6 +2,8 @@
33
44 /**
55 * Generate an OpenSearch description file
 6+ *
 7+ * @file
68 */
79
810 require_once( dirname(__FILE__) . '/includes/WebStart.php' );
Index: trunk/phase3/install-utils.inc
@@ -1,5 +1,12 @@
22 <?php
33
 4+/**
 5+ * This file contains functions used by the install script (config/index.php)
 6+ * and maintenance scripts. It is not loaded in normal web requests.
 7+ *
 8+ * @file
 9+ */
 10+
411 function install_version_checks() {
512 # We dare not turn output buffer _off_ since this will break completely
613 # if PHP is globally configured to run through a gzip filter.
Index: trunk/phase3/img_auth.php
@@ -5,11 +5,13 @@
66 *
77 * To use this:
88 *
9 - * Set $wgUploadDirectory to a non-public directory (not web accessible)
10 - * Set $wgUploadPath to point to this file
 9+ * - Set $wgUploadDirectory to a non-public directory (not web accessible)
 10+ * - Set $wgUploadPath to point to this file
1111 *
1212 * Your server needs to support PATH_INFO; CGI-based configurations
1313 * usually don't.
 14+ *
 15+ * @file
1416 */
1517
1618 define( 'MW_NO_OUTPUT_COMPRESSION', 1 );
Index: trunk/phase3/redirect.php
@@ -1,4 +1,12 @@
22 <?php
 3+
 4+/**
 5+ * Script that redirects to the article passed in the "wpDropdown" parameter.
 6+ * This is used by the nostalgia skin for the special pages drop-down
 7+ *
 8+ * @file
 9+ */
 10+
311 require_once( './includes/WebStart.php' );
412 global $wgArticlePath;
513
Index: trunk/phase3/api.php
@@ -1,25 +1,27 @@
22 <?php
33
4 -/*
5 -* API for MediaWiki 1.8+
6 -*
7 -* Copyright (C) 2006 Yuri Astrakhan <Firstname><Lastname>@gmail.com
8 -*
9 -* This program is free software; you can redistribute it and/or modify
10 -* it under the terms of the GNU General Public License as published by
11 -* the Free Software Foundation; either version 2 of the License, or
12 -* (at your option) any later version.
13 -*
14 -* This program is distributed in the hope that it will be useful,
15 -* but WITHOUT ANY WARRANTY; without even the implied warranty of
16 -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 -* GNU General Public License for more details.
18 -*
19 -* You should have received a copy of the GNU General Public License along
20 -* with this program; if not, write to the Free Software Foundation, Inc.,
21 -* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 -* http://www.gnu.org/copyleft/gpl.html
23 -*/
 4+/**
 5+ * API for MediaWiki 1.8+
 6+ *
 7+ * Copyright (C) 2006 Yuri Astrakhan <Firstname><Lastname>@gmail.com
 8+ *
 9+ * This program is free software; you can redistribute it and/or modify
 10+ * it under the terms of the GNU General Public License as published by
 11+ * the Free Software Foundation; either version 2 of the License, or
 12+ * (at your option) any later version.
 13+ *
 14+ * This program is distributed in the hope that it will be useful,
 15+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 16+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 17+ * GNU General Public License for more details.
 18+ *
 19+ * You should have received a copy of the GNU General Public License along
 20+ * with this program; if not, write to the Free Software Foundation, Inc.,
 21+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 22+ * http://www.gnu.org/copyleft/gpl.html
 23+ *
 24+ * @file
 25+ */
2426
2527 /**
2628 * This file is the entry point for all API queries. It begins by checking

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r48631* Added "@file" so that doxygen doesn't attribute the comment to the first in...ialex12:00, 20 March 2009

Status & tagging log