MediaWiki  1.32.5
populateIpChanges.php File Reference

Find all revisions by logged out users and copy the rev_id, rev_timestamp, and a hex representation of rev_user_text to the new ip_changes table. More...

Go to the source code of this file.

Classes

class  PopulateIpChanges
 Maintenance script that will find all rows in the revision table where rev_user = 0 (user is an IP), and copy relevant fields to ip_changes so that historical data will be available when querying for IP ranges. More...
 

Variables

 $maintClass = PopulateIpChanges::class
 

Detailed Description

Find all revisions by logged out users and copy the rev_id, rev_timestamp, and a hex representation of rev_user_text to the new ip_changes table.

This table is used to efficiently query for contributions within an IP range.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Definition in file populateIpChanges.php.

Variable Documentation

◆ $maintClass