Index: trunk/phase3/includes/LogEventsList.php |
— | — | @@ -486,7 +486,7 @@ |
487 | 487 | $this->getDateCond( $y, $m ); |
488 | 488 | } |
489 | 489 | |
490 | | - function getDefaultQuery() { |
| 490 | + public function getDefaultQuery() { |
491 | 491 | $query = parent::getDefaultQuery(); |
492 | 492 | $query['type'] = $this->type; |
493 | 493 | $query['month'] = $this->mMonth; |
— | — | @@ -541,7 +541,7 @@ |
542 | 542 | * @param string $name (In)valid user name |
543 | 543 | * @private |
544 | 544 | */ |
545 | | - function limitUser( $name ) { |
| 545 | + private function limitUser( $name ) { |
546 | 546 | if( $name == '' ) { |
547 | 547 | return false; |
548 | 548 | } |
— | — | @@ -567,7 +567,7 @@ |
568 | 568 | * @param string $page Title name as text |
569 | 569 | * @private |
570 | 570 | */ |
571 | | - function limitTitle( $page, $pattern ) { |
| 571 | + private function limitTitle( $page, $pattern ) { |
572 | 572 | global $wgMiserMode; |
573 | 573 | |
574 | 574 | $title = Title::newFromText( $page ); |
— | — | @@ -599,7 +599,7 @@ |
600 | 600 | } |
601 | 601 | } |
602 | 602 | |
603 | | - function getQueryInfo() { |
| 603 | + public function getQueryInfo() { |
604 | 604 | $this->mConds[] = 'user_id = log_user'; |
605 | 605 | # Don't use the wrong logging index |
606 | 606 | if( $this->title || $this->pattern || $this->user ) { |
— | — | @@ -622,7 +622,7 @@ |
623 | 623 | return 'log_timestamp'; |
624 | 624 | } |
625 | 625 | |
626 | | - function getStartBody() { |
| 626 | + public function getStartBody() { |
627 | 627 | wfProfileIn( __METHOD__ ); |
628 | 628 | # Do a link batch query |
629 | 629 | if( $this->getNumRows() > 0 ) { |
— | — | @@ -639,7 +639,7 @@ |
640 | 640 | return ''; |
641 | 641 | } |
642 | 642 | |
643 | | - function formatRow( $row ) { |
| 643 | + public function formatRow( $row ) { |
644 | 644 | return $this->mLogEventsList->logLine( $row ); |
645 | 645 | } |
646 | 646 | |