*Allow log events
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 14 Mar 2007 01:54:07 +0000 (01:54 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 14 Mar 2007 01:54:07 +0000 (01:54 +0000)
includes/SpecialWatchlist.php

index 89047f4..2e660bd 100644 (file)
@@ -257,7 +257,8 @@ function wfSpecialWatchlist( $par ) {
                $andLatest='';
                $limitWatchlist = 'LIMIT ' . intval( $wgUser->getOption( 'wllimit' ) );
        } else {
-               $andLatest= 'AND rc_this_oldid=page_latest';
+       # Top log Ids for a page are not stored
+               $andLatest= 'AND (rc_this_oldid=page_latest OR rc_type=' . RC_LOG . ') ';
                $limitWatchlist = '';
        }