Page MenuHomePhabricator

Query pages only support a maximum of 1,000 pages
Closed, ResolvedPublic

Description

Author: lcarsdata

Description:
Special:Uncategorized_pages only shows 1,000 pages, this is a problem on even medium sized
wikis. I have proved that it isn't just that it is because the wiki has exactly 1,000
pages as the bug ocurs on meta: http://meta.wikimedia.org/w/
index.php?title=Special:Uncategorizedpages&limit=10000000&offset=0 and the commons http://
commons.wikimedia.org/w/index.php?title=Special:Uncategorizedpages&limit=10000000&offset=0

Good day.


Version: unspecified
Severity: normal
URL: http://commons.wikimedia.org/w/index.php?title=Special:Uncategorizedpages&limit=10000000&offset=0

Details

Reference
bz8042

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:29 PM
bzimport set Reference to bz8042.
bzimport added a subscriber: Unknown Object (MLST).

rotemliss wrote:

These are all the query pages.

rotemliss wrote:

It may be caused by caching, by the way.

robchur wrote:

It is due to caching, at least on Wikimedia web sites, where this is enabled.
The query page caching utilities will cache up to a maximum of 1000 results to
save time (these things are cached due to the performance cost, after all) -
1000 results is considered sufficient for people to work on before the next
re-cache, in most cases.

Not really a bug.

lcarsdata wrote:

Is this maximum of 1000 changeable in LocalSettings.php (just not listed at http://
www.mediawiki.org/wiki/Manual:Configuration_settings#Cache) or is it something to do
with php?

robchur wrote:

The default cache limit is 1000 as defined in
maintenance/updateSpecialPages.php, although individual query pages can override
this in includes/QueryPage.php. At this time, none do.

robchur wrote:

As of r18162, the limit can be customised via $wgQueryCacheLimit.