Page MenuHomePhabricator

Config default number of articles per page (hard corded $limit=200)
Closed, ResolvedPublic

Description

Author: sylvain_machefert

Description:
In CategoryPage->doCategoryMagic, the number of articles per
page is hard coded $limit = 200 (line 91).

short term solution :
I'd like to set the default number of page in my LocalSettings,
because my server is not so fast and it has sometimes problem to
display 200 articles per page. doCategoryMagic would use this,
say, $wgDefaultNumberOfArticlesPerCategoryPage ;-)

long term solution :
In bug #1212, one proposed to have the choice like in recent
changes with 20 | 50 | 100 | 200, next 50...


Version: 1.5.x
Severity: enhancement

Details

Reference
bz4970

Event Timeline

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

robchur wrote:

Applied to HEAD, will backport to 1.5 branch.