r78508 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78507‎ | r78508 | r78509 >
Date:19:15, 16 December 2010
Author:ialex
Status:ok (Comments)
Tags:
Comment:
Part of bug 26280: added license headers to PHP files in maintenance
Modified paths:
  • /trunk/phase3/maintenance/7zip.inc (modified) (history)
  • /trunk/phase3/maintenance/Maintenance.php (modified) (history)
  • /trunk/phase3/maintenance/archives/upgradeLogging.php (modified) (history)
  • /trunk/phase3/maintenance/backupPrefetch.inc (modified) (history)
  • /trunk/phase3/maintenance/benchmarks/Benchmarker.php (modified) (history)
  • /trunk/phase3/maintenance/benchmarks/bench_HTTP_HTTPS.php (modified) (history)
  • /trunk/phase3/maintenance/benchmarks/bench_wfIsWindows.php (modified) (history)
  • /trunk/phase3/maintenance/commandLine.inc (modified) (history)
  • /trunk/phase3/maintenance/dumpInterwiki.php (modified) (history)
  • /trunk/phase3/maintenance/eval.php (modified) (history)
  • /trunk/phase3/maintenance/fuzz-tester.php (modified) (history)
  • /trunk/phase3/maintenance/importImages.inc (modified) (history)
  • /trunk/phase3/maintenance/importImages.php (modified) (history)
  • /trunk/phase3/maintenance/importTextFile.php (modified) (history)
  • /trunk/phase3/maintenance/importUseModWiki.php (modified) (history)
  • /trunk/phase3/maintenance/install-utils.inc (modified) (history)
  • /trunk/phase3/maintenance/lag.php (modified) (history)
  • /trunk/phase3/maintenance/language/StatOutputs.php (modified) (history)
  • /trunk/phase3/maintenance/language/checkDupeMessages.php (modified) (history)
  • /trunk/phase3/maintenance/language/checkExtensions.php (modified) (history)
  • /trunk/phase3/maintenance/language/checkLanguage.inc (modified) (history)
  • /trunk/phase3/maintenance/language/checkLanguage.php (modified) (history)
  • /trunk/phase3/maintenance/language/function-list.php (modified) (history)
  • /trunk/phase3/maintenance/language/generateNormalizerData.php (modified) (history)
  • /trunk/phase3/maintenance/language/languages.inc (modified) (history)
  • /trunk/phase3/maintenance/language/messageTypes.inc (modified) (history)
  • /trunk/phase3/maintenance/language/messages.inc (modified) (history)
  • /trunk/phase3/maintenance/language/rebuildLanguage.php (modified) (history)
  • /trunk/phase3/maintenance/language/transstat.php (modified) (history)
  • /trunk/phase3/maintenance/language/validate.php (modified) (history)
  • /trunk/phase3/maintenance/language/writeMessagesArray.inc (modified) (history)
  • /trunk/phase3/maintenance/mcc.php (modified) (history)
  • /trunk/phase3/maintenance/mergeMessageFileList.php (modified) (history)
  • /trunk/phase3/maintenance/minify.php (modified) (history)
  • /trunk/phase3/maintenance/mwdocgen.php (modified) (history)
  • /trunk/phase3/maintenance/ourusers.php (modified) (history)
  • /trunk/phase3/maintenance/populateCategory.php (modified) (history)
  • /trunk/phase3/maintenance/preprocessorFuzzTest.php (modified) (history)
  • /trunk/phase3/maintenance/protect.php (modified) (history)
  • /trunk/phase3/maintenance/purgeOldText.inc (modified) (history)
  • /trunk/phase3/maintenance/rebuildInterwiki.php (modified) (history)
  • /trunk/phase3/maintenance/refreshLinks.php (modified) (history)
  • /trunk/phase3/maintenance/sqlite.inc (modified) (history)
  • /trunk/phase3/maintenance/storage/checkStorage.php (modified) (history)
  • /trunk/phase3/maintenance/storage/compressOld.inc (modified) (history)
  • /trunk/phase3/maintenance/storage/compressOld.php (modified) (history)
  • /trunk/phase3/maintenance/storage/fixBug20757.php (modified) (history)
  • /trunk/phase3/maintenance/storage/moveToExternal.php (modified) (history)
  • /trunk/phase3/maintenance/storage/recompressTracked.php (modified) (history)
  • /trunk/phase3/maintenance/storage/resolveStubs.php (modified) (history)
  • /trunk/phase3/maintenance/storage/storageTypeStats.php (modified) (history)
  • /trunk/phase3/maintenance/storage/testCompression.php (modified) (history)
  • /trunk/phase3/maintenance/storage/trackBlobs.php (modified) (history)
  • /trunk/phase3/maintenance/undelete.php (modified) (history)
  • /trunk/phase3/maintenance/update.php (modified) (history)
  • /trunk/phase3/maintenance/updateCollation.php (modified) (history)
  • /trunk/phase3/maintenance/upgrade1_5.php (modified) (history)
  • /trunk/phase3/maintenance/userDupes.inc (modified) (history)
  • /trunk/phase3/maintenance/userOptions.inc (modified) (history)
  • /trunk/phase3/maintenance/userOptions.php (modified) (history)
  • /trunk/phase3/maintenance/waitForSlave.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/mcc.php
@@ -2,6 +2,21 @@
33 /**
44 * memcached diagnostic tool
55 *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
621 * @file
722 * @todo document
823 * @ingroup Maintenance
Index: trunk/phase3/maintenance/lag.php
@@ -1,8 +1,23 @@
22 <?php
3 -
43 /**
54 * Shows database lag
65 *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
 21+ * @file
722 * @ingroup Maintenance
823 */
924
Index: trunk/phase3/maintenance/archives/upgradeLogging.php
@@ -2,6 +2,21 @@
33 /**
44 * Replication-safe online upgrade script for log_id/log_deleted
55 *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
621 * @file
722 * @ingroup MaintenanceArchive
823 */
Index: trunk/phase3/maintenance/storage/fixBug20757.php
@@ -1,4 +1,25 @@
22 <?php
 3+/**
 4+ * Script to fix bug 20757.
 5+ *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
 21+ * @file
 22+ * @ingroup Maintenance ExternalStorage
 23+ */
324
425 require_once( dirname( __FILE__ ) . '/../Maintenance.php' );
526
Index: trunk/phase3/maintenance/storage/compressOld.php
@@ -20,6 +20,21 @@
2121 * -s <start-id> the old_id to start from
2222 * --extdb <cluster> store specified revisions in an external cluster (untested)
2323 *
 24+ * This program is free software; you can redistribute it and/or modify
 25+ * it under the terms of the GNU General Public License as published by
 26+ * the Free Software Foundation; either version 2 of the License, or
 27+ * (at your option) any later version.
 28+ *
 29+ * This program is distributed in the hope that it will be useful,
 30+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 31+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 32+ * GNU General Public License for more details.
 33+ *
 34+ * You should have received a copy of the GNU General Public License along
 35+ * with this program; if not, write to the Free Software Foundation, Inc.,
 36+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 37+ * http://www.gnu.org/copyleft/gpl.html
 38+ *
2439 * @file
2540 * @ingroup Maintenance ExternalStorage
2641 */
Index: trunk/phase3/maintenance/storage/compressOld.inc
@@ -1,5 +1,22 @@
22 <?php
33 /**
 4+ * Helper functions for compressOld.php script.
 5+ *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
421 * @file
522 * @ingroup Maintenance ExternalStorage
623 */
Index: trunk/phase3/maintenance/storage/moveToExternal.php
@@ -2,6 +2,21 @@
33 /**
44 * Move revision's text to external storage
55 *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
621 * @file
722 * @ingroup Maintenance ExternalStorage
823 */
Index: trunk/phase3/maintenance/storage/recompressTracked.php
@@ -1,4 +1,26 @@
22 <?php
 3+/**
 4+ * Moves blobs indexed by trackBlobs.php to a specified list of destination
 5+ * clusters, and recompresses them in the process.
 6+ *
 7+ * This program is free software; you can redistribute it and/or modify
 8+ * it under the terms of the GNU General Public License as published by
 9+ * the Free Software Foundation; either version 2 of the License, or
 10+ * (at your option) any later version.
 11+ *
 12+ * This program is distributed in the hope that it will be useful,
 13+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 14+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 15+ * GNU General Public License for more details.
 16+ *
 17+ * You should have received a copy of the GNU General Public License along
 18+ * with this program; if not, write to the Free Software Foundation, Inc.,
 19+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 20+ * http://www.gnu.org/copyleft/gpl.html
 21+ *
 22+ * @file
 23+ * @ingroup Maintenance ExternalStorage
 24+ */
325
426 $optionsWithArgs = RecompressTracked::getOptionsWithArgs();
527 require( dirname( __FILE__ ) . '/../commandLine.inc' );
Index: trunk/phase3/maintenance/storage/resolveStubs.php
@@ -1,5 +1,23 @@
22 <?php
33 /**
 4+ * Script to convert history stubs that point to an external row to direct
 5+ * external pointers.
 6+ *
 7+ * This program is free software; you can redistribute it and/or modify
 8+ * it under the terms of the GNU General Public License as published by
 9+ * the Free Software Foundation; either version 2 of the License, or
 10+ * (at your option) any later version.
 11+ *
 12+ * This program is distributed in the hope that it will be useful,
 13+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 14+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 15+ * GNU General Public License for more details.
 16+ *
 17+ * You should have received a copy of the GNU General Public License along
 18+ * with this program; if not, write to the Free Software Foundation, Inc.,
 19+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 20+ * http://www.gnu.org/copyleft/gpl.html
 21+ *
422 * @file
523 * @ingroup Maintenance ExternalStorage
624 */
Index: trunk/phase3/maintenance/storage/testCompression.php
@@ -1,4 +1,24 @@
22 <?php
 3+/**
 4+ * This program is free software; you can redistribute it and/or modify
 5+ * it under the terms of the GNU General Public License as published by
 6+ * the Free Software Foundation; either version 2 of the License, or
 7+ * (at your option) any later version.
 8+ *
 9+ * This program is distributed in the hope that it will be useful,
 10+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 11+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 12+ * GNU General Public License for more details.
 13+ *
 14+ * You should have received a copy of the GNU General Public License along
 15+ * with this program; if not, write to the Free Software Foundation, Inc.,
 16+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 17+ * http://www.gnu.org/copyleft/gpl.html
 18+ *
 19+ * @file
 20+ * @ingroup Maintenance
 21+ * @see wfWaitForSlaves()
 22+ */
323
424 $optionsWithArgs = array( 'start', 'limit', 'type' );
525 require( dirname( __FILE__ ) . '/../commandLine.inc' );
Index: trunk/phase3/maintenance/storage/checkStorage.php
@@ -2,6 +2,21 @@
33 /**
44 * Fsck for MediaWiki
55 *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
621 * @file
722 * @ingroup Maintenance ExternalStorage
823 */
Index: trunk/phase3/maintenance/storage/storageTypeStats.php
@@ -1,4 +1,23 @@
22 <?php
 3+/**
 4+ * This program is free software; you can redistribute it and/or modify
 5+ * it under the terms of the GNU General Public License as published by
 6+ * the Free Software Foundation; either version 2 of the License, or
 7+ * (at your option) any later version.
 8+ *
 9+ * This program is distributed in the hope that it will be useful,
 10+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 11+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 12+ * GNU General Public License for more details.
 13+ *
 14+ * You should have received a copy of the GNU General Public License along
 15+ * with this program; if not, write to the Free Software Foundation, Inc.,
 16+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 17+ * http://www.gnu.org/copyleft/gpl.html
 18+ *
 19+ * @file
 20+ * @ingroup Maintenance ExternalStorage
 21+ */
322
423 require_once( dirname( __FILE__ ) . '/../Maintenance.php' );
524
Index: trunk/phase3/maintenance/storage/trackBlobs.php
@@ -1,4 +1,26 @@
22 <?php
 3+/**
 4+ * Adds blobs from a given external storage cluster to the blob_tracking table.
 5+ *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
 21+ * @file
 22+ * @ingroup Maintenance
 23+ * @see wfWaitForSlaves()
 24+ */
325
426 require( dirname( __FILE__ ) . '/../commandLine.inc' );
527
Index: trunk/phase3/maintenance/protect.php
@@ -1,5 +1,7 @@
22 <?php
33 /**
 4+ * Protect or unprotect an article.
 5+ *
46 * This program is free software; you can redistribute it and/or modify
57 * it under the terms of the GNU General Public License as published by
68 * the Free Software Foundation; either version 2 of the License, or
Index: trunk/phase3/maintenance/update.php
@@ -5,6 +5,21 @@
66 * This is used when the database schema is modified and we need to apply patches.
77 * It is kept compatible with php 4 parsing so that it can give out a meaningful error.
88 *
 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+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 22+ * http://www.gnu.org/copyleft/gpl.html
 23+ *
924 * @file
1025 * @todo document
1126 * @ingroup Maintenance
Index: trunk/phase3/maintenance/minify.php
@@ -1,6 +1,24 @@
22 <?php
33 /**
44 * Minify a file or set of files
 5+ *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
 21+ * @file
 22+ * @ingroup Maintenance
523 */
624
725 require_once( dirname( __FILE__ ) . '/Maintenance.php' );
Index: trunk/phase3/maintenance/fuzz-tester.php
@@ -1,11 +1,29 @@
22 <?php
33 /**
4 -* @file
5 -* @ingroup Maintenance
6 -* @author Nick Jenkins ( http://nickj.org/ ).
7 -* @copyright 2006 Nick Jenkins
8 -* @licence GNU General Public Licence 2.0
 4+ * Performs fuzz-style testing of MediaWiki's parser and forms.
 5+ *
 6+ * Copyright © 2006 Nick Jenkins
 7+ *
 8+ * This program is free software; you can redistribute it and/or modify
 9+ * it under the terms of the GNU General Public License as published by
 10+ * the Free Software Foundation; either version 2 of the License, or
 11+ * (at your option) any later version.
 12+ *
 13+ * This program is distributed in the hope that it will be useful,
 14+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 15+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 16+ * GNU General Public License for more details.
 17+ *
 18+ * You should have received a copy of the GNU General Public License along
 19+ * with this program; if not, write to the Free Software Foundation, Inc.,
 20+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 21+ * http://www.gnu.org/copyleft/gpl.html
 22+ *
 23+ * @file
 24+ * @ingroup Maintenance
 25+ * @author Nick Jenkins ( http://nickj.org/ ).
926
 27+
1028 Started: 18 May 2006.
1129
1230 Description:
Index: trunk/phase3/maintenance/mwdocgen.php
@@ -16,7 +16,21 @@
1717 * that make output slow when doxygen parses language files.
1818 * - the menu doesnt work, got disabled at revision 13740. Need to code it.
1919 *
 20+ * This program is free software; you can redistribute it and/or modify
 21+ * it under the terms of the GNU General Public License as published by
 22+ * the Free Software Foundation; either version 2 of the License, or
 23+ * (at your option) any later version.
2024 *
 25+ * This program is distributed in the hope that it will be useful,
 26+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 27+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 28+ * GNU General Public License for more details.
 29+ *
 30+ * You should have received a copy of the GNU General Public License along
 31+ * with this program; if not, write to the Free Software Foundation, Inc.,
 32+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 33+ * http://www.gnu.org/copyleft/gpl.html
 34+ *
2135 * @file
2236 * @todo document
2337 * @ingroup Maintenance
Index: trunk/phase3/maintenance/undelete.php
@@ -2,6 +2,21 @@
33 /**
44 * Undelete a page by fetching it from the archive table
55 *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
621 * @file
722 * @ingroup Maintenance
823 */
Index: trunk/phase3/maintenance/refreshLinks.php
@@ -1,5 +1,7 @@
22 <?php
33 /**
 4+ * Refresh link tables.
 5+ *
46 * This program is free software; you can redistribute it and/or modify
57 * it under the terms of the GNU General Public License as published by
68 * the Free Software Foundation; either version 2 of the License, or
Index: trunk/phase3/maintenance/userOptions.inc
@@ -1,5 +1,22 @@
22 <?php
33 /**
 4+ * Helper class for userOptions.php script.
 5+ *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
421 * @file
522 * @ingroup Maintenance
623 */
Index: trunk/phase3/maintenance/importImages.inc
@@ -1,8 +1,22 @@
22 <?php
3 -
43 /**
54 * Support functions for the importImages script
65 *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
721 * @file
822 * @ingroup Maintenance
923 * @author Rob Church <robchur@gmail.com>
Index: trunk/phase3/maintenance/populateCategory.php
@@ -1,5 +1,22 @@
22 <?php
33 /**
 4+ * Script to populate category table.
 5+ *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
421 * @file
522 * @ingroup Maintenance
623 * @author Simetrical
Index: trunk/phase3/maintenance/updateCollation.php
@@ -1,5 +1,24 @@
22 <?php
33 /**
 4+ * Script will find all rows in the categorylinks table whose collation is
 5+ * out-of-date (cl_collation != $wgCategoryCollation) and repopulate cl_sortkey
 6+ * using the page title and cl_sortkey_prefix.
 7+ *
 8+ * This program is free software; you can redistribute it and/or modify
 9+ * it under the terms of the GNU General Public License as published by
 10+ * the Free Software Foundation; either version 2 of the License, or
 11+ * (at your option) any later version.
 12+ *
 13+ * This program is distributed in the hope that it will be useful,
 14+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 15+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 16+ * GNU General Public License for more details.
 17+ *
 18+ * You should have received a copy of the GNU General Public License along
 19+ * with this program; if not, write to the Free Software Foundation, Inc.,
 20+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 21+ * http://www.gnu.org/copyleft/gpl.html
 22+ *
423 * @file
524 * @ingroup Maintenance
625 * @author Aryeh Gregor (Simetrical)
Index: trunk/phase3/maintenance/userOptions.php
@@ -6,6 +6,21 @@
77 *
88 * Made on an original idea by Fooey (freenode)
99 *
 10+ * This program is free software; you can redistribute it and/or modify
 11+ * it under the terms of the GNU General Public License as published by
 12+ * the Free Software Foundation; either version 2 of the License, or
 13+ * (at your option) any later version.
 14+ *
 15+ * This program is distributed in the hope that it will be useful,
 16+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 17+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 18+ * GNU General Public License for more details.
 19+ *
 20+ * You should have received a copy of the GNU General Public License along
 21+ * with this program; if not, write to the Free Software Foundation, Inc.,
 22+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 23+ * http://www.gnu.org/copyleft/gpl.html
 24+ *
1025 * @file
1126 * @ingroup Maintenance
1227 * @author Ashar Voultoiz <hashar at free dot fr>
Index: trunk/phase3/maintenance/importImages.php
@@ -11,6 +11,21 @@
1212 * - fetch metadata from source wiki for each file to import.
1313 * - commit the fetched metadata to the destination wiki while submitting.
1414 *
 15+ * This program is free software; you can redistribute it and/or modify
 16+ * it under the terms of the GNU General Public License as published by
 17+ * the Free Software Foundation; either version 2 of the License, or
 18+ * (at your option) any later version.
 19+ *
 20+ * This program is distributed in the hope that it will be useful,
 21+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 22+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 23+ * GNU General Public License for more details.
 24+ *
 25+ * You should have received a copy of the GNU General Public License along
 26+ * with this program; if not, write to the Free Software Foundation, Inc.,
 27+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 28+ * http://www.gnu.org/copyleft/gpl.html
 29+ *
1530 * @file
1631 * @ingroup Maintenance
1732 * @author Rob Church <robchur@gmail.com>
Index: trunk/phase3/maintenance/purgeOldText.inc
@@ -3,6 +3,21 @@
44 /**
55 * Support functions for cleaning up redundant text records
66 *
 7+ * This program is free software; you can redistribute it and/or modify
 8+ * it under the terms of the GNU General Public License as published by
 9+ * the Free Software Foundation; either version 2 of the License, or
 10+ * (at your option) any later version.
 11+ *
 12+ * This program is distributed in the hope that it will be useful,
 13+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 14+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 15+ * GNU General Public License for more details.
 16+ *
 17+ * You should have received a copy of the GNU General Public License along
 18+ * with this program; if not, write to the Free Software Foundation, Inc.,
 19+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 20+ * http://www.gnu.org/copyleft/gpl.html
 21+ *
722 * @file
823 * @ingroup Maintenance
924 * @author Rob Church <robchur@gmail.com>
Index: trunk/phase3/maintenance/7zip.inc
@@ -2,6 +2,24 @@
33 /**
44 * 7z stream wrapper
55 *
 6+ * Copyright © 2005 Brion Vibber <brion@pobox.com>
 7+ * http://www.mediawiki.org/
 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+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 22+ * http://www.gnu.org/copyleft/gpl.html
 23+ *
624 * @file
725 * @ingroup Maintenance
826 */
Index: trunk/phase3/maintenance/importUseModWiki.php
@@ -1,5 +1,4 @@
22 <?php
3 -
43 /**
54 * Import data from a UseModWiki into a MediaWiki wiki
65 * 2003-02-09 Brion VIBBER <brion@pobox.com>
@@ -21,6 +20,21 @@
2221 * schema changes.
2322 * 2005-03-14
2423 *
 24+ * This program is free software; you can redistribute it and/or modify
 25+ * it under the terms of the GNU General Public License as published by
 26+ * the Free Software Foundation; either version 2 of the License, or
 27+ * (at your option) any later version.
 28+ *
 29+ * This program is distributed in the hope that it will be useful,
 30+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 31+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 32+ * GNU General Public License for more details.
 33+ *
 34+ * You should have received a copy of the GNU General Public License along
 35+ * with this program; if not, write to the Free Software Foundation, Inc.,
 36+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 37+ * http://www.gnu.org/copyleft/gpl.html
 38+ *
2539 * @todo document
2640 * @file
2741 * @ingroup Maintenance
Index: trunk/phase3/maintenance/ourusers.php
@@ -6,6 +6,21 @@
77 * list of hosts. It takes care of setting the wikiuser for every
88 * database as well as setting up wikiadmin.
99 *
 10+ * This program is free software; you can redistribute it and/or modify
 11+ * it under the terms of the GNU General Public License as published by
 12+ * the Free Software Foundation; either version 2 of the License, or
 13+ * (at your option) any later version.
 14+ *
 15+ * This program is distributed in the hope that it will be useful,
 16+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 17+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 18+ * GNU General Public License for more details.
 19+ *
 20+ * You should have received a copy of the GNU General Public License along
 21+ * with this program; if not, write to the Free Software Foundation, Inc.,
 22+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 23+ * http://www.gnu.org/copyleft/gpl.html
 24+ *
1025 * @todo document
1126 * @file
1227 * @ingroup Maintenance
Index: trunk/phase3/maintenance/userDupes.inc
@@ -1,23 +1,25 @@
22 <?php
3 -# Copyright (C) 2005 Brion Vibber <brion@pobox.com>
4 -# http://www.mediawiki.org/
5 -#
6 -# This program is free software; you can redistribute it and/or modify
7 -# it under the terms of the GNU General Public License as published by
8 -# the Free Software Foundation; either version 2 of the License, or
9 -# (at your option) any later version.
10 -#
11 -# This program is distributed in the hope that it will be useful,
12 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
13 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 -# GNU General Public License for more details.
15 -#
16 -# You should have received a copy of the GNU General Public License along
17 -# with this program; if not, write to the Free Software Foundation, Inc.,
18 -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 -# http://www.gnu.org/copyleft/gpl.html
20 -
213 /**
 4+ * Helper class for update.php and upgrade1_5.php.
 5+ *
 6+ * Copyright © 2005 Brion Vibber <brion@pobox.com>
 7+ * http://www.mediawiki.org/
 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+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 22+ * http://www.gnu.org/copyleft/gpl.html
 23+ *
2224 * @file
2325 * @ingroup Maintenance
2426 */
Index: trunk/phase3/maintenance/commandLine.inc
@@ -1,8 +1,26 @@
22 <?php
3 -
43 /**
5 - * Backwards-compatibility wrapper for old-style maintenance scripts
 4+ * Backwards-compatibility wrapper for old-style maintenance scripts.
 5+ *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
 21+ * @file
 22+ * @ingroup Maintenance
623 */
 24+
725 require( dirname( __FILE__ ) . '/Maintenance.php' );
826
927 global $optionsWithArgs;
Index: trunk/phase3/maintenance/rebuildInterwiki.php
@@ -3,6 +3,21 @@
44 * Rebuild interwiki table using the file on meta and the language list
55 * Wikimedia specific!
66 *
 7+ * This program is free software; you can redistribute it and/or modify
 8+ * it under the terms of the GNU General Public License as published by
 9+ * the Free Software Foundation; either version 2 of the License, or
 10+ * (at your option) any later version.
 11+ *
 12+ * This program is distributed in the hope that it will be useful,
 13+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 14+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 15+ * GNU General Public License for more details.
 16+ *
 17+ * You should have received a copy of the GNU General Public License along
 18+ * with this program; if not, write to the Free Software Foundation, Inc.,
 19+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 20+ * http://www.gnu.org/copyleft/gpl.html
 21+ *
722 * @file
823 * @todo document
924 * @ingroup Maintenance
Index: trunk/phase3/maintenance/Maintenance.php
@@ -1,5 +1,20 @@
22 <?php
33 /**
 4+ * This program is free software; you can redistribute it and/or modify
 5+ * it under the terms of the GNU General Public License as published by
 6+ * the Free Software Foundation; either version 2 of the License, or
 7+ * (at your option) any later version.
 8+ *
 9+ * This program is distributed in the hope that it will be useful,
 10+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 11+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 12+ * GNU General Public License for more details.
 13+ *
 14+ * You should have received a copy of the GNU General Public License along
 15+ * with this program; if not, write to the Free Software Foundation, Inc.,
 16+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 17+ * http://www.gnu.org/copyleft/gpl.html
 18+ *
419 * @file
520 * @ingroup Maintenance
621 * @defgroup Maintenance Maintenance
@@ -33,21 +48,6 @@
3449 * is the execute() method. See docs/maintenance.txt for more info
3550 * and a quick demo of how to use it.
3651 *
37 - * This program is free software; you can redistribute it and/or modify
38 - * it under the terms of the GNU General Public License as published by
39 - * the Free Software Foundation; either version 2 of the License, or
40 - * (at your option) any later version.
41 - *
42 - * This program is distributed in the hope that it will be useful,
43 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
44 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45 - * GNU General Public License for more details.
46 - *
47 - * You should have received a copy of the GNU General Public License along
48 - * with this program; if not, write to the Free Software Foundation, Inc.,
49 - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
50 - * http://www.gnu.org/copyleft/gpl.html
51 - *
5252 * @author Chad Horohoe <chad@anyonecanedit.org>
5353 * @since 1.16
5454 * @ingroup Maintenance
Index: trunk/phase3/maintenance/benchmarks/bench_HTTP_HTTPS.php
@@ -1,6 +1,24 @@
22 <?php
33 /**
44 * This come from r75429 message
 5+ *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
 21+ * @file
 22+ * @ingroup Maintenance
523 * @author Platonides
624 */
725
Index: trunk/phase3/maintenance/benchmarks/Benchmarker.php
@@ -1,14 +1,29 @@
22 <?php
33 /**
4 - * Create a doxygen subgroup of Maintenance for benchmarks
54 * @defgroup Benchmark Benchmark
6 - * @ingroup Maintenance
75 */
86
97 /**
10 - * TODO: report PHP version, OS ..
 8+ * Create a doxygen subgroup of Maintenance for benchmarks
 9+ *
 10+ * This program is free software; you can redistribute it and/or modify
 11+ * it under the terms of the GNU General Public License as published by
 12+ * the Free Software Foundation; either version 2 of the License, or
 13+ * (at your option) any later version.
 14+ *
 15+ * This program is distributed in the hope that it will be useful,
 16+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 17+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 18+ * GNU General Public License for more details.
 19+ *
 20+ * You should have received a copy of the GNU General Public License along
 21+ * with this program; if not, write to the Free Software Foundation, Inc.,
 22+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 23+ * http://www.gnu.org/copyleft/gpl.html
 24+ *
 25+ * @todo Report PHP version, OS ..
1126 * @file
12 - * @ingroup Benchmark
 27+ * @ingroup Maintenance Benchmark
1328 */
1429
1530 require_once( dirname( __FILE__ ) . '/../Maintenance.php' );
Index: trunk/phase3/maintenance/benchmarks/bench_wfIsWindows.php
@@ -1,6 +1,24 @@
22 <?php
33 /**
44 * This come from r75429 message
 5+ *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
 21+ * @file
 22+ * @ingroup Maintenance
523 * @author Platonides
624 */
725
Index: trunk/phase3/maintenance/mergeMessageFileList.php
@@ -1,4 +1,26 @@
22 <?php
 3+/**
 4+ * Merge $wgExtensionMessagesFiles from various extensions to produce a
 5+ * single array containing all message files.
 6+ *
 7+ * This program is free software; you can redistribute it and/or modify
 8+ * it under the terms of the GNU General Public License as published by
 9+ * the Free Software Foundation; either version 2 of the License, or
 10+ * (at your option) any later version.
 11+ *
 12+ * This program is distributed in the hope that it will be useful,
 13+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 14+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 15+ * GNU General Public License for more details.
 16+ *
 17+ * You should have received a copy of the GNU General Public License along
 18+ * with this program; if not, write to the Free Software Foundation, Inc.,
 19+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 20+ * http://www.gnu.org/copyleft/gpl.html
 21+ *
 22+ * @file
 23+ * @ingroup Maintenance
 24+ */
325
426 # Start from scratch
527 define( 'MW_NO_EXTENSION_MESSAGES', 1 );
Index: trunk/phase3/maintenance/upgrade1_5.php
@@ -9,6 +9,21 @@
1010 * much older versions, etc.
1111 * Run this, FOLLOWED BY update.php, for upgrading from 1.4.5 release to 1.5.
1212 *
 13+ * This program is free software; you can redistribute it and/or modify
 14+ * it under the terms of the GNU General Public License as published by
 15+ * the Free Software Foundation; either version 2 of the License, or
 16+ * (at your option) any later version.
 17+ *
 18+ * This program is distributed in the hope that it will be useful,
 19+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 20+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 21+ * GNU General Public License for more details.
 22+ *
 23+ * You should have received a copy of the GNU General Public License along
 24+ * with this program; if not, write to the Free Software Foundation, Inc.,
 25+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 26+ * http://www.gnu.org/copyleft/gpl.html
 27+ *
1328 * @file
1429 * @ingroup Maintenance
1530 */
Index: trunk/phase3/maintenance/language/validate.php
@@ -1,5 +1,22 @@
22 <?php
33 /**
 4+ * Check language files for unrecognised variables.
 5+ *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
421 * @file
522 * @ingroup MaintenanceLanguage
623 */
Index: trunk/phase3/maintenance/language/messages.inc
@@ -2,6 +2,21 @@
33 /**
44 * Define the messages structure in the messages file, for an automated rewriting.
55 *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
621 * @file
722 * @ingroup MaintenanceLanguage
823 */
Index: trunk/phase3/maintenance/language/rebuildLanguage.php
@@ -2,6 +2,21 @@
33 /**
44 * Rewrite the messages array in the files languages/messages/MessagesXx.php.
55 *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
621 * @file
722 * @ingroup MaintenanceLanguage
823 * @defgroup MaintenanceLanguage MaintenanceLanguage
Index: trunk/phase3/maintenance/language/messageTypes.inc
@@ -2,6 +2,21 @@
33 /**
44 * Several types of messages.
55 *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
621 * @file
722 * @ingroup MaintenanceLanguage
823 */
Index: trunk/phase3/maintenance/language/checkExtensions.php
@@ -2,6 +2,21 @@
33 /**
44 * Check the extensions language files.
55 *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
621 * @file
722 * @ingroup MaintenanceLanguage
823 */
Index: trunk/phase3/maintenance/language/function-list.php
@@ -1,5 +1,20 @@
22 <?php
33 /**
 4+ * This program is free software; you can redistribute it and/or modify
 5+ * it under the terms of the GNU General Public License as published by
 6+ * the Free Software Foundation; either version 2 of the License, or
 7+ * (at your option) any later version.
 8+ *
 9+ * This program is distributed in the hope that it will be useful,
 10+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 11+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 12+ * GNU General Public License for more details.
 13+ *
 14+ * You should have received a copy of the GNU General Public License along
 15+ * with this program; if not, write to the Free Software Foundation, Inc.,
 16+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 17+ * http://www.gnu.org/copyleft/gpl.html
 18+ *
419 * @file
520 * @ingroup MaintenanceLanguage
621 */
Index: trunk/phase3/maintenance/language/writeMessagesArray.inc
@@ -2,6 +2,21 @@
33 /**
44 * Write a messages array as a PHP text.
55 *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
621 * @file
722 * @ingroup MaintenanceLanguage
823 */
Index: trunk/phase3/maintenance/language/checkLanguage.inc
@@ -1,4 +1,25 @@
22 <?php
 3+/**
 4+ * Helper class for checkLanguage.php script.
 5+ *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
 21+ * @file
 22+ * @ingroup MaintenanceLanguage
 23+ */
324
425 /**
526 * @ingroup MaintenanceLanguage
Index: trunk/phase3/maintenance/language/StatOutputs.php
@@ -3,6 +3,21 @@
44 /**
55 * Statistic output classes.
66 *
 7+ * This program is free software; you can redistribute it and/or modify
 8+ * it under the terms of the GNU General Public License as published by
 9+ * the Free Software Foundation; either version 2 of the License, or
 10+ * (at your option) any later version.
 11+ *
 12+ * This program is distributed in the hope that it will be useful,
 13+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 14+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 15+ * GNU General Public License for more details.
 16+ *
 17+ * You should have received a copy of the GNU General Public License along
 18+ * with this program; if not, write to the Free Software Foundation, Inc.,
 19+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 20+ * http://www.gnu.org/copyleft/gpl.html
 21+ *
722 * @file
823 * @ingroup MaintenanceLanguage
924 * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Index: trunk/phase3/maintenance/language/checkLanguage.php
@@ -2,6 +2,21 @@
33 /**
44 * Check a language file.
55 *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
621 * @file
722 * @ingroup MaintenanceLanguage
823 */
Index: trunk/phase3/maintenance/language/checkDupeMessages.php
@@ -1,6 +1,22 @@
22 <?php
33 /**
4 - * @todo document
 4+ * Script to print out duplicates in message array
 5+ *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
521 * @file
622 * @ingroup MaintenanceLanguage
723 */
Index: trunk/phase3/maintenance/language/transstat.php
@@ -2,6 +2,21 @@
33 /**
44 * Statistics about the localisation.
55 *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
621 * @file
722 * @ingroup MaintenanceLanguage
823 *
Index: trunk/phase3/maintenance/language/generateNormalizerData.php
@@ -1,4 +1,25 @@
22 <?php
 3+/**
 4+ * Generates normalizer data files for Arabic and Malayalam.
 5+ *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
 21+ * @file
 22+ * @ingroup MaintenanceLanguage
 23+ */
324
425 require_once( dirname( __FILE__ ) . '/../Maintenance.php' );
526
Index: trunk/phase3/maintenance/language/languages.inc
@@ -2,6 +2,21 @@
33 /**
44 * Handle messages in the language files.
55 *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
621 * @file
722 * @ingroup MaintenanceLanguage
823 */
Index: trunk/phase3/maintenance/preprocessorFuzzTest.php
@@ -1,5 +1,22 @@
22 <?php
33 /**
 4+ * Performs fuzz-style testing of MediaWiki's preprocessor.
 5+ *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
421 * @file
522 * @ingroup Maintenance
623 */
Index: trunk/phase3/maintenance/waitForSlave.php
@@ -1,5 +1,7 @@
22 <?php
33 /**
 4+ * Script to wait until slave lag goes under a certain value.
 5+ *
46 * This program is free software; you can redistribute it and/or modify
57 * it under the terms of the GNU General Public License as published by
68 * the Free Software Foundation; either version 2 of the License, or
Index: trunk/phase3/maintenance/importTextFile.php
@@ -4,6 +4,21 @@
55 * Maintenance script allows creating or editing pages using
66 * the contents of a text file
77 *
 8+ * This program is free software; you can redistribute it and/or modify
 9+ * it under the terms of the GNU General Public License as published by
 10+ * the Free Software Foundation; either version 2 of the License, or
 11+ * (at your option) any later version.
 12+ *
 13+ * This program is distributed in the hope that it will be useful,
 14+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 15+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 16+ * GNU General Public License for more details.
 17+ *
 18+ * You should have received a copy of the GNU General Public License along
 19+ * with this program; if not, write to the Free Software Foundation, Inc.,
 20+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 21+ * http://www.gnu.org/copyleft/gpl.html
 22+ *
823 * @file
924 * @ingroup Maintenance
1025 * @author Rob Church <robchur@gmail.com>
Index: trunk/phase3/maintenance/sqlite.inc
@@ -1,4 +1,25 @@
22 <?php
 3+/**
 4+ * Helper class for sqlite-specific scripts
 5+ *
 6+ * This program is free software; you can redistribute it and/or modify
 7+ * it under the terms of the GNU General Public License as published by
 8+ * the Free Software Foundation; either version 2 of the License, or
 9+ * (at your option) any later version.
 10+ *
 11+ * This program is distributed in the hope that it will be useful,
 12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 14+ * GNU General Public License for more details.
 15+ *
 16+ * You should have received a copy of the GNU General Public License along
 17+ * with this program; if not, write to the Free Software Foundation, Inc.,
 18+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19+ * http://www.gnu.org/copyleft/gpl.html
 20+ *
 21+ * @file
 22+ * @ingroup Maintenance
 23+ */
324
425 /**
526 * This class contains code common to different SQLite-related maintenance scripts
Index: trunk/phase3/maintenance/install-utils.inc
@@ -3,6 +3,21 @@
44 * This file contains ancient db-related functions that have been deprecated. Do
55 * not use them. Please find the appropriate replacements.
66 *
 7+ * This program is free software; you can redistribute it and/or modify
 8+ * it under the terms of the GNU General Public License as published by
 9+ * the Free Software Foundation; either version 2 of the License, or
 10+ * (at your option) any later version.
 11+ *
 12+ * This program is distributed in the hope that it will be useful,
 13+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 14+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 15+ * GNU General Public License for more details.
 16+ *
 17+ * You should have received a copy of the GNU General Public License along
 18+ * with this program; if not, write to the Free Software Foundation, Inc.,
 19+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 20+ * http://www.gnu.org/copyleft/gpl.html
 21+ *
722 * @file
823 */
924
Index: trunk/phase3/maintenance/eval.php
@@ -12,6 +12,21 @@
1313 * To get decent line editing behavior, you should compile PHP with support
1414 * for GNU readline (pass --with-readline to configure).
1515 *
 16+ * This program is free software; you can redistribute it and/or modify
 17+ * it under the terms of the GNU General Public License as published by
 18+ * the Free Software Foundation; either version 2 of the License, or
 19+ * (at your option) any later version.
 20+ *
 21+ * This program is distributed in the hope that it will be useful,
 22+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 23+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 24+ * GNU General Public License for more details.
 25+ *
 26+ * You should have received a copy of the GNU General Public License along
 27+ * with this program; if not, write to the Free Software Foundation, Inc.,
 28+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 29+ * http://www.gnu.org/copyleft/gpl.html
 30+ *
1631 * @file
1732 * @ingroup Maintenance
1833 */
Index: trunk/phase3/maintenance/dumpInterwiki.php
@@ -3,6 +3,21 @@
44 * Build constant slightly compact database of interwiki prefixes
55 * Wikimedia specific!
66 *
 7+ * This program is free software; you can redistribute it and/or modify
 8+ * it under the terms of the GNU General Public License as published by
 9+ * the Free Software Foundation; either version 2 of the License, or
 10+ * (at your option) any later version.
 11+ *
 12+ * This program is distributed in the hope that it will be useful,
 13+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 14+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 15+ * GNU General Public License for more details.
 16+ *
 17+ * You should have received a copy of the GNU General Public License along
 18+ * with this program; if not, write to the Free Software Foundation, Inc.,
 19+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 20+ * http://www.gnu.org/copyleft/gpl.html
 21+ *
722 * @file
823 * @todo document
924 * @ingroup Maintenance
Index: trunk/phase3/maintenance/backupPrefetch.inc
@@ -2,6 +2,24 @@
33 /**
44 * Helper class for the --prefetch option of dumpTextPass.php
55 *
 6+ * Copyright © 2005 Brion Vibber <brion@pobox.com>
 7+ * http://www.mediawiki.org/
 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+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 22+ * http://www.gnu.org/copyleft/gpl.html
 23+ *
624 * @file
725 * @ingroup Maintenance
826 */

Comments

#Comment by Reedy (talk | contribs)   21:09, 16 December 2010

Aha. Nice one :)

Status & tagging log