Skip to content

Link to the deleted page upon which a G8-deleted redirect or talk page depended #2151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 10, 2025

Conversation

SilverLocust
Copy link
Contributor

@SilverLocust SilverLocust commented Jan 2, 2025

Change the edit summaries for batch deletions deletion summaries for associated redirects/talk pages to link to the deleted target/subject page (like [[WP:CSD#G8|G8]]: Redirect to deleted page [[Example]]), rather than the current plain text (like [[WP:CSD#G8|G8]]: Redirect to deleted page "Example"). This will make it noticeable in the deletion log when the other page has been recreated or undeleted, such that the batch-deleted redirect or talk page is no longer orphaned and could be undeleted.

changing <deleted page "' + apiobj.params.page + '"'> to <deleted page [[' + apiobj.params.page + ']]'> to show bluelink in logs if the other page is recreated/undeleted
@github-actions github-actions bot added the Module: batch The three batch modules and deprod label Jan 2, 2025
@siddharthvp
Copy link
Member

This seems like a good idea and I don't see the need to limit this to the batchdelete module. For consistency, you might want to make the same change in speedy and deprod modules as well.

Link to page upon which G8-deleted redirect/talk page depended
Link to deleted page upon which G8-deleted redirect/talk page depended.
@SilverLocust SilverLocust changed the title Link to the deleted page in batch deletions Link to the deleted page upon which a G8-deleted redirect or talk page depended Jan 9, 2025
@SilverLocust
Copy link
Contributor Author

Oh, you're correct. I was under a misimpression that "batchdelete" just referred to deleting associated redirects and talk pages. I'm not the most code-savvy Wikipedian.

@siddharthvp
Copy link
Member

Thanks!

@siddharthvp siddharthvp merged commit dac9b56 into wikimedia-gadgets:master Jan 10, 2025
1 check passed
@SilverLocust SilverLocust deleted the patch-1 branch January 11, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: batch The three batch modules and deprod Module: speedy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants