Topic on User talk:Spas.Z.Spasov

Kghbln (talkcontribs)

Hi, thanks a lot for the solution you found. Out of curiosity: Do you get an error message when trying to access "Special:Preferences". I get one so I had to disable indivudual pre-selection of licenses for the users by setting 'enableLicensePreference' => false,. Cheers

Spas.Z.Spasov (talkcontribs)

Hello, @Kghbln, I'm not receiving any errors. I'm with MediaWiki REL1_32. I've updated the beginning of the first part of the topic with the complete list of the related settings on my system. (Also there was a minor typo on the line 'defaultType' => 'ownWork', - the option is 'ownwork' in lower-case.)

Here are and my cache settings, probably they have some meaning:

$wgMainCacheType = CACHE_ACCEL;
$wgMainStash = CACHE_ACCEL;
$wgSessionCacheType = CACHE_ACCEL;
$wgParserCacheType = CACHE_ACCEL;   // optional
$wgMessageCacheType = CACHE_ACCEL;  // optional
$wgSessionsInObjectCache = true;    // optional
$wgUseGzip = true;                  // optional

What is the error that you are receiving? Maybe I could come up with some idea.

Kghbln (talkcontribs)

Thanks a lot for your fast reply. I tried this on MW 1.31 (no caching) and MW 1.33 (redis caching) and get the following issue: issue gist (also contains configuration). I do not copy over the typo in "ownWork". The main difference is probably that I use many custom licenses. Perhaps I have an issue in there I have overlooked, so having a second pair of eyes on this will be great.

Edit: The error originates from the "licensing" section at the end. As soon as I comment this out everything is ok, which is apparently no option in reality.

Spas.Z.Spasov (talkcontribs)

Hi, @Kghbln, I can't remember the exact reason, but I've explicit changed the array's definitions from [ ] to array( ). These days when I have enough time I will revert this change on my system to checkout whether this could be a problem.


Btw, I saw you are from Germany. I know in your language there are really long words :) so probably this extension could be interesting for you: mw-Typography

Kghbln (talkcontribs)

Hmm, the short array syntax should not be an issue but one never knows. Thanks for checking.

Thanks also for the tip about the Typography extension! Indeed things can get long sometimes. You may enjoy my little collection of words. :D

Reply to "UploadWizard"