Hi Tim, I'm not sure, if this is what you want:
While [[File:image.jpg]] or [[Image:image.jpg]] gives you a link to the Image Page, with [[Media:image.jpg|text]] you can generate a text-link directely to the picture on a blank page and [[File:image.jpg|link=]] has the effect of a picture with no link-action. Hope this helps, Irene Tim Cronin schrieb: > Hello all, > > > > I have the need to override the default action when clicking an image/file. > I would like to have the images show either the image on a blank page or > have nothing happen onclick. However, when you click on a PDF, it will > begin the download. Currently when clicking a file or image you are first > sent to the image page but I would like to completely remove this > functionality as there is no reason to show it most times in my > installation. I have looked through the hook list at > http://www.mediawiki.org/wiki/Manual:Hooks and can't find a suitable hook. > I have also looked through the source, but can't seem to find a hook that > was left out of the hook list. > > > > If there is anybody that has done this or knows a good path to follow, I am > open to suggestions. > > > > Thank you in advance, > > Tim Cronin > > > > > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l -- UNIVERSITÄT BASEL Universitätsbibliothek Irene Müller Wissenschaftliche Mitarbeiterin IT Schönbeinstrasse 18-20 4056 Basel, Schweiz Tel. +41 (0)61 267 31 80 E-Mail [email protected] URL http://www.ub.unibas.ch/ _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
