Thread:Extension talk:LiquidThreads/A requested feature -- to facilitate discusion about pictures

My users keep asking to use LiquidThreads to discuss an uploaded picture.

Typically here is what I do:

for a .jpg uploaded as say, "File:mypic.jpg", I click on the discussion page and then click the [Add header] link and then add the picture as the sole content of the pictures talk page like this:



It would be great if LiquidThreads could detect that it is an image talk page and actually show the image without having to include it manually - for each article.

I would imagine that the behavior could easily be switched on and off using a global variable in LocalSettings.php near the line that includes the extension.

Regardless, Thanks for a great extension! --Rkevans 03:56, 2 February 2011 (UTC)

{| In "LiquidThreads-MW1.16-r75373\LiquidThreads\pages\TalkPageView.php". Right after line 105 which is: $this->output->addHTML( $html ); I added: if (strtoupper(substr($this->title,-4))==".JPG") $this->output->addWikiText( "400px" );
 * valign="top"|Update!
 * I did it! :-)

More specifically, this is in the function showHeader at the end of the else portion of the if ( $article->exists ) condition.

I sure hope someone finds this as helpful as I do. Cheers!

04:30, 2 February 2011 (UTC)