Last modified: 2007-06-15 15:03:42 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 T12265, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10265 - broken "previous" link in categories containing images
broken "previous" link in categories containing images
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 10271 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-15 00:03 UTC by Tomasz G. Sienicki
Modified: 2007-06-15 15:03 UTC (History)
1 user (show)

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


Attachments

Description Tomasz G. Sienicki 2007-06-15 00:03:29 UTC
Example: http://commons.wikimedia.org/w/index.php?title=Category:User-created_GFDL_images&until=Runway-operational.JPG

1. open any category containing more than 200 images
2. click (next 200)
3. click (previous 200) → you'll get an empty page

100% reproducible on all wikimedia projects
Comment 1 Brion Vibber 2007-06-15 14:49:18 UTC
*** Bug 10271 has been marked as a duplicate of this bug. ***
Comment 2 Brion Vibber 2007-06-15 14:49:29 UTC
Jun 15 14:14:00 srv147 httpd[30857]: PHP Fatal error:  Call to undefined method
Image::getNamespace() in
/usr/local/apache/common-local/php-1.5/includes/ImageGallery.php on line 212
Comment 3 Brion Vibber 2007-06-15 15:03:42 UTC
Fixed in r23012. ImageGallery::add() had been updated to accept both Image and Title objects, but ImageGallery::insert() had not. The latter gets used in this paging mode for category galleries, so was storing the wrong object type in the internal array.

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


Navigation
Links