Topic on Project:Support desk

[RESOLVED] Can't edit preferences

10
93.214.198.121 (talkcontribs)

To whom I may concern,

hakuson.de/index.php/

Software Version MediaWiki 1.23.3 PHP 5.5.16-nmm1 (apache2handler) MySQL 5.6.17-nmm1-log Lua 5.1.5

is my setting. The problem is that I cannot edit the preferences. I can see the specialpage, but i am not able to edit the content. (Can not change anything)

I searched in google and mediawiki documentation for two hours and found nothing, so i am asking for help.

Thank you very much. Greetings Christoph Endruschat

Answer to: cvcaq@gmx.de

88.130.95.196 (talkcontribs)

Hi Christoph,

what exactly do you mean with "I cannot edit"? Are you unable to actually change the values inside the different fields? Or can you not save them? Until hearing the contradictory I assume the later. In this case you obviously met some error condition. See How to debug, reproduce the error and then check the PHP error log for more information!

93.214.219.217 (talkcontribs)

Hi,

i mean that when i try to change anything, it just does show no sign of reaction. When I click on a checkbox or something, nothing happens. The textfields and checkboxes are gray, like their inactiv. I can select the text describing the preferences. So I am not able to change the the values. Maybe my question should have been: How can i activate the Preferences?

I am not sure if it is actually a bug, or if i am just too stupid, but I don`t find any information about in google, so I assumed something is wrong.

Thank you Greets Christoph

93.214.219.217 (talkcontribs)

Hi,

i mean that when i try to change anything, it just does show no sign of reaction. When I click on a checkbox or something, nothing happens. The textfields and checkboxes are gray, like their inactiv. I can select the text describing the preferences. So I am not able to change the the values. Maybe my question should have been: How can i activate the Preferences?

I am not sure if it is actually a bug, or if i am just too stupid, but I don`t find any information about in google, so I assumed something is wrong.

Thank you Greets Christoph

88.130.70.248 (talkcontribs)

So you can click around and see the different tabs on the preferences page? I do not know of a way to produce what you are seeing. You can hide some preferences using the $wgDefaultUserOptions option, but I would not know how you can deactivate them while keeping them visible. Can you check, how the things are deactivated? Is that done by some JavaScript? Or are there values in the HTML source code, which cause this?

Dr Brains (talkcontribs)

Problem solved on my wiki where I had the same problem !

Some new (and undocumented ?) rights manage the user features. Just add to your /LocalSettings.php file the following lines :

$wgGroupPermissions['user']['editmyusercss']                = true;
$wgGroupPermissions['user']['editmyuserjs']                 = true;
$wgGroupPermissions['user']['viewmywatchlist']              = true;
$wgGroupPermissions['user']['editmywatchlist']              = true;
$wgGroupPermissions['user']['viewmyprivateinfo']            = true;
$wgGroupPermissions['user']['editmyprivateinfo']            = true;
$wgGroupPermissions['user']['editmyoptions']                = true;
Florianschmidtwelzow (talkcontribs)
88.130.67.26 (talkcontribs)

As far as I understand the original poster, he wants to change something with the preferences at Special:Preferences. The settings in $wgGroupPermissions in contrast are not at all, what he is looking for.

Dr Brains (talkcontribs)

<quote>“The problem is that I cannot edit the preferences. I can see the specialpage, but i am not able to edit the content. (Can not change anything)”</quote>

He did't want to change something about Special:Preferences is displayed, add or remove an option, he get Special:Preferences as he want, but cannot change his user preferences, because all <textarea>, <input>, <checkbox>, etc. are disabled.

I had the same problem, and set $wgGroupPermissions['user']['editmyoptions'] to true resolved my problem, because in my mediawiki installation I overrided DefaulSettings.php $wgGroupPermissions configurations in LocalSettings.php. So did he, I guess.

@Florianschmidtwelzow : That's the "?" point. I didn't see it. Sorry.

88.130.67.26 (talkcontribs)

You're right: In the default configuration, it is not $wgGroupPermissions['user']['editmyoptions'], but $wgGroupPermissions['*']['editmyoptions'], which is set to true. I guess your problem happens when you overwrite the complete $wgGroupPermissions['user'] or even the complete $wgGroupPermissions array.

Instead, you should only change those keys, which you really want to have changed and not overwrite all.

Reply to "[RESOLVED] Can't edit preferences"