r42655 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42654‎ | r42655 | r42656 >
Date:14:03, 27 October 2008
Author:aaron
Status:old
Tags:
Comment:
Visibility housekeeping
Modified paths:
  • /trunk/phase3/includes/LogEventsList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogEventsList.php
@@ -486,7 +486,7 @@
487487 $this->getDateCond( $y, $m );
488488 }
489489
490 - function getDefaultQuery() {
 490+ public function getDefaultQuery() {
491491 $query = parent::getDefaultQuery();
492492 $query['type'] = $this->type;
493493 $query['month'] = $this->mMonth;
@@ -541,7 +541,7 @@
542542 * @param string $name (In)valid user name
543543 * @private
544544 */
545 - function limitUser( $name ) {
 545+ private function limitUser( $name ) {
546546 if( $name == '' ) {
547547 return false;
548548 }
@@ -567,7 +567,7 @@
568568 * @param string $page Title name as text
569569 * @private
570570 */
571 - function limitTitle( $page, $pattern ) {
 571+ private function limitTitle( $page, $pattern ) {
572572 global $wgMiserMode;
573573
574574 $title = Title::newFromText( $page );
@@ -599,7 +599,7 @@
600600 }
601601 }
602602
603 - function getQueryInfo() {
 603+ public function getQueryInfo() {
604604 $this->mConds[] = 'user_id = log_user';
605605 # Don't use the wrong logging index
606606 if( $this->title || $this->pattern || $this->user ) {
@@ -622,7 +622,7 @@
623623 return 'log_timestamp';
624624 }
625625
626 - function getStartBody() {
 626+ public function getStartBody() {
627627 wfProfileIn( __METHOD__ );
628628 # Do a link batch query
629629 if( $this->getNumRows() > 0 ) {
@@ -639,7 +639,7 @@
640640 return '';
641641 }
642642
643 - function formatRow( $row ) {
 643+ public function formatRow( $row ) {
644644 return $this->mLogEventsList->logLine( $row );
645645 }
646646

Status & tagging log