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

prod: Fix a number of bugs around endorsing #973

Merged

Conversation

Amorymeltzer
Copy link
Collaborator

@Amorymeltzer Amorymeltzer commented Jun 14, 2020

Most prominently, this moves the check for {{old prod}} to after the endorsement check, which allows proper endorsing (on the fritz since #735). This means that if there's a prod already present, this will allow endorsing a (regular) PROD even if the talk page has been tagged (as should be the case).

Additional fixes:

Additionally, as written, this changes things so it won't add another old prod template to the talk page when BLPPRODing. I'm on the fence about that, so would welcome feedback.

@Amorymeltzer
Copy link
Collaborator Author

Actually, that first bullet point should probably be split out and pushed immediately... will try to take care of that later tonight.

Most prominently, this moves the check for `{{old prod}}` to after the endorsement check, which allows proper endorsing (on the fritz since wikimedia-gadgets#735).  This means that if there's a prod already present, this will allow endorsing a (regular) PROD even if the talk page has been tagged (as should be the case).  This will also now *not* add another old prod template to the talk page when BLPPRODing.

Additional fixes:
- Correctly note prior tag type when endorsing
- Move article age check into new prod check, where it makes the most sense.
@Amorymeltzer Amorymeltzer added this to the July 2020 update milestone Jun 18, 2020
@Amorymeltzer Amorymeltzer merged commit 2f59cd3 into wikimedia-gadgets:master Jul 2, 2020
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.

None yet

1 participant