Page MenuHomePhabricator

Nuke should be capable of deleting pages which have been moved
Closed, ResolvedPublic

Description

When a page has been moved, Nuke lists+deletes only the original name (now containing only the redirect), keeping the real content intact. It is probably related to the fact moved pages are not listed on Special:Newpages either.


Version: unspecified
Severity: normal

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:12 AM
bzimport set Reference to bz41351.
bzimport added a subscriber: Unknown Object (MLST).

This would be solved by using the revision table as T33858 proposes

Or by tracking pageid instead of title?

Change 811669 had a related patch set uploaded (by A2093064; author: A2093064):

[mediawiki/extensions/Nuke@master] Query current page name for moved pages

https://gerrit.wikimedia.org/r/811669

Chlod subscribed.

I've updated Xiplus' patch to work on the latest revision of Nuke for Wikimedia-Hackathon-2024. Nuke was migrated to query builder some time ago so I've changed it up to use that.

Change #811669 merged by jenkins-bot:

[mediawiki/extensions/Nuke@master] Query current page name for moved pages

https://gerrit.wikimedia.org/r/811669

Samwalton9-WMF subscribed.

I think this is worth putting in Tech News:

Nuke will now correctly delete pages which were moved to another title.

I think this is worth putting in Tech News:

Nuke will now correctly delete pages which were moved to another title.

Sounds good!

I did notice something while I was testing this on enbetawiki: redirects created from page moves don't seem to be detected by Nuke (see screenshot). This sounds like T46318, but the text of that task makes me think it means something else. Should this be filed as a new task?

Screenshot_26.png (193×700 px, 18 KB)

I think this is worth putting in Tech News:

Nuke will now correctly delete pages which were moved to another title.

Sounds good!

I did notice something while I was testing this on enbetawiki: redirects created from page moves don't seem to be detected by Nuke (see screenshot). This sounds like T46318, but the text of that task makes me think it means something else. Should this be filed as a new task?

Screenshot_26.png (193×700 px, 18 KB)

Good catch! Yeah I think this is basically covered by T46318 (which should probably be split into two tickets - subpages and redirects)

Putting this on our board so we remember to close it out once it's live.

I think this is worth putting in Tech News:

Nuke will now correctly delete pages which were moved to another title.

Thanks for the draft! I suggest tweaking it to something like this (assuming it's still accurate):

The Nuke feature, which enables administrators to mass delete pages, will now correctly delete pages which were moved to another title, along with their redirect.

Please edit that further, if needed.
Please also either comment here when it's ready to be announced, or add it to the next edition directly at that time. Thanks!

I think this is worth putting in Tech News:

Nuke will now correctly delete pages which were moved to another title.

Thanks for the draft! I suggest tweaking it to something like this (assuming it's still accurate):

The Nuke feature, which enables administrators to mass delete pages, will now correctly delete pages which were moved to another title, along with their redirect.

Please edit that further, if needed.
Please also either comment here when it's ready to be announced, or add it to the next edition directly at that time. Thanks!

Added!