[Mediawiki-l] How does RC list the log events ?
Thomas Gries
mail at tgries.de
Sun Feb 14 22:00:46 UTC 2010
The code below lists only the recent change of each article and
suppresses older changes.
An _unwanted_ side-effect is that also the log data is suppressed.
Question: How can this be amended so that log data is _not_ suppressed
in the RC view ?
LocalSettings.php:
$wgHooks['SpecialRecentChangesQuery'][] = 'onlyRecentRecentChanges';
function onlyRecentRecentChanges( &$conds, &$tables, &$join_conds, $opts, &$query_options = array() ) {
$tables[] = 'page';
$conds[] = 'rc_this_oldid=page_latest';
return true;
}
More information about the MediaWiki-l
mailing list