Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent high-prio categories from reserving more candidates than needed
This mitigates a problem where a more important (according to sortkey order) category A is reserving images that would otherwise be the only possible recommendations for a less important category B, resulting in category B not getting any recommendations at all. It doesn't eliminate the problem completely, because images of B can be among the first $wgRelatedImagesMaxImagesPerCategory images in A.
- Loading branch information