For MediaWiki (recent comments | status changes | tags | authors | states | release notes | statistics)
Index: trunk/phase3/includes/api/ApiQueryCategoryMembers.php =================================================================== --- trunk/phase3/includes/api/ApiQueryCategoryMembers.php (revision 53051) +++ trunk/phase3/includes/api/ApiQueryCategoryMembers.php (revision 53052) @@ -83,7 +83,12 @@ $this->addWhere('cl_from=page_id'); $this->setContinuation($params['continue'], $params['dir']); $this->addWhereFld('cl_to', $categoryTitle->getDBkey()); - $this->addWhereFld('page_namespace', $params['namespace']); + # Scanning large datasets for rare categories sucks, and I already told + # how to have efficient subcategory access :-) ~~~~ (oh well, domas) + global $wgMiserMode; + if (!$wgMiserMode) { + $this->addWhereFld('page_namespace', $params['namespace']); + } if($params['sort'] == 'timestamp') $this->addWhereRange('cl_timestamp', ($params['dir'] == 'asc' ? 'newer' : 'older'), $params['start'], $params['end']); else
Good that you "already told". Bad that you didn't bother to tell any of us who aren't whoever you already told; especially since this breaks many bots, we could better clamor for the fix if we knew what it was.
Please tag version with "live", when synchronized them. Thanks.
Please also synchronized r53087, so bots/user get a message. That makes it easy to find, why bots are not working. Thanks.