- $wgHTCPRouting = array(
- '' => array( 'host' => $parts[0], 'port' => $parts[1] ),
- );
+ $wgHTCPRouting = [
+ '' => [ 'host' => $parts[0], 'port' => $parts[1] ],
+ ];
if ( $this->hasOption( 'verbose' ) ) {
$this->output( "HTCP broadcasts to {$parts[0]}:{$parts[1]}\n" );
}
if ( $this->hasOption( 'verbose' ) ) {
$this->output( "HTCP broadcasts to {$parts[0]}:{$parts[1]}\n" );
}
"rev_timestamp > " . $dbr->addQuotes( $minTime ),
"rev_timestamp <= " . $dbr->addQuotes( $maxTime ),
// Only get rows where the revision is the latest for the page.
// Other revisions would be duplicate and we don't need to purge if
// there has been an edit after the interesting time window.
"page_latest = rev_id",
"rev_timestamp > " . $dbr->addQuotes( $minTime ),
"rev_timestamp <= " . $dbr->addQuotes( $maxTime ),
// Only get rows where the revision is the latest for the page.
// Other revisions would be duplicate and we don't need to purge if
// there has been an edit after the interesting time window.
"page_latest = rev_id",
- array( 'ORDER BY' => 'rev_timestamp', 'LIMIT' => $bSize ),
- array(
- 'page' => array( 'INNER JOIN', 'rev_page=page_id' ),
- )
+ [ 'ORDER BY' => 'rev_timestamp', 'LIMIT' => $bSize ],
+ [
+ 'page' => [ 'INNER JOIN', 'rev_page=page_id' ],
+ ]
foreach ( $rows as $row ) {
$title = Title::makeTitle( $row->page_namespace, $row->page_title );
$urls[] = $title->getInternalURL();
foreach ( $rows as $row ) {
$title = Title::makeTitle( $row->page_namespace, $row->page_title );
$urls[] = $title->getInternalURL();
}
$lastValue = $rows[$count - 1]->$column; // should be the highest
for ( $i = $count - 1; $i >= 0; --$i ) {
}
$lastValue = $rows[$count - 1]->$column; // should be the highest
for ( $i = $count - 1; $i >= 0; --$i ) {