Last modified: 2014-04-14 11:30:48 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.
Created attachment 11331 [details] Example LocalSetting.php
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.
I am not sure, but looks like this was already fixed with Gerrit change #47214.
(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?
(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.
Great that it works for you now!