Topic on Project:Support desk

Inconsistent file/image link behaviors

1
Lizkim270 (talkcontribs)
  • MediaWiki 1.24.1
  • PHP 5.3.3
  • MySQL 5.1.73

File/Image links are behaving inconsistently.

1. New Files/Images: If I first create a page with image/file tags as placeholders and then upload the (new) files, refreshing the page does not change (links stay red). I have to resave the page (without any changes) to get the links activated and the images rendered.

2. New Version Files/Images: say I re-saved the page from the above case and things look OK. If I upload a new version of the files, the links works OK and point to the latest versions. However, if I upload a new version of an image and refresh the page, some work and some don't..

These tags display the latest version of test.jpg fine:

 [[Image:test.jpg|left]]
 [[Image:test.jpg]] 
 [[File:test.jpg|left]] 
 [[File:test.jpg]] 

These tags no longer display the older version of test.jpg, but empty-file/red links that say "500px" and point to the file upload page. I've tried uploading again here but did not help. Again, if the page is re-saved or previewed (with no changes), I can see the latest images.

 [[Image:test.jpg|500px|left]] 
 [[Image:test.jpg|500px]]
 [[File:test.jpg|500px|left]] 
 [[File:test.jpg|500px]] 

I've run maintenance/rebuildall.php script - it didn't help but it did remove the "broken-link" including pages from "Pages with broken file links" category.

I have not been able to find much info on this - maybe something is off on my installs only (I have 2 and both behaving the same way).. any input would be greatly appreciated. Thank you.

Reply to "Inconsistent file/image link behaviors"