r96444 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96443‎ | r96444 | r96445 >
Date:16:11, 7 September 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Ffixes to r96443 and r96441
Modified paths:
  • /trunk/phase3/includes/logging/LogFormatter.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialLog.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/logging/LogFormatter.php
@@ -306,7 +306,7 @@
307307 $entry->getType(),
308308 $entry->getSubtype(),
309309 $entry->getTarget(),
310 - $this->context->getUser()->getSkin(),
 310+ $this->context->getSkin(),
311311 (array)$entry->getParameters(),
312312 true
313313 );
Index: trunk/phase3/includes/specials/SpecialLog.php
@@ -64,7 +64,7 @@
6565 $opts->setValue( 'month', '' );
6666 }
6767
68 - if ( LogPage::isLogType( $opts->getValue( 'type' ) ) ) {
 68+ if ( !LogPage::isLogType( $opts->getValue( 'type' ) ) ) {
6969 $opts->setValue( 'type', '' );
7070 }
7171

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r96441Committing my new logging classes for review. Will later commit changes that ...nikerabbit15:32, 7 September 2011
r96443Validate log type here, and moved showHeader to the special page where it bel...nikerabbit16:09, 7 September 2011

Status & tagging log