Page MenuHomePhabricator

new category stuff doesn't play nicely with __NOGALLERY__ magic word (specifically paging doesn't work)
Closed, ResolvedPublic

Description

If you put NOGALLERY in a category page (with images), the paging doesn't work properly.

Images are listed with normal articles. Since we are now paging them separately, I'd expect them in their own section (but in a list not in a gallery).

Clicking next 200, gets next 200 articles, but the same images are still there.

If there are more than 200 images, there are no paging links for images.


Version: 1.17.x
Severity: normal

Details

Reference
bz26737

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:23 PM
bzimport set Reference to bz26737.
bzimport added a subscriber: Unknown Object (MLST).
Bawolff created this task.Jan 15 2011, 1:17 AM

Note, feature works on 1.16 and is in use on commons: http://commons.wikimedia.org/wiki/Category:Music_sound

ayg wrote:

Sounds easy to fix, but I don't have the time. Probably we just need to add a couple lines of special logic someplace in CategoryPage.php -- I didn't think about NOGALLERY at all when writing the code.

Yeah, just make it so it doesn't put them into the pages section. I'll try to have a look at it today.

fixed in r80432.