CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Splits maintenance scripts into chunks and prints out the commands to run the chunks. More...
Public Member Functions | |
build ( $self, array $options, $buildChunks, $fromPageId, $toPageId) | |
Splits maintenance scripts into chunks and prints out the commands to run the chunks.
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
CirrusSearch\Maintenance\ChunkBuilder::build | ( | $self, | |
array | $options, | ||
$buildChunks, | |||
$fromPageId, | |||
$toPageId ) |
string | $self | Name of maintenance script |
array | $options | |
string | int | $buildChunks | If specified as a number then chunks no larger than that size are spat out. If specified as a number followed by the word "total" without a space between them then that many chunks will be spat out sized to cover the entire wiki. |
int | $fromPageId | |
int | $toPageId |