241663 added a comment.
Hello! I noticed spellcheck.py was missing from the current scripts folder, so I followed the link - https://phabricator.wikimedia.org/diffusion/PWBO/browse/master/spellcheck.py - provided in T236642 <https://phabricator.wikimedia.org/T236642> to find the original code. I have now ported the script to the Core branch, updating the Python2 code to Python 3 standards (including fixes like handeleArgs to handle_args, print " " to print (""), xrange to range, AttributeErrors etc.). Additionally, I implemented the feature requested in T57110 <https://phabricator.wikimedia.org/T57110> by adding a 'p' ( similar to q for quit) option to ignore a specific word for the rest of the page. I have uploaded the patch to Gerrit for review: https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1246857 As a newcomer, I’ve made as many changes and corrections as I could based on my current understanding of the codebase. I look forward to your feedback! TASK DETAIL https://phabricator.wikimedia.org/T57110 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
