Page MenuHomePhabricator

Tag page creations of previously deleted pages
Open, MediumPublic5 Estimated Story PointsFeature

Description

There are many times where knowing that a newly created page was previously deleted is beneficial to Wikipedia editors, but finding out this information is currently a multi-step process.

We could add a new tag in the page creation log for page creations which are made at a title which was previously deleted.

The original request at this ticket was for a 'Recreated pages' Special page, but if we add a tag, Special:NewPages basically becomes this, because users can simply filter for this tag.

This feature was implemented in PageTriage (English Wikipedia-only) in T189929 - if we implemented a tag, that code could probably be removed from this software and centralised in core. T382067 filed to track this work.

Community wishlist proposal: https://meta.wikimedia.org/wiki/Community_Wishlist/Wishes/Mark_pages_recreated_at_the_already_deleted_title

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM

It sounds like an actionable ask here could be a Tag that is added to a newly created page when the page had previously been deleted?

It looks like this feature was added as part of PageTriage in T189929.

Seems like T22892 is a related proposal to achieve this functionality via AbuseFilter, but it seems to me that a tag created by MediaWiki could be a better option, alongside other core tags.

Samwalton9-WMF renamed this task from Add a "Recreated pages" Special page to Tag page creations of previously deleted pages.Nov 7 2024, 5:46 PM
Samwalton9-WMF raised the priority of this task from Low to Needs Triage.
Samwalton9-WMF updated the task description. (Show Details)
Samwalton9-WMF updated the task description. (Show Details)
Samwalton9-WMF removed a subscriber: Philippe-WMF.
Samwalton9-WMF added subscribers: Nemoralis, Pppery, Ebrahim.

Tagging @Nemoralis, @Ebrahim and @Pppery who were subscribed to T371302. What do you think about the idea I've sketched in the task description?

Seems reasonable to me

Adding a change tag would display everywhere and not just in recent changes/new pages, so removing that component.

Change #1091761 had a related patch set uploaded (by Kgraessle; author: Kgraessle):

[mediawiki/core@master] Tag page creations of previously deleted page

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

There is still some outstanding code review questions, but I wanted to get some feedback around creating a store to query the log table.

Test wiki created on Patch demo by Samwalton9 (WMF) using patch(es) linked to this task:
http://patchdemo.wmcloud.org/wikis/8e1276296b/w/

This looks good! The tag shows up in Recent changes:

Screenshot 2024-12-11 at 09.22.10.png (184×1 px, 64 KB)

And the page creation log:

Screenshot 2024-12-11 at 09.22.48.png (278×1 px, 106 KB)

It can be filtered for in both venues.

Additionally it displays as expected in the page history and user contributions, and on Special:Tags.

Change #1091761 merged by jenkins-bot:

[mediawiki/core@master] Tag page creations of previously deleted page

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

Great!
Draft for User-notice:

When a page is created with the same title as a page which was previously deleted, a tag ('Recreated') will now be added, which users can filter for in [[Special:RecentChanges]] and [[Special:NewPages]].

Change #1111686 had a related patch set uploaded (by Kgraessle; author: Kgraessle):

[mediawiki/core@master] Tag page creations of previously deleted pages - add to release notes

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