On Wed, Jul 7, 2010 at 7:49 PM, Brent Palmer bop@brentopalmer.com wrote:
Hello,
We would like some help in figuring out the quickest and easiest way to disable link checking in the mediawiki software. By this I mean that when rendering a page, there is a check to see if the original image exists. If it's found, a link is constructed to the appropriate thumbnail size. If not, an upload link is constructed instead. It would be a great help to us if someone familiar with the code could give us some info on the best way to force it to construct the image link even if it's not there when it's rendered. I hope this is clear enough. If not, I'll try to clarify.
The code is located in includes/Linker.php in the makeImageLinkObj and makeImageLink2 functions. There appears to be no straightforward way to achieve the desired function without modifying the source code.
Bryan