+ global $wgDisableCounters, $wgMiserMode, $wgUser, $wgLang;
+ if( !$wgDisableCounters && !$wgMiserMode ) {
$res = $dbr->query( "SELECT page_namespace, page_title, page_counter FROM {$page} WHERE page_is_redirect = 0 AND page_counter > 0 ORDER BY page_counter DESC LIMIT 0,10", __METHOD__ );