Extension talk:LinkedImage

This seems to not be working for 1.6.3 I just get a blank page.
 * with version 0.2 it should be working

php4
I am working with MediaWiki an php4, so the code did not work for me.

Since I removed all public an private statements it work with php4.


 * I'm using MediaWiki 1.6.8 and php4, and I just get parser errors using this extension. Any help?  --Mijunkin 04:58, 19 October 2006 (UTC)

I'm using Mediawiki 1.6.8 and I can't find a localconfig.php file. If I add include("extensions/LinkedImages.php"); to the top (or bottom) of Localsettings.php I get nothing but blank pages...


 * Perhaps the following could help, in Localsettings.php I did put

require_once($IP . '/extensions/LinkedImages/LinkedImages.php');
 * and it worked! Abasota 15:12, 22 April 2007 (UTC)

Template usage?
This extension works fine for me, but when I try to use it in a template, it returns the internal error "Image constructor given bogus title." --75.40.127.44 23:20, 8 November 2006 (UTC)

I get the same result - the problem is that template parameters are not expanded before the linked image is used. e.g. wikipage=Wiki Test img_src=Image:.jpg tries to find the image which then gives an error. Any Ideas how to solve this problem? --Sebastian.Dietrich 19:07, 13 April 2007 (UTC)


 * This has to do with how XML style parser extensions work. See Using DPL2 as a parser extension. Alan Trick 17:06, 16 May 2007 (UTC)

Template Generalization
Could you please issue a more general template version, where the target Link could also be external to the wiki?

I mean to be able to put links such as: i.e: http://www.itu.int/ Abasota 15:12, 22 April 2007 (UTC)

0.3
I added a new version of the extension. Here's a more detail list of changes.

Alan Trick 17:15, 16 May 2007 (UTC)
 * fixed XSS vulnerability with not escaping single quotes.
 * cleaned up code, removed sections that were never used, (and what in the world is up with public attributes and private accessor methods?!)
 * 'alt' attribute is now always output. It's a required attribute in XHTML.
 * replaces with appropriate value in URL. (this should be more generalized).