-
Notifications
You must be signed in to change notification settings - Fork 77
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
Script should follow user talk page redirects #90
Comments
To reproduce: comment on a draft, with the "Notify user" option enabled, submitted by a user whose talk page is a redirect. Currently, the script will send a notice to the redirect, not the target of the redirect. I'm pretty confident that all we need to do is add the parameter |
As a note, Twinkle has the same issue so if this one gets solved it might be good to let Amory know so that it can be fixed in both locations. |
i want to work on this. how i can start |
@puneetdwivedi Sorry! Not sure how I missed this. Here are instructions on getting set up; if you run into any trouble, post here or on the other help venues. |
@puneetdwivedi How is this issue going? Please let me know if you've run into any problems. |
Hello! @enterprisey, I would like to work on this issue. Is it open yet? |
@Ankur21980 hi! I would like to not assign this issue to someone else just yet - if you really want to work on this issue, please wait until the person currently assigned has not responded for another week. Alternatively, please ping me in a new topic in our Zulip channel - there are more issues that do not have the good-first-issue tag that might be easy to work on, depending on your level of experience. @puneetdwivedi - are you still available to work on this issue? Unfortunately easy issues on this repository are not that easy to find, so please let me know whether or not you plan to continue working on this issue. If you do not make a comment on this issue with your status by a week from now (the 27th of March) I will assume you are not available, and will mark this issue as open for anyone to take. |
hello @enterprisey, I would like to contribute to this project, I will need a little guidance to start. |
@Prernajha2609 sure. Follow https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Articles_for_creation/Helper_script/Contributing/Developer_setup and let me know if you get stuck. |
how should I start after setting up the environment? |
I imagine you'd want to pick an easy issue from the list of issues, write a patch, test it using https://test.wikipedia.org/, then submit a pull request. |
Hey, can you suggest to me some beginner-friendly issues to work on?
…On Sun, Jan 16, 2022 at 4:22 PM NovemLinguae ***@***.***> wrote:
I imagine you'd want to pick an easy issue from the list of issues
<https://github.com/WPAFC/afch-rewrite/issues>, write a patch, test it
using https://test.wikipedia.org/, then submit a pull request
<https://www.google.com/search?q=how+to+submit+a+pull+request+on+github>.
—
Reply to this email directly, view it on GitHub
<#90 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASOF6GB4KUWK3EMQB35YAKLUWKPNZANCNFSM4EPAJS7A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Mentioned today by Mathglot at https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Articles_for_creation#Bug_in_AFCH_for_renamed_users |
Is #99 a duplicate of this issue? |
Mentioned today by Star Mississippi at https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Articles_for_creation#Script_question%2Fbug%3F |
Fixes wikimedia-gadgets#90 Advantages - Simpler than patch wikimedia-gadgets#291 - The original intent of the function notifyUser was to follow redirects, indicated by the comment "Follows redirects and appends a message to the bottom of the user's talk page." from 2014. So this fixes that bug. Disadvantages - Will only follow 1 redirect, not 2+ redirects. - The "Saved [[User talk:OldUsername]] (diff)" message shown to the AFC reviewer will be slightly incorrect. The diff will be correct, but OldUsername should ideally be NewUsername.
Fixes #90 Advantages - Simpler than patch #291 - The original intent of the function notifyUser was to follow redirects, indicated by the comment "Follows redirects and appends a message to the bottom of the user's talk page." from 2014. So this fixes that bug. Disadvantages - Will only follow 1 redirect, not 2+ redirects. - The "Saved [[User talk:OldUsername]] (diff)" message shown to the AFC reviewer will be slightly incorrect. The diff will be correct, but OldUsername should ideally be NewUsername.
* Recursively identify renamed username of submitter Fixes #90 * incorporate most code review suggestions * add comment --------- Co-authored-by: NovemLinguae <[email protected]>
These two patches did not fix the issue apparently. Steps to reproduce:
What happens? What should happen instead?
|
Will spin the bug out into its own ticket. #349 |
The script should not have made this edit, but instead should have followed the talk page redirect and left a message at the redirect target.
The text was updated successfully, but these errors were encountered: