Page MenuHomeMiraheze

Need staff to make some backend changes to the SocialProfile extension for All The Tropes
Closed, ResolvedPublic

Description

All The Tropes requires some changes to SocialProfile to disable certain features, as explained here:

https://www.mediawiki.org/wiki/Extension:SocialProfile#Configuration_variables

We want this setting enabled to disable the foes feature, it defaults to "true" by default.

$wgUserProfileDisplay['foes'] = false;

Further discussion by the staff of ATT on the matter can be found here:

http://www.accessdenied-rms.net/forums/showthread.php?tid=14133&pid=203647#pid203647

Event Timeline

@Arcane21 Unless something isn't working our default is already set this way. Have you noticed that it's in fact not working properly?

I just rechecked. Apparently, once I flushed my cache, only the friending feature remains in play. We just wanted the "foe" feature removed and confirmation it's been disabled because we had some people use it to spite other users in the past, and we wanted that aspect of SocialProfile completely excised from use to prevent further such incidences.

If it's confirmably disabled, then please close this issue, I just wanted make sure this was completely removed to fix some longstanding complaints.

Edit: Can still see "Add as foe" on those not made foes yet. If need be, please completely the disable the friends/foe features and flush all database tables for those records to purge any erroneous data if required.

Unfortunately, this brings us back to the task opened by LulzKiller in 2019 (T4708) where the same thing was requested but was not possible as there is no such setting for the extension. The upstream task has also had no progress. Because of this, there's nothing much we can do as we already set the user display options to false.

I already thought of a fallback solution, going to just try to disable the options via some CSS tweaks. Let me know if anything changes.

Universal_Omega claimed this task.

Closing the task then. Apologies that we can't do it. However I will try to work with upstream at a later time to see if we can't get a configuration option approved to allow completely disabling the foes feature.

Arcane21 reopened this task as Open.EditedJul 10 2021, 07:32

Re opening just make sure these settings are set like this, noticed the User boards were not enabled and a few other things were not set properly. Also added the last setting as a spammer deterrent, we've had a few try to use the SocialProfile to spam, this should deter that. Not sure if you want this to be standard for all wikis using SP, but it's a very attractive extension to let spammers spam more, hence the last option.

$wgUserProfileDisplay['friends'] = false;
$wgUserProfileDisplay['foes'] = false;
$wgFriendingEnabled = false;
$wgUserBoard = true;
$wgUserProfileDisplay['board'] = true;
$wgUserProfileThresholds = [
    'edits' => 5
];

Most of those are available from ManageWiki I think.

Userboards and Friend/Foe Displays are (but seem to have no effect the Add a Friend/Foe options being available, all they do at best is hide the friends and foe lists from public view), and the UserThreshold setting to deter spammers is not available via that setting.

Until the backend stuff is fixed on the dev end, this issue can be closed again.

P.S. - unrelated note, but relevant to your work, love the modern day compatible Monaco skin, works great. I did one of the earlier spit and pencil hack forks to fix issues in the earlier versions, glad to see someone with more competence did an even better job.

Userboards and Friend/Foe Displays are (but seem to have no effect the Add a Friend/Foe options being available, all they do at best is hide the friends and foe lists from public view), and the UserThreshold setting to deter spammers is not available via that setting.

Until the backend stuff is fixed on the dev end, this issue can be closed again.

P.S. - unrelated note, but relevant to your work, love the modern day compatible Monaco skin, works great. I did one of the earlier spit and pencil hack forks to fix issues in the earlier versions, glad to see someone with more competence did an even better job.

Do you still want $wgUserProfileThresholds set or not?

That would be preferred.