r72421 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72420‎ | r72421 | r72422 >
Date:13:15, 5 September 2010
Author:ialex
Status:ok
Tags:
Comment:
* Standardised file description headers
* added @file where needed
* added file description headers where needed
Modified paths:
  • /trunk/phase3/maintenance/7zip.inc (modified) (history)
  • /trunk/phase3/maintenance/attachLatest.php (modified) (history)
  • /trunk/phase3/maintenance/backup.inc (modified) (history)
  • /trunk/phase3/maintenance/backupPrefetch.inc (modified) (history)
  • /trunk/phase3/maintenance/benchmarkPurge.php (modified) (history)
  • /trunk/phase3/maintenance/checkAutoLoader.php (modified) (history)
  • /trunk/phase3/maintenance/checkImages.php (modified) (history)
  • /trunk/phase3/maintenance/checkSyntax.php (modified) (history)
  • /trunk/phase3/maintenance/checkUsernames.php (modified) (history)
  • /trunk/phase3/maintenance/cleanupCaps.php (modified) (history)
  • /trunk/phase3/maintenance/cleanupImages.php (modified) (history)
  • /trunk/phase3/maintenance/cleanupSpam.php (modified) (history)
  • /trunk/phase3/maintenance/cleanupTable.inc (modified) (history)
  • /trunk/phase3/maintenance/cleanupTitles.php (modified) (history)
  • /trunk/phase3/maintenance/cleanupWatchlist.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/checkSyntax.php
@@ -17,6 +17,7 @@
1818 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919 * http://www.gnu.org/copyleft/gpl.html
2020 *
 21+ * @file
2122 * @ingroup Maintenance
2223 */
2324
Index: trunk/phase3/maintenance/checkAutoLoader.php
@@ -17,6 +17,7 @@
1818 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919 * http://www.gnu.org/copyleft/gpl.html
2020 *
 21+ * @file
2122 * @ingroup Maintenance
2223 */
2324
Index: trunk/phase3/maintenance/attachLatest.php
@@ -3,7 +3,7 @@
44 * quick hackjob to fix damages imports on wikisource
55 * page records have page_latest wrong
66 *
7 - * Copyright (C) 2005 Brion Vibber <brion@pobox.com>
 7+ * Copyright © 2005 Brion Vibber <brion@pobox.com>
88 * http://www.mediawiki.org/
99 *
1010 * This program is free software; you can redistribute it and/or modify
@@ -21,6 +21,7 @@
2222 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2323 * http://www.gnu.org/copyleft/gpl.html
2424 *
 25+ * @file
2526 * @ingroup Maintenance
2627 */
2728
Index: trunk/phase3/maintenance/backup.inc
@@ -1,6 +1,8 @@
22 <?php
33 /**
4 - * Copyright (C) 2005 Brion Vibber <brion@pobox.com>
 4+ * Base classes for database dumpers
 5+ *
 6+ * Copyright © 2005 Brion Vibber <brion@pobox.com>
57 * http://www.mediawiki.org/
68 *
79 * This program is free software; you can redistribute it and/or modify
Index: trunk/phase3/maintenance/cleanupWatchlist.php
@@ -1,5 +1,5 @@
22 <?php
3 -/*
 3+/**
44 * Script to remove broken, unparseable titles in the Watchlist.
55 *
66 * Usage: php cleanupWatchlist.php [--fix]
@@ -24,6 +24,7 @@
2525 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626 * http://www.gnu.org/copyleft/gpl.html
2727 *
 28+ * @file
2829 * @author Brion Vibber <brion at pobox.com>
2930 * @ingroup Maintenance
3031 */
Index: trunk/phase3/maintenance/7zip.inc
@@ -1,5 +1,12 @@
22 <?php
33 /**
 4+ * 7z stream wrapper
 5+ *
 6+ * @file
 7+ * @ingroup Maintenance
 8+ */
 9+
 10+/**
411 * Stream wrapper around 7za filter program.
512 * Required since we can't pass an open file resource to XMLReader->open()
613 * which is used for the text prefetch.
Index: trunk/phase3/maintenance/cleanupTitles.php
@@ -1,12 +1,12 @@
22 <?php
3 -/*
 3+/**
44 * Script to clean up broken, unparseable titles.
55 *
66 * Usage: php cleanupTitles.php [--fix]
77 * Options:
88 * --fix Actually clean up titles; otherwise just checks for them
99 *
10 - * Copyright (C) 2005 Brion Vibber <brion@pobox.com>
 10+ * Copyright © 2005 Brion Vibber <brion@pobox.com>
1111 * http://www.mediawiki.org/
1212 *
1313 * This program is free software; you can redistribute it and/or modify
@@ -24,6 +24,7 @@
2525 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626 * http://www.gnu.org/copyleft/gpl.html
2727 *
 28+ * @file
2829 * @author Brion Vibber <brion at pobox.com>
2930 * @ingroup Maintenance
3031 */
Index: trunk/phase3/maintenance/checkImages.php
@@ -17,6 +17,7 @@
1818 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919 * http://www.gnu.org/copyleft/gpl.html
2020 *
 21+ * @file
2122 * @ingroup Maintenance
2223 */
2324 require_once( dirname( __FILE__ ) . '/Maintenance.php' );
Index: trunk/phase3/maintenance/cleanupImages.php
@@ -1,5 +1,5 @@
22 <?php
3 -/*
 3+/**
44 * Script to clean up broken, unparseable upload filenames.
55 *
66 * Usage: php cleanupImages.php [--fix]
@@ -24,6 +24,7 @@
2525 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626 * http://www.gnu.org/copyleft/gpl.html
2727 *
 28+ * @file
2829 * @author Brion Vibber <brion at pobox.com>
2930 * @ingroup Maintenance
3031 */
Index: trunk/phase3/maintenance/cleanupTable.inc
@@ -17,6 +17,7 @@
1818 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919 * http://www.gnu.org/copyleft/gpl.html
2020 *
 21+ * @file
2122 * @ingroup Maintenance
2223 */
2324
Index: trunk/phase3/maintenance/benchmarkPurge.php
@@ -17,6 +17,7 @@
1818 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919 * http://www.gnu.org/copyleft/gpl.html
2020 *
 21+ * @file
2122 * @ingroup Maintenance
2223 */
2324
Index: trunk/phase3/maintenance/checkUsernames.php
@@ -19,6 +19,7 @@
2020 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2121 * http://www.gnu.org/copyleft/gpl.html
2222 *
 23+ * @file
2324 * @ingroup Maintenance
2425 */
2526
Index: trunk/phase3/maintenance/cleanupSpam.php
@@ -17,6 +17,7 @@
1818 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919 * http://www.gnu.org/copyleft/gpl.html
2020 *
 21+ * @file
2122 * @ingroup Maintenance
2223 */
2324
Index: trunk/phase3/maintenance/cleanupCaps.php
@@ -1,12 +1,12 @@
22 <?php
3 -/*
 3+/**
44 * Script to clean up broken page links when somebody turns on $wgCapitalLinks.
55 *
66 * Usage: php cleanupCaps.php [--dry-run]
77 * Options:
88 * --dry-run don't actually try moving them
99 *
10 - * Copyright (C) 2005 Brion Vibber <brion@pobox.com>
 10+ * Copyright © 2005 Brion Vibber <brion@pobox.com>
1111 * http://www.mediawiki.org/
1212 *
1313 * This program is free software; you can redistribute it and/or modify
@@ -24,8 +24,9 @@
2525 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626 * http://www.gnu.org/copyleft/gpl.html
2727 *
 28+ * @file
2829 * @author Brion Vibber <brion at pobox.com>
29 - * @ingroup maintenance
 30+ * @ingroup Maintenance
3031 */
3132
3233 require_once( dirname( __FILE__ ) . '/cleanupTable.inc' );
Index: trunk/phase3/maintenance/backupPrefetch.inc
@@ -1,4 +1,10 @@
22 <?php
 3+/**
 4+ * Helper class for the --prefetch option of dumpTextPass.php
 5+ *
 6+ * @file
 7+ * @ingrouo Maintenance
 8+ */
39
410 // Some smart guy removed XMLReader's global constants from PHP 5.1
511 // and replaced them with class constants. Breaking source compatibility

Follow-up revisions

RevisionCommit summaryAuthorDate
r77528Fix for r72421: correct command nameialex13:28, 1 December 2010

Status & tagging log