Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add uw-upeblock to block options #851

Merged
merged 4 commits into from Feb 23, 2020

Conversation

wiki-ST47
Copy link
Contributor

Per #850, add a new Template:Uw-upeblock, for blocks related to undisclosed paid editing, to the list of available block presets.

Per wikimedia-gadgets#850, add a new Template:Uw-upeblock, for blocks related to undisclosed paid editing, to the list of available block presets.
@wiki-ST47
Copy link
Contributor Author

I was testing this template in my common.js and it seems to work, however, I don't know how to properly test my "dev" version of Twinkle. Please have a look and ensure that I got everything right.

@Amorymeltzer Amorymeltzer linked an issue Feb 18, 2020 that may be closed by this pull request
Copy link
Collaborator

@Amorymeltzer Amorymeltzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs one minor fixup for proper syntax, and I've got a suggestion on language, but otherwise LGTM @wiki-ST47. Thanks for opening the PR!

I'm generally wary of adding brand new templates — who knows if they'll take off, it's easy for them to proliferate, etc. — but this does seem like a glaring omission on-wiki. I have some comments on the template itself but I'll make them there.

nocreate: true,
pageParam: true,
reason: '[[WP:PAID|Undisclosed paid editing]] in violation of the WMF [[WP:TOU|Terms of Use]]',
summary: 'You have been indefinitely blocked from editing because your account is being used only for [[WP:SPAM|spam or advertising]] in violation of [[WP:PAID|Wikipedia policy on paid advocacy'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing brackets to close out the link:

Suggested change
summary: 'You have been indefinitely blocked from editing because your account is being used only for [[WP:SPAM|spam or advertising]] in violation of [[WP:PAID|Wikipedia policy on paid advocacy'
summary: 'You have been indefinitely blocked from editing because your account is being used only for [[WP:SPAM|spam or advertising]] in violation of [[WP:PAID|Wikipedia policy on paid advocacy]]'

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That being said, I think it'd be good to have this be in closer alignment with the log entry, if only by specifically stating it's for UPE. Maybe something like:

Suggested change
summary: 'You have been indefinitely blocked from editing because your account is being used only for [[WP:SPAM|spam or advertising]] in violation of [[WP:PAID|Wikipedia policy on paid advocacy'
summary: 'You have been indefinitely blocked from editing because your account is being used in violation of [[WP:PAID|Wikipedia policy on undisclosed paid advocacy]]'

Or something like that?

forRegisteredOnly: true,
nocreate: true,
pageParam: true,
reason: '[[WP:PAID|Undisclosed paid editing]] in violation of the WMF [[WP:TOU|Terms of Use]]',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm mixed on the use of WP:TOU here, given that it's just a soft redirect and otherwise sparse on information. I suppose it's what's currently being used by the template so it's fine?

@Amorymeltzer
Copy link
Collaborator

@wiki-ST47 I can help make some of these changes if you'd like

@Amorymeltzer Amorymeltzer added this to the March 2020 update milestone Feb 20, 2020
@wiki-ST47
Copy link
Contributor Author

I updated the block summary message based on your suggestions. [[m:TOU]] might be a better choice for the wikilink, if we want to avoid the soft redirect?

@Amorymeltzer
Copy link
Collaborator

Is just saying UPE sufficient? Maybe a little too succinct. The template has changed a bit, but it's roughly in-line, so I say let's just give it a go, can change if need be.

@Amorymeltzer Amorymeltzer merged commit 25b4804 into wikimedia-gadgets:master Feb 23, 2020
wiki-ST47 added a commit to wiki-ST47/twinkle that referenced this pull request Sep 2, 2020
Add a new Template:Uw-upeblock, for blocks related to undisclosed paid editing, to the list of available block presets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a block template for undisclosed paid editing
2 participants