array( 'LonelyPagesPage', 'Lonelypages' ),
array( 'LongPagesPage', 'Longpages' ),
array( 'NewPagesPage', 'Newpages' ),
- array( 'PopularPagesPage', 'Popularpages' ),
array( 'ShortPagesPage', 'Shortpages' ),
array( 'UncategorizedCategoriesPage','Uncategorizedcategories'),
array( 'UncategorizedPagesPage', 'Uncategorizedpages'),
array( 'WantedPagesPage', 'Wantedpages' ),
);
-
+global $wgDisableCounters;
+if( !$wgDisableCounters ) {
+ $wgQueryPages[] = array( 'PopularPagesPage', 'Popularpages' );
+}
/**
* This is a class for doing query pages; since they're almost all the same,