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

protect: use API text output to check if page is redirect #781

Merged
merged 1 commit into from Dec 16, 2019

Conversation

siddharthvp
Copy link
Member

Where available, content returned by the API should always be used rather than mw config data as it is more up-to-date.
Fixes the bug reported on WT:TW.

Where available, content returned by the API should always be used rather than mw config data as it is more up-to-date.
Fixes the bug reported on [WT:TW](https://en.wikipedia.org/wiki/Wikipedia_talk:Twinkle#Adding_protection_templates_on_redirects_breaks_the_redirect).
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.

👍

Noting vague similarity to your work in #710

@Amorymeltzer Amorymeltzer merged commit 7f5c380 into wikimedia-gadgets:master Dec 16, 2019
@Amorymeltzer Amorymeltzer added this to the January 2020 update milestone Jan 12, 2020
@siddharthvp siddharthvp deleted the rpptagredr branch October 22, 2020 20:11
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

2 participants