MediaWiki talk:GallerySlideshow.js/Archive/2010

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

This is nice, but there should be an easy way to get to the file description page. As far as I can tell, the only way right now to get to the file description page is to search for the image in the category, which is hard when the category is big. Adding a link would make life easier for people who want to find out more about the image, and would also make sure there are no licensing issues (right now, it is hard to find the author). Pruneautalk 08:55, 26 October 2010 (UTC)

Yep, this is definitely planned. I'll be pretty busy this week, maybe I get to that on the weekend--DieBuche (talk) 16:52, 26 October 2010 (UTC)
The link is there, description not yet--DieBuche (talk) 19:19, 2 November 2010 (UTC)
Nice feature. It seems to break with spaces in the title though (tested on File:Aiguille os 246.1 Fond.jpg, first file of Category:Supported by Projet Phoebus), should be underscores. Jean-Fred (talk) 19:22, 2 November 2010 (UTC)
Indeed; Fixed now--DieBuche (talk) 19:48, 2 November 2010 (UTC)
This section was archived on a request by: RE rillke questions? 17:58, 15 November 2011 (UTC)

Does not work in Opera

When clicking on the "Show Slideshow"-Button, a grey bar with a row of images opens (they change a bit on hovering). Big spce beneath which I propose not to be there. Error console log:

Uncaught exception: TypeError: Cannot convert 'imageData.title' to object
Error thrown at line 178, column 5 in  function: initializeThumbs>() :
    imageData.caption = '<a href=' + wgServer + '/wiki/' + imageData.title.replace(/ /g, '_') + '>' + imageData.title.replace('File:', '').replace(/\.[\w]{3,4}$/, '') +'</a>';
called from line 528, column 4 in function: init>() :
    this.initializeThumbs();
called from line 672, column 5 in function: processReturn>(result) :
    this.init();
called from line 643, column 6 in function: success>(result, status, x) :
    GallerySlide.processReturn(result);
called from line 401, column 33 in success():
    s.success.call(callbackContext,data,status,xhr);
called via Function.prototype.call() from line 394, column 58 in function: xhr.onreadystatechange>(isTimeout):
    success();

When clcikin on one of the imgages I get the following error (nothing happens):

Uncaught exception: TypeError: Cannot convert 'this.currentImage' to object
Error thrown at line 366, column 28 in  function: gotoImage>(imageData) :
    this.onSlideChange(this.currentImage.index, index);
called from line 49, column 3 in function: gotoImage>(hash) in :
    gallery.gotoImage(imageData);
called from line 131, column 4 in function: clickHandler>(e, link) :
    $.galleriffic.gotoImage(hash);
called from line 185, column 6 in function: initializeThumbs>(e) :
    gallery.clickHandler(e, this);
called from line 146, column 308 in function: handle>(event):
    var ret=handleObj.handler.apply(this,arguments);
called via Function.prototype.apply() from line 115, column 275 in function: eventHandle>():
    return typeof jQuery!=="undefined"&&!jQuery.event.triggered?jQuery.event.handle.apply(eventHandle.elem,arguments):undefined;

I hope can need it and improve your script. thanks, -- Bergi 20:39, 16 November 2010 (UTC)

This section was archived on a request by: Rillke(q?) 11:39, 2 February 2013 (UTC)