Last modified: 2014-04-14 11:30:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43878, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41878 - No width specified to ImageHandler::makeParamString after changing $wgDefaultUserOptions['thumbsize']
No width specified to ImageHandler::makeParamString after changing $wgDefault...
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.20.x
PC Windows Server 2003
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
aklapper-moreinfo
: testme
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-08 10:07 UTC by jongfeli
Modified: 2014-04-14 11:30 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Text displayed (1.88 KB, text/plain)
2012-11-08 10:07 UTC, jongfeli
Details
Example LocalSetting.php (4.69 KB, application/x-httpd-php)
2012-11-08 12:18 UTC, jongfeli
Details

Description jongfeli 2012-11-08 10:07:40 UTC
Created attachment 11330 [details]
Text displayed

When the image size limits setting in the "User Preferences" are smaller then the actual file (picture) size that is opened in the File: NS an internal error is generated. For example the picture size is 800 x 600px and the size limits setting in the "User Preferences" are set to 640 x 480px the fault is generated.
Comment 1 jongfeli 2012-11-08 12:18:48 UTC
Created attachment 11331 [details]
Example LocalSetting.php
Comment 2 jongfeli 2012-11-08 12:20:25 UTC
After some more testing on a clean MW-1.20.0 installation I found out that this only happens when you want to change the default value for $wgDefaultUserOptions['thumbsize']. An example in the attached localsettings.php.


6 seems a valid value but the fault appears (only when the actual picture size is bigger then the user image size limits in the "User Preferences"). It seems that $wgDefaultUserOptions['thumbsize'] is no longer linked to $wgThumbLimits (as documented) but to $wgImageLimits. Any value bigger than 4 results in the fault, starting with 0 means there are 5 options, in the defaults for $wgImageLimits there are also 5 options.
Comment 3 Umherirrender 2014-01-28 19:15:28 UTC
I am not sure, but looks like this was already fixed with Gerrit change #47214.
Comment 4 Andre Klapper 2014-03-20 13:49:22 UTC
(In reply to Umherirrender from comment #3)
> I am not sure, but looks like this was already fixed with Gerrit change
> #47214.

jongfeli: Is this still an issue?
Comment 5 jongfeli 2014-04-14 10:57:47 UTC
(In reply to Andre Klapper from comment #4)
> (In reply to Umherirrender from comment #3)
> > I am not sure, but looks like this was already fixed with Gerrit change
> > #47214.
> 
> jongfeli: Is this still an issue?

Hello Andre. sorry for the late responds. The past few months I had to put more work in the Wiki content and not in the workings :) 

I updated our Wiki to 1.22.5 and the issue seems to be gone, I can not reproduce it anymore. Regards, Felipe.
Comment 6 Andre Klapper 2014-04-14 11:30:48 UTC
Great that it works for you now!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links