return $s;
}
- function doBatchLookups() {
+ protected function doBatchLookups() {
if ( !Hooks::run( 'PageHistoryPager::doBatchLookups', [ $this, $this->mResult ] ) ) {
return;
}
*
* @return string HTML output
*/
- function getStartBody() {
+ protected function getStartBody() {
$this->lastRow = false;
$this->counter = 1;
$this->oldIdChecked = 0;
return $element;
}
- function getEndBody() {
+ protected function getEndBody() {
if ( $this->lastRow ) {
$latest = $this->counter == 1 && $this->mIsFirst;
$firstInList = $this->counter == 1;
return 'log_timestamp';
}
- public function getStartBody() {
+ protected function getStartBody() {
# Do a link batch query
if ( $this->getNumRows() > 0 ) {
$lb = new LinkBatch;
* @protected
* @return string
*/
- function getStartBody() {
+ protected function getStartBody() {
$sortClass = $this->getSortHeaderClass();
$s = '';
* @protected
* @return string
*/
- function getEndBody() {
+ protected function getEndBody() {
return "</tbody></table>\n";
}
];
}
- function doBatchLookups() {
+ protected function doBatchLookups() {
parent::doBatchLookups();
$uids = [];
return $result;
}
- function getStartBody() {
+ protected function getStartBody() {
$tableClass = $this->getTableClass();
return Xml::openElement( 'table', [
'class' => "mw-datatable $tableClass",
}
}
- function doBatchLookups() {
+ protected function doBatchLookups() {
# Do a link batch query
$this->mResult->seek( 0 );
$parentRevIds = [];
/**
* @return string
*/
- function getStartBody() {
+ protected function getStartBody() {
return "<ul class=\"mw-contributions-list\">\n";
}
/**
* @return string
*/
- function getEndBody() {
+ protected function getEndBody() {
return "</ul>\n";
}
return 'ar_timestamp';
}
- function getStartBody() {
+ protected function getStartBody() {
return "<ul>\n";
}
- function getEndBody() {
+ protected function getEndBody() {
return "</ul>\n";
}
}
}
- function doBatchLookups() {
+ protected function doBatchLookups() {
$userIds = [];
$this->mResult->seek( 0 );
foreach ( $this->mResult as $row ) {
parent::__construct( $form->getContext() );
}
- function getStartBody() {
+ protected function getStartBody() {
# Do a link batch query
$this->mResult->seek( 0 );
$batch = new LinkBatch();
return 'img_timestamp';
}
- function getStartBody() {
+ protected function getStartBody() {
if ( !$this->gallery ) {
// Note that null for mode is taken to mean use default.
$mode = $this->getRequest()->getVal( 'gallerymode', null );
return '';
}
- function getEndBody() {
+ protected function getEndBody() {
return $this->gallery->toHTML();
}
return $this->mForm->formatRow( $row );
}
- function getStartBody() {
+ protected function getStartBody() {
# Do a batch existence check on pages
$linkBatch = new LinkBatch();
foreach ( $this->mResult as $row ) {
return '<ul>';
}
- function getEndBody() {
+ protected function getEndBody() {
return '</ul>';
}
}
parent::__construct( $form->getContext() );
}
- function getStartBody() {
+ protected function getStartBody() {
# Do a link batch query
$this->mResult->seek( 0 );
$lb = new LinkBatch;
return Html::rawElement( 'li', [], "{$item}{$edits}{$created}{$blocked}" );
}
- function doBatchLookups() {
+ protected function doBatchLookups() {
$batch = new LinkBatch();
$userIds = [];
# Give some pointers to make user links