Last modified: 2011-01-17 01:17:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28737, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26737 - new category stuff doesn't play nicely with __NOGALLERY__ magic word (specifically paging doesn't work)
new category stuff doesn't play nicely with __NOGALLERY__ magic word (specifi...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
1.17.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 26611
  Show dependency treegraph
 
Reported: 2011-01-15 01:17 UTC by Bawolff (Brian Wolff)
Modified: 2011-01-17 01:17 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bawolff (Brian Wolff) 2011-01-15 01:17:41 UTC
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.
Comment 1 Bawolff (Brian Wolff) 2011-01-15 01:46:18 UTC
Note, feature works on 1.16 and is in use on commons: http://commons.wikimedia.org/wiki/Category:Music_sound
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2011-01-16 20:13:40 UTC
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.
Comment 3 Bawolff (Brian Wolff) 2011-01-16 20:14:39 UTC
Yeah, just make it so it doesn't put them into the pages section. I'll try to have a look at it today.
Comment 4 Bawolff (Brian Wolff) 2011-01-17 01:17:08 UTC
fixed in r80432.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links