jayvdb added a subscriber: jayvdb. jayvdb added a comment.
IMO this should be a Page method, (probably not Page.isRedirect as that would create new bugs) which should check for templates which indicate the page is a fictitious redirect, including soft redirects.
API calls would still filter strictly on the database 'is redirect' flag, but scripts should start to use the new method to also check they are not about to modify a page which is effectively a redirect, but either temporarily isnt due to CSD, RFD, etc. or permanently isnt due to being a soft redirect.
TASK DETAIL https://phabricator.wikimedia.org/T57316
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb Cc: pywikipedia-bugs, Ladsgroup, Legoktm, jayvdb