Page MenuHomePhabricator

{{Delete}} and #REDIRECT
Open, LowestPublic


Originally from:
Reported by: jandudik
Created on: 2008-11-14 14:03:58
Subject: {{Delete}} and #REDIRECT
Original description:
There is some bug: redirect which contains \{\{delete\}\} template is counted as new possibility and causes bot to skip interwiki or to report page without interwiki.

I think, the best would be:

\[\[Article\]\] is marked for deleting: skipping

Version: unspecified
Severity: normal
See Also:



Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 2:33 AM
bzimport set Reference to bz55316.
bzimport added a subscriber: Unknown Object (????).
Legoktm created this task.Oct 5 2013, 5:04 AM

Is this still valid and if so can someone provide a greater explanation of the issue.

  • priority: 5 --> 2

I guess this is still valid. It depends on the way \{\{delete\}\} templates are placed on the redirect. If it is in fron of the \#redirect tag that page is no longer recognized as a redirect page and pywikibot.Page.isredirect\(\) returns False.

I was able to reproduce it in wiktionary, put on the lowest based on really low frequency of happening

jayvdb added a subscriber: jayvdb.Dec 5 2014, 7:47 AM

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.

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 19 2015, 12:41 AM
Restricted Application added subscribers: Liuxinyu970226, Cyberpower678. · View Herald TranscriptMar 23 2019, 10:18 PM