Jump to content

Template talk:Sockpuppet

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Deprecation of "an editor has expressed a concern" version

[edit]

Currently, invocation of this template without parameters except the master ({{sockpuppet|Example}}) or with the "suspected" parameter ({{sockpuppet|Example|suspected}}) produces the following:

I think this is rather suboptimal, because it leads to erroneous tagging (it would seem more intuitive that the template without parameter or a suspected parameter marks the editor as a blocked suspected sockpuppet), and because I believe that we shouldn't be tagging people as socks if they haven't been clearly identified as such and blocked. ToBeFree removed ([1][2]) these two parameters from the documentation a few months ago (something I obviously agree with), but the code of the template has not changed. I'm not a template wizard, so I'm not sure how feasible it is, but I'm wondering if we can remove these parameters (and instead have them redirect to what is currently produced by {{sockpuppet|Example|blocked}}). The technical issue I see is that the template is currently in use on userpages of actual blocked socks, so outright removal would lead to correct sock tags being removed and messing up categories. Hence, I basically have two questions:

  1. Is this actually an issue? That is, should we remove or retarget this use of the template?
  2. If yes, how can we do that, and is it worth the effort?

An AWB run to remove all current uses of this version would untag socks that should be tagged, subst:ing would (as far as I know) uncategorise the socks and render the template useless, and simple retargeting would tag people who aren't blocked as blocked sockpuppets. One potential solution I can think of would be to query the database for uses of this version of the template on pages of users that blocked or globally locked, selectively remove them from those pages, and then retarget the parameters. Blablubbs|talk 16:37, 21 April 2021 (UTC)[reply]

Thanks for the ping :) Regarding 1: No idea, but I guess the issue is more than just a purely theoretical one. I agree with changing the default to "blocked", as I see no legitimate use for the current default (it doesn't comply with WP:HSOCK). Regarding 2: Using any scripting language of your choice, perhaps Python, you can alternatively make API calls to the Query API, property "linkshere" https://www.mediawiki.org/w/api.php?action=help&modules=query%2Blinkshere , to retrieve a list of transclusions into an array. You can then use that array to make API calls to Userinfo, "blockinfo" https://www.mediawiki.org/wiki/API:Userinfo , to fetch the information without running a complicated SQL query. It's surely not the most technically efficient way, but one that might provide less human frustration in reaching the goal. I can't do this, however; I lack scripting experience and time to dedicate towards that project. ~ ToBeFree (talk) 19:09, 21 April 2021 (UTC)[reply]
Acutally, I just realised I might(?) have been mistaken about subst:ing breaking the categories, so this may actually be easier than I initially thought. Blablubbs|talk 12:10, 1 May 2021 (UTC)[reply]
This is technically possible, as ToBeFree said. I see 3 practical steps:
  1. Remove the template from every non-blocked user.
  2. Remove the "suspected" parameter.
  3. Make "blocked" the default.
If there is consensus to make this change, I can help with it. MarioGom (talk) 05:45, 11 June 2021 (UTC)[reply]
I did quick exploration of usages and I think we have not enough information about historic usage of the template. I would suggest a first step before going forward. We can create two categories: one for all usages of this template without status parameter. Another for suspected/spi parameter. Then we can spend some time going through these accounts and figuring out the conversion rules, just in case there is more than one possible case. What do you think? MarioGom (talk) 12:31, 11 June 2021 (UTC)[reply]
Definitely agree we should set up some tracking cats; when I deprecated {{blocked sockpuppet}} there were a few dozen pages that had no master listed, so we now have Category:Users tagged as sockpuppets with no listed master. Let me know what we need to track and I'll set it up. Primefac (talk) 15:53, 11 June 2021 (UTC)[reply]
As an interim step, I've removed the parameters that don't comply with policy from the docs, see [3]. --Blablubbs|talk 17:37, 11 June 2021 (UTC)[reply]

I'm looking at different classes of sockpuppet tags without second parameter. Some seem to need manual review and fix, and others might be quickly removed. A low hanging fruit are the 264 unblocked IPs that have this tag, and can probably all removed with very quick review (AWB maybe?). See the list here: https://public.paws.wmcloud.org/User:MarioGom/fix_sockpuppet_templates.ipynb#Unblocked-IPs-without-second-parameter I can assist with the removal if there is consensus, or a SPI clerk or admin might want to do it instead? MarioGom (talk) 11:09, 30 July 2021 (UTC)[reply]

Simplify language for both blocked and locked

[edit]

"as well as being" is needlessly awkward and grammatically incorrect (inconsistency of tense). Please replace it with a simple "and".--Jasper Deng (talk) 10:42, 21 July 2023 (UTC)[reply]

 Not done for now: please establish a consensus for this alteration before using the {{Edit template-protected}} template. Let's allow for a bit of discussion, if needed. It might help to put the desired changes in the sandbox and demonstrate them on the testcases page, since the code has a bunch of if statements that are not trivial to parse. – Jonesey95 (talk) 07:04, 22 July 2023 (UTC)[reply]
@Jonesey95: This change is very trivial. It only requires finding “as well as being” and replacing it with “and”. I’m familiar enough with template syntax to verify this. Since I can’t find evidence of an objection there is a WP:SILENTCONSENSUS for this change. Requiring discussion is needlessly bureaucratic; WP:NOTBUREAUCRACY. It would make sense for a more substantial change but not a simple grammar fix.—Jasper Deng (talk) 07:50, 22 July 2023 (UTC)[reply]
Well, I agree with both of you. Since you brought this up, Jasper Deng, I looked at the example with this verbage and have to agree that it sounds a bit off. Was thinking tho' that just changing to the word "and" isn't enough, so just get rid of the word "being" to read, "and has been blocked indefinitely as well as locked globally." Now that's the ticket. Definitely needs improvement. Good catch! P.I. Ellsworth , ed. put'er there 10:50, 22 July 2023 (UTC)[reply]

Edit request

[edit]

Remove "also" as described here. Also remove NOINDEX as user pages and user talk pages are not indexed by default. Toadette (Let's discuss together!) 11:31, 31 March 2024 (UTC)[reply]

 Done * Pppery * it has begun... 00:55, 1 April 2024 (UTC)[reply]

|locked=yes

[edit]

Can you please add File:Wikimedia-globalblock.svg to the template so it can look like this, kinda like what's on the Template:Sockpuppet/sandbox? 167.205.23.115 (talk) 03:39, 17 April 2024 (UTC)[reply]

 Not done for now: please establish a consensus for this alteration before using the {{Edit template-protected}} template. I don't see this icon on the sandbox page or the testcases page, and I don't know that it matches the intent of this template. – Jonesey95 (talk) 04:56, 17 April 2024 (UTC)[reply]