r53220 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53219‎ | r53220 | r53221 >
Date:12:06, 14 July 2009
Author:demon
Status:deferred
Tags:
Comment:
Clean up docs: removing @file from classes, adding GPL header consistently.
Modified paths:
  • /branches/maintenance-work/maintenance/Maintenance.php (modified) (history)
  • /branches/maintenance-work/maintenance/addwiki.php (modified) (history)
  • /branches/maintenance-work/maintenance/attachLatest.php (modified) (history)
  • /branches/maintenance-work/maintenance/benchmarkPurge.php (modified) (history)
  • /branches/maintenance-work/maintenance/changePassword.php (modified) (history)
  • /branches/maintenance-work/maintenance/checkAutoLoader.php (modified) (history)
  • /branches/maintenance-work/maintenance/checkBadRedirects.php (modified) (history)
  • /branches/maintenance-work/maintenance/checkImages.php (modified) (history)
  • /branches/maintenance-work/maintenance/checkUsernames.php (modified) (history)
  • /branches/maintenance-work/maintenance/cleanupSpam.php (modified) (history)
  • /branches/maintenance-work/maintenance/clear_interwiki_cache.php (modified) (history)
  • /branches/maintenance-work/maintenance/clear_stats.php (modified) (history)
  • /branches/maintenance-work/maintenance/convertLinks.php (modified) (history)
  • /branches/maintenance-work/maintenance/convertUserOptions.php (modified) (history)
  • /branches/maintenance-work/maintenance/createAndPromote.php (modified) (history)
  • /branches/maintenance-work/maintenance/deleteArchivedFiles.php (modified) (history)
  • /branches/maintenance-work/maintenance/deleteArchivedRevisions.php (modified) (history)
  • /branches/maintenance-work/maintenance/deleteBatch.php (modified) (history)
  • /branches/maintenance-work/maintenance/deleteDefaultMessages.php (modified) (history)
  • /branches/maintenance-work/maintenance/deleteImageMemcached.php (modified) (history)
  • /branches/maintenance-work/maintenance/deleteOldRevisions.php (modified) (history)
  • /branches/maintenance-work/maintenance/deleteOrphanedRevisions.php (modified) (history)
  • /branches/maintenance-work/maintenance/deleteRevision.php (modified) (history)
  • /branches/maintenance-work/maintenance/doMaintenance.php (modified) (history)
  • /branches/maintenance-work/maintenance/dumpLinks.php (modified) (history)
  • /branches/maintenance-work/maintenance/dumpSisterSites.php (modified) (history)
  • /branches/maintenance-work/maintenance/dumpUploads.php (modified) (history)
  • /branches/maintenance-work/maintenance/edit.php (modified) (history)
  • /branches/maintenance-work/maintenance/eval.php (modified) (history)
  • /branches/maintenance-work/maintenance/fetchText.php (modified) (history)
  • /branches/maintenance-work/maintenance/findhooks.php (modified) (history)
  • /branches/maintenance-work/maintenance/fixSlaveDesync.php (modified) (history)
  • /branches/maintenance-work/maintenance/fixTimestamps.php (modified) (history)
  • /branches/maintenance-work/maintenance/fixUserRegistration.php (modified) (history)
  • /branches/maintenance-work/maintenance/generateSitemap.php (modified) (history)
  • /branches/maintenance-work/maintenance/getLagTimes.php (modified) (history)
  • /branches/maintenance-work/maintenance/getSlaveServer.php (modified) (history)
  • /branches/maintenance-work/maintenance/initEditCount.php (modified) (history)
  • /branches/maintenance-work/maintenance/initStats.php (modified) (history)
  • /branches/maintenance-work/maintenance/mctest.php (modified) (history)
  • /branches/maintenance-work/maintenance/moveBatch.php (modified) (history)
  • /branches/maintenance-work/maintenance/namespaceDupes.php (modified) (history)
  • /branches/maintenance-work/maintenance/nextJobDB.php (modified) (history)
  • /branches/maintenance-work/maintenance/nukeNS.php (modified) (history)
  • /branches/maintenance-work/maintenance/nukePage.php (modified) (history)
  • /branches/maintenance-work/maintenance/orphans.php (modified) (history)
  • /branches/maintenance-work/maintenance/populateLogSearch.php (modified) (history)
  • /branches/maintenance-work/maintenance/populateLogUsertext.php (modified) (history)
  • /branches/maintenance-work/maintenance/populateParentId.php (modified) (history)
  • /branches/maintenance-work/maintenance/protect.php (modified) (history)
  • /branches/maintenance-work/maintenance/purgeList.php (modified) (history)
  • /branches/maintenance-work/maintenance/purgeOldText.php (modified) (history)
  • /branches/maintenance-work/maintenance/reassignEdits.php (modified) (history)
  • /branches/maintenance-work/maintenance/rebuildFileCache.php (modified) (history)
  • /branches/maintenance-work/maintenance/rebuildLocalisationCache.php (modified) (history)
  • /branches/maintenance-work/maintenance/rebuildall.php (modified) (history)
  • /branches/maintenance-work/maintenance/rebuildmessages.php (modified) (history)
  • /branches/maintenance-work/maintenance/rebuildrecentchanges.php (modified) (history)
  • /branches/maintenance-work/maintenance/rebuildtextindex.php (modified) (history)
  • /branches/maintenance-work/maintenance/refreshImageCount.php (modified) (history)
  • /branches/maintenance-work/maintenance/refreshLinks.php (modified) (history)
  • /branches/maintenance-work/maintenance/removeUnusedAccounts.php (modified) (history)
  • /branches/maintenance-work/maintenance/renameDbPrefix.php (modified) (history)
  • /branches/maintenance-work/maintenance/renamewiki.php (modified) (history)
  • /branches/maintenance-work/maintenance/runJobs.php (modified) (history)
  • /branches/maintenance-work/maintenance/showJobs.php (modified) (history)
  • /branches/maintenance-work/maintenance/showStats.php (modified) (history)
  • /branches/maintenance-work/maintenance/sql.php (modified) (history)
  • /branches/maintenance-work/maintenance/stats.php (modified) (history)
  • /branches/maintenance-work/maintenance/updateArticleCount.php (modified) (history)
  • /branches/maintenance-work/maintenance/updateRestrictions.php (modified) (history)
  • /branches/maintenance-work/maintenance/updateSearchIndex.php (modified) (history)
  • /branches/maintenance-work/maintenance/updateSpecialPages.php (modified) (history)
  • /branches/maintenance-work/maintenance/waitForSlave.php (modified) (history)

Diff [purge]

Index: branches/maintenance-work/maintenance/Maintenance.php
@@ -8,6 +8,21 @@
99 * is the execute() method. See docs/maintenance.txt for more info
1010 * and a quick demo of how to use it.
1111 *
 12+ * This program is free software; you can redistribute it and/or modify
 13+ * it under the terms of the GNU General Public License as published by
 14+ * the Free Software Foundation; either version 2 of the License, or
 15+ * (at your option) any later version.
 16+ *
 17+ * This program is distributed in the hope that it will be useful,
 18+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 19+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 20+ * GNU General Public License for more details.
 21+ *
 22+ * You should have received a copy of the GNU General Public License along
 23+ * with this program; if not, write to the Free Software Foundation, Inc.,
 24+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 25+ * http://www.gnu.org/copyleft/gpl.html
 26+ *
1227 * @author Chad Horohoe <chad@anyonecanedit.org>
1328 * @since 1.16
1429 * @ingroup Maintenance
Index: branches/maintenance-work/maintenance/findhooks.php
@@ -12,7 +12,21 @@
1313 *
1414 * Any instance of wfRunHooks that doesn't meet these parameters will be noted.
1515 *
16 - * @file
 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+ *
1731 * @ingroup Maintenance
1832 *
1933 * @author Ashar Voultoiz <hashar@altern.org>
Index: branches/maintenance-work/maintenance/renameDbPrefix.php
@@ -3,7 +3,21 @@
44 * Run this script to after changing $wgDBprefix on a wiki.
55 * The wiki will have to get downtime to do this correctly.
66 *
7 - * @file
 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+ *
822 * @ingroup Maintenance
923 */
1024
Index: branches/maintenance-work/maintenance/deleteImageMemcached.php
@@ -5,7 +5,21 @@
66 * Usage example:
77 * php deleteImageMemcached.php --until "2005-09-05 00:00:00" --sleep 0
88 *
9 - * @file
 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+ *
1024 * @ingroup Maintenance
1125 */
1226
Index: branches/maintenance-work/maintenance/createAndPromote.php
@@ -3,7 +3,21 @@
44 /**
55 * Maintenance script to create an account and grant it administrator rights
66 *
7 - * @file
 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+ *
822 * @ingroup Maintenance
923 * @author Rob Church <robchur@gmail.com>
1024 */
Index: branches/maintenance-work/maintenance/fixTimestamps.php
@@ -6,7 +6,21 @@
77 * and must bracket the damage. There must be a majority of good timestamps in the
88 * search period.
99 *
10 - * @file
 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+ *
1125 * @ingroup Maintenance
1226 */
1327
Index: branches/maintenance-work/maintenance/benchmarkPurge.php
@@ -2,7 +2,21 @@
33 /**
44 * Squid purge benchmark script
55 *
6 - * @file
 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 * @ingroup Maintenance
822 */
923
Index: branches/maintenance-work/maintenance/checkUsernames.php
@@ -3,7 +3,22 @@
44 * This script verifies that database usernames are actually valid.
55 * An existing usernames can become invalid if User::isValidUserName()
66 * is altered or if we change the $wgMaxNameChars
7 - * @file
 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+ *
823 * @ingroup Maintenance
924 */
1025
Index: branches/maintenance-work/maintenance/reassignEdits.php
@@ -2,6 +2,21 @@
33 /**
44 * Reassign edits from a user or IP address to another user
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 * @ingroup Maintenance
722 * @author Rob Church <robchur@gmail.com>
823 * @licence GNU General Public Licence 2.0 or later
Index: branches/maintenance-work/maintenance/cleanupSpam.php
@@ -1,6 +1,22 @@
22 <?php
33 /**
44 * Cleanup all spam from a given hostname
 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 * @ingroup Maintenance
622 */
723
Index: branches/maintenance-work/maintenance/orphans.php
@@ -1,29 +1,28 @@
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 /**
224 * Look for 'orphan' revisions hooked to pages which don't exist
235 * And 'childless' pages with no revisions.
246 * Then, kill the poor widows and orphans.
257 * Man this is depressing.
268 *
27 - * @file
 9+ * Copyright (C) 2005 Brion Vibber <brion@pobox.com>
 10+ * http://www.mediawiki.org/
 11+ *
 12+ * This program is free software; you can redistribute it and/or modify
 13+ * it under the terms of the GNU General Public License as published by
 14+ * the Free Software Foundation; either version 2 of the License, or
 15+ * (at your option) any later version.
 16+ *
 17+ * This program is distributed in the hope that it will be useful,
 18+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 19+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 20+ * GNU General Public License for more details.
 21+ *
 22+ * You should have received a copy of the GNU General Public License along
 23+ * with this program; if not, write to the Free Software Foundation, Inc.,
 24+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 25+ * http://www.gnu.org/copyleft/gpl.html
 26+ *
2827 * @author <brion@pobox.com>
2928 * @ingroup Maintenance
3029 */
@@ -55,7 +54,7 @@
5655 * @param $extraTable String The name of any extra tables to lock (eg: text)
5756 */
5857 private function lockTables( &$db, $extraTable = null ) {
59 - $tbls = array( 'page', 'revision' );
 58+ $tbls = array( 'page', 'revision', 'redirect' );
6059 if( $extraTable )
6160 $tbls[] = $extraTable;
6261 $db->lockTables( array(), $tbls, __METHOD__, false );
Index: branches/maintenance-work/maintenance/rebuildLocalisationCache.php
@@ -8,6 +8,23 @@
99 * php rebuildLocalisationCache.php [--force]
1010 *
1111 * Use --force to rebuild all files, even the ones that are not out of date.
 12+ *
 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+ *
 28+ * @ingroup Maintenance
1229 */
1330
1431 require_once( "Maintenance.php" );
Index: branches/maintenance-work/maintenance/deleteRevision.php
@@ -2,8 +2,23 @@
33 /**
44 * Delete one or more revisions by moving them to the archive table.
55 *
6 - * @file
 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 * @ingroup Maintenance
 22+ * @ingroup Maintenance
823 */
924
1025 require_once( "Maintenance.php" );
Index: branches/maintenance-work/maintenance/updateRestrictions.php
@@ -5,7 +5,21 @@
66 * schema change. All remaining page_restriction column values are moved
77 * to the new table.
88 *
9 - * @file
 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+ *
1024 * @ingroup Maintenance
1125 */
1226
Index: branches/maintenance-work/maintenance/showJobs.php
@@ -4,7 +4,21 @@
55 *
66 * Report number of jobs currently waiting in master database.
77 *
8 - * @file
 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+ *
923 * @ingroup Maintenance
1024 * @author Tim Starling
1125 * @author Ashar Voultoiz
@@ -19,7 +33,7 @@
2034 }
2135 public function execute() {
2236 $dbw = wfGetDB( DB_MASTER );
23 - $this->output( $dbw->selectField( 'job', 'count(*)', '', 'runJobs.php' ) . "\n" );
 37+ $this->output( $dbw->selectField( 'job', 'count(*)', '', __METHOD__ ) . "\n" );
2438 }
2539 }
2640
Index: branches/maintenance-work/maintenance/populateLogUsertext.php
@@ -5,7 +5,21 @@
66 * schema change. All remaining page_restriction column values are moved
77 * to the new table.
88 *
9 - * @file
 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+ *
1024 * @ingroup Maintenance
1125 */
1226
Index: branches/maintenance-work/maintenance/deleteOldRevisions.php
@@ -3,7 +3,21 @@
44 /**
55 * Delete old (non-current) revisions from the database
66 *
7 - * @file
 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+ *
822 * @ingroup Maintenance
923 * @author Rob Church <robchur@gmail.com>
1024 */
Index: branches/maintenance-work/maintenance/waitForSlave.php
@@ -1,8 +1,22 @@
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+ *
 19+ * @ingroup Maintenance
420 * @see wfWaitForSlaves()
5 - * @file
6 - * @ingroup Maintenance
721 */
822
923 require_once( "Maintenance.php" );
Index: branches/maintenance-work/maintenance/purgeList.php
@@ -2,7 +2,21 @@
33 /**
44 * Send purge requests for listed pages to squid
55 *
6 - * @file
 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 * @ingroup Maintenance
822 */
923
Index: branches/maintenance-work/maintenance/populateLogSearch.php
@@ -3,7 +3,21 @@
44 * Makes the required database updates for populating the
55 * log_search table retroactively
66 *
7 - * @file
 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+ *
822 * @ingroup Maintenance
923 */
1024
Index: branches/maintenance-work/maintenance/initEditCount.php
@@ -1,6 +1,20 @@
22 <?php
33 /**
4 - * @file
 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+ *
519 * @ingroup Maintenance
620 */
721
Index: branches/maintenance-work/maintenance/rebuildtextindex.php
@@ -6,9 +6,23 @@
77 * This is only for MySQL (see bug 9905).
88 * Postgres is trigger-based and should never need rebuilding.
99 *
10 - * @file
 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+ * @ingroup Maintenance
1126 * @todo document
12 - * @ingroup Maintenance
1327 */
1428
1529 require_once( "Maintenance.php" );
Index: branches/maintenance-work/maintenance/deleteOrphanedRevisions.php
@@ -4,7 +4,21 @@
55 * Maintenance script to delete revisions which refer to a nonexisting page
66 * Sometimes manual deletion done in a rush leaves crap in the database
77 *
8 - * @file
 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+ *
923 * @ingroup Maintenance
1024 * @author Rob Church <robchur@gmail.com>
1125 * @todo More efficient cleanup of text records
Index: branches/maintenance-work/maintenance/eval.php
@@ -12,7 +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 - * @file
 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+ *
1731 * @ingroup Maintenance
1832 */
1933
Index: branches/maintenance-work/maintenance/deleteArchivedFiles.php
@@ -3,7 +3,21 @@
44 /**
55 * Delete archived (non-current) files from the database
66 *
7 - * @file
 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+ *
822 * @ingroup Maintenance
923 * @author Aaron Schulz
1024 * Based on deleteOldRevisions.php by Rob Church
Index: branches/maintenance-work/maintenance/namespaceDupes.php
@@ -1,24 +1,25 @@
22 <?php
3 -# Copyright (C) 2005-2007 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 /**
22 - * @file
 4+ * Check for articles to fix after adding/deleting namespaces
 5+ *
 6+ * Copyright (C) 2005-2007 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+ *
2324 * @ingroup Maintenance
2425 */
2526
Index: branches/maintenance-work/maintenance/fetchText.php
@@ -2,7 +2,21 @@
33 /**
44 * Communications protocol...
55 *
6 - * @file
 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 * @ingroup Maintenance
822 */
923
Index: branches/maintenance-work/maintenance/sql.php
@@ -3,8 +3,22 @@
44 * Send SQL queries from the specified file to the database, performing
55 * variable replacement along the way.
66 *
7 - * @file
8 - * @ingroup Database Maintenance
 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+ * @ingroup Maintenance
923 */
1024
1125 require_once( "Maintenance.php" );
Index: branches/maintenance-work/maintenance/showStats.php
@@ -4,7 +4,21 @@
55 * Maintenance script to show the cached statistics.
66 * Give out the same output as [[Special:Statistics]]
77 *
8 - * @file
 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+ *
923 * @ingroup Maintenance
1024 * @author Ashar Voultoiz <hashar@altern.org>
1125 * Based on initStats.php by:
Index: branches/maintenance-work/maintenance/rebuildmessages.php
@@ -1,7 +1,22 @@
22 <?php
33 /**
44 * This script purges all language messages from the cache
5 - * @file
 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+ *
621 * @ingroup Maintenance
722 */
823
Index: branches/maintenance-work/maintenance/convertLinks.php
@@ -3,7 +3,21 @@
44 * Convert from the old links schema (string->ID) to the new schema (ID->ID)
55 * The wiki should be put into read-only mode while this script executes
66 *
7 - * @file
 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+ *
822 * @ingroup Maintenance
923 */
1024
Index: branches/maintenance-work/maintenance/fixSlaveDesync.php
@@ -1,6 +1,20 @@
22 <?php
33 /**
4 - * @file
 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+ *
519 * @ingroup Maintenance
620 */
721
Index: branches/maintenance-work/maintenance/renamewiki.php
@@ -3,7 +3,21 @@
44 * Why yes, this *is* another special-purpose Wikimedia maintenance script!
55 * Should be fixed up and generalized.
66 *
7 - * @file
 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+ *
822 * @ingroup Maintenance
923 */
1024
Index: branches/maintenance-work/maintenance/dumpUploads.php
@@ -1,6 +1,22 @@
22 <?php
33 /**
4 - * @file
 4+ * Dump a the list of files uploaded, for feeding to tar or similar
 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 * @ingroup Maintenance
622 */
723
Index: branches/maintenance-work/maintenance/mctest.php
@@ -3,8 +3,21 @@
44 * This script makes several 'set', 'incr' and 'get' requests on every
55 * memcached server and shows a report.
66 *
7 - * $Id$
8 - * @file
 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+ *
922 * @ingroup Maintenance
1023 */
1124
Index: branches/maintenance-work/maintenance/protect.php
@@ -1,6 +1,20 @@
22 <?php
33 /**
4 - * @file
 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+ *
519 * @ingroup Maintenance
620 */
721
Index: branches/maintenance-work/maintenance/checkBadRedirects.php
@@ -2,6 +2,23 @@
33 /**
44 * CheckBadRedirects - See if pages marked as being redirects
55 * really are.
 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+ * @ingroup Maintenance
623 */
724
825 require_once( "Maintenance.php" );
Index: branches/maintenance-work/maintenance/checkAutoLoader.php
@@ -1,6 +1,23 @@
22 <?php
33 /**
44 * Check the autoloader
 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+ * @ingroup Maintenance
522 */
623
724 require_once( "Maintenance.php" );
Index: branches/maintenance-work/maintenance/stats.php
@@ -1,6 +1,22 @@
22 <?php
33 /**
44 * Show statistics from the cache
 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 * @ingroup Maintenance
622 */
723
Index: branches/maintenance-work/maintenance/updateArticleCount.php
@@ -3,6 +3,21 @@
44 * Maintenance script to provide a better count of the number of articles
55 * and update the site statistics table, if desired
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 * @ingroup Maintenance
823 * @author Rob Church <robchur@gmail.com>
924 */
Index: branches/maintenance-work/maintenance/rebuildFileCache.php
@@ -2,7 +2,21 @@
33 /**
44 * Build file cache for content pages
55 *
6 - * @file
 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 * @ingroup Maintenance
822 */
923
Index: branches/maintenance-work/maintenance/generateSitemap.php
@@ -4,6 +4,21 @@
55 /**
66 * Creates a sitemap for the site
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 * @ingroup Maintenance
924 *
1025 * @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
Index: branches/maintenance-work/maintenance/rebuildrecentchanges.php
@@ -3,9 +3,23 @@
44 * Rebuild link tracking tables from scratch. This takes several
55 * hours, depending on the database size and server configuration.
66 *
7 - * @file
8 - * @todo document
 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+ *
922 * @ingroup Maintenance
 23+ * @todo Document
1024 */
1125
1226 require_once( "Maintenance.php" );
Index: branches/maintenance-work/maintenance/attachLatest.php
@@ -1,8 +1,8 @@
22 <?php
3 -// quick hackjob to fix damages imports on wikisource
4 -// page records have page_latest wrong
5 -
63 /**
 4+ * quick hackjob to fix damages imports on wikisource
 5+ * page records have page_latest wrong
 6+ *
77 * Copyright (C) 2005 Brion Vibber <brion@pobox.com>
88 * http://www.mediawiki.org/
99 *
@@ -21,7 +21,6 @@
2222 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2323 * http://www.gnu.org/copyleft/gpl.html
2424 *
25 - * @file
2625 * @ingroup Maintenance
2726 */
2827
Index: branches/maintenance-work/maintenance/initStats.php
@@ -3,7 +3,21 @@
44 /**
55 * Maintenance script to re-initialise or update the site statistics table
66 *
7 - * @file
 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+ *
822 * @ingroup Maintenance
923 * @author Brion Vibber
1024 * @author Rob Church <robchur@gmail.com>
Index: branches/maintenance-work/maintenance/refreshLinks.php
@@ -1,6 +1,20 @@
22 <?php
33 /**
4 - * @file
 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+ *
519 * @ingroup Maintenance
620 */
721
Index: branches/maintenance-work/maintenance/updateSearchIndex.php
@@ -9,6 +9,21 @@
1010 * LOCKTIME is how long the searchindex and revision tables will be locked for
1111 * -q means quiet
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 * @ingroup Maintenance
1429 */
1530
Index: branches/maintenance-work/maintenance/getSlaveServer.php
@@ -2,7 +2,21 @@
33 /**
44 * This script reports the hostname of a slave server.
55 *
6 - * @file
 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 * @ingroup Maintenance
822 */
923
Index: branches/maintenance-work/maintenance/getLagTimes.php
@@ -1,6 +1,20 @@
22 <?php
33 /**
4 - * @file
 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+ *
519 * @ingroup Maintenance
620 */
721
Index: branches/maintenance-work/maintenance/dumpLinks.php
@@ -26,7 +26,6 @@
2727 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2828 * http://www.gnu.org/copyleft/gpl.html
2929 *
30 - * @file
3130 * @ingroup Mainatenance
3231 */
3332
Index: branches/maintenance-work/maintenance/moveBatch.php
@@ -2,6 +2,21 @@
33 /**
44 * Maintenance script to move a batch of pages
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 * @ingroup Maintenance
722 * @author Tim Starling
823 *
Index: branches/maintenance-work/maintenance/changePassword.php
@@ -2,12 +2,25 @@
33 /**
44 * Change the password of a given user
55 *
6 - * @file
7 - * @ingroup Maintenance
 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.
810 *
 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+ *
921 * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
1022 * @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
1123 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
 24+ * @ingroup Maintenance
1225 */
1326
1427 require_once( "Maintenance.php" );
Index: branches/maintenance-work/maintenance/refreshImageCount.php
@@ -3,7 +3,21 @@
44 * Quickie hack; patch-ss_images.sql uses variables which don't
55 * replicate properly.
66 *
7 - * @file
 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+ *
822 * @ingroup Maintenance
923 */
1024
Index: branches/maintenance-work/maintenance/fixUserRegistration.php
@@ -3,7 +3,21 @@
44 * Fix the user_registration field.
55 * In particular, for values which are NULL, set them to the date of the first edit
66 *
7 - * @file
 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+ *
822 * @ingroup Maintenance
923 */
1024
Index: branches/maintenance-work/maintenance/removeUnusedAccounts.php
@@ -3,7 +3,21 @@
44 * Remove unused user accounts from the database
55 * An unused account is one which has made no edits
66 *
7 - * @file
 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+ *
822 * @ingroup Maintenance
923 * @author Rob Church <robchur@gmail.com>
1024 */
Index: branches/maintenance-work/maintenance/edit.php
@@ -1,6 +1,22 @@
22 <?php
33 /**
4 - * @file
 4+ * Make an edit
 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 * @ingroup Maintenance
622 */
723
Index: branches/maintenance-work/maintenance/clear_interwiki_cache.php
@@ -3,6 +3,21 @@
44 * This script is used to clear the interwiki links for ALL languages in
55 * the cache.
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 * @ingroup Maintenance
823 */
924
Index: branches/maintenance-work/maintenance/nukePage.php
@@ -3,7 +3,21 @@
44 * Erase a page record from the database
55 * Irreversible (can't use standard undelete) and does not update link tables
66 *
7 - * @file
 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+ *
822 * @ingroup Maintenance
923 * @author Rob Church <robchur@gmail.com>
1024 */
Index: branches/maintenance-work/maintenance/updateSpecialPages.php
@@ -3,7 +3,21 @@
44 * Run this script periodically if you have miser mode enabled, to refresh the
55 * caches
66 *
7 - * @file
 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+ *
822 * @ingroup Maintenance
923 */
1024
Index: branches/maintenance-work/maintenance/nukeNS.php
@@ -13,7 +13,21 @@
1414 * back up your DB if there's anything in the MediaWiki that is important to
1515 * you.
1616 *
17 - * @file
 17+ * This program is free software; you can redistribute it and/or modify
 18+ * it under the terms of the GNU General Public License as published by
 19+ * the Free Software Foundation; either version 2 of the License, or
 20+ * (at your option) any later version.
 21+ *
 22+ * This program is distributed in the hope that it will be useful,
 23+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 24+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 25+ * GNU General Public License for more details.
 26+ *
 27+ * You should have received a copy of the GNU General Public License along
 28+ * with this program; if not, write to the Free Software Foundation, Inc.,
 29+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 30+ * http://www.gnu.org/copyleft/gpl.html
 31+ *
1832 * @ingroup Maintenance
1933 * @author Steve Sanbeg
2034 * based on nukePage by Rob Church
Index: branches/maintenance-work/maintenance/deleteBatch.php
@@ -9,7 +9,21 @@
1010 * <reason> is the delete reason
1111 * <interval> is the number of seconds to sleep for after each delete
1212 *
13 - * @file
 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+ *
1428 * @ingroup Maintenance
1529 */
1630
Index: branches/maintenance-work/maintenance/dumpSisterSites.php
@@ -21,8 +21,7 @@
2222 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2323 * http://www.gnu.org/copyleft/gpl.html
2424 *
25 - * @file
26 - * @ingroup SpecialPage
 25+ * @ingroup Maintenance
2726 */
2827
2928 require_once( "Maintenance.php" );
Index: branches/maintenance-work/maintenance/rebuildall.php
@@ -3,8 +3,21 @@
44 * Rebuild link tracking tables from scratch. This takes several
55 * hours, depending on the database size and server configuration.
66 *
7 - * @file
8 - * @todo document
 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+ *
922 * @ingroup Maintenance
1023 */
1124
Index: branches/maintenance-work/maintenance/runJobs.php
@@ -6,7 +6,21 @@
77 * --maxjobs <num> (default 10000)
88 * --type <job_cmd>
99 *
10 - * @file
 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+ *
1125 * @ingroup Maintenance
1226 */
1327
Index: branches/maintenance-work/maintenance/purgeOldText.php
@@ -2,6 +2,21 @@
33 /**
44 * Purge old text records from the database
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 * @ingroup Maintenance
722 * @author Rob Church <robchur@gmail.com>
823 */
Index: branches/maintenance-work/maintenance/convertUserOptions.php
@@ -1,6 +1,22 @@
22 <?php
33 /**
44 * Do each user sequentially, since accounts can't be deleted
 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 * @ingroup Maintenance
622 */
723
Index: branches/maintenance-work/maintenance/deleteDefaultMessages.php
@@ -3,6 +3,21 @@
44 * Deletes all pages in the MediaWiki namespace which were last edited by
55 * "MediaWiki default".
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 * @ingroup Maintenance
823 */
924
Index: branches/maintenance-work/maintenance/checkImages.php
@@ -1,6 +1,23 @@
22 <?php
33 /**
44 * Check images to see if they exist, are readable, etc etc
 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+ * @ingroup Maintenance
522 */
623 require_once( "Maintenance.php" );
724
Index: branches/maintenance-work/maintenance/clear_stats.php
@@ -2,7 +2,21 @@
33 /**
44 * This script remove all statistics tracking from the cache
55 *
6 - * @file
 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 * @ingroup Maintenance
822 */
923
Index: branches/maintenance-work/maintenance/doMaintenance.php
@@ -5,6 +5,25 @@
66 * because A) included files are not in global scope, but in the scope
77 * of their caller, and B) MediaWiki has way too many globals. So instead
88 * we'll kinda fake it, and do the requires() inline. <3 PHP
 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+ * @author Chad Horohoe <chad@anyonecanedit.org>
 26+ * @file
 27+ * @ingroup Maintenance
928 */
1029
1130 error_reporting( E_ALL | E_STRICT );
Index: branches/maintenance-work/maintenance/deleteArchivedRevisions.php
@@ -3,7 +3,21 @@
44 /**
55 * Delete archived (deleted from public) revisions from the database
66 *
7 - * @file
 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+ *
822 * @ingroup Maintenance
923 * @author Aaron Schulz
1024 * Shamelessly stolen from deleteOldRevisions.php by Rob Church :)
Index: branches/maintenance-work/maintenance/addwiki.php
@@ -3,7 +3,21 @@
44 * Add a new wiki
55 * Wikimedia specific!
66 *
7 - * @file
 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+ *
822 * @ingroup Maintenance
923 */
1024
Index: branches/maintenance-work/maintenance/nextJobDB.php
@@ -2,7 +2,21 @@
33 /**
44 * Pick a database that has pending jobs
55 *
6 - * @file
 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 * @ingroup Maintenance
822 */
923
Index: branches/maintenance-work/maintenance/populateParentId.php
@@ -3,6 +3,23 @@
44 * Makes the required database updates for rev_parent_id
55 * to be of any use. It can be used for some simple tracking
66 * and to find new page edits by users.
 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+ * @ingroup Maintenance
724 */
825
926 require_once( "Maintenance.php" );

Status & tagging log