Page MenuHomePhabricator

{{Delete}} and #REDIRECT
Closed, DeclinedPublic

Description

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/817/
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:
https://sourceforge.net/p/pywikipediabot/bugs/817

Details

Reference
bz55316

Related Objects

StatusSubtypeAssignedTask
DeclinedNone
OpenNone

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 (????).

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

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

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.

Xqt subscribed.

This is a interwiki.py issue which is not used very often. Wait until there is still a problem with it.