Last modified: 2010-05-15 16:03:35 UTC
When including a specific page of a DjVu image, the link to the image description has two "page" GET parameters. The "zoom" symbol links to the correct URL: http://de.wikipedia.org/w/index.php?title=Bild:Katia.djvu&page=10 The thumbnail links to this URL: http://de.wikipedia.org/w/index.php?title=Bild:Katia.djvu&page=10&page=10 The same applies to the previous/next page preview on the image description; the thumbnails link to "&page=9&page=9" and "&page=11&page=11" in this example. ---- I don't have a test wiki at the moment, so I couldn't try to fix this myself. But I found a clue - which might help to at least solve the latter part of the problem - in /includes/ImagePage.php, lines 381-383 (and something similar for $thumb2 in 390-392): $link = $sk->makeKnownLinkObj( $this->mTitle, $label, 'page='. ($page-1) ); $thumb1 = $sk->makeThumbLinkObj( $this->mTitle, $this->displayImg, $link, $label, 'none', array( 'page' => $page - 1 ) ); $link already includes "page=...", so the makeThumbLinkObj call contains this information twice. That might explain the duplication.
Fixed in r48378
(In addition: the first issue is what I fixed. The latter seems like it has already been fixed)