Page MenuHomePhabricator

Log deletion taggings only once
Closed, DuplicatePublic

Description

Currently, when a page is tagged for deletion using the page curation toolbar, the tagging is logged in both the page curation log and the deletion tag log. But having duplicate log entries is confusing. In particular, when clicking the "View logs for this page" link from the history page, it is hard to tell which entry belongs to which log. To avoid duplicating the same information in 2 different places, tagging a page for deletion should only generate a deletion tagging entry in one of the logs. A maintenance script should also be created for cleaning up the other log, since the entries are redundant.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I suggest that instead the deletion log entries be only in the pagetriage-curation log.
Currently, the logs are:

PageTriage logs
"LogActionsHandlers": {
	"pagetriage-curation/reviewed": "LogFormatter",
	"pagetriage-curation/unreviewed": "LogFormatter",
	"pagetriage-curation/enqueue": "LogFormatter",
	"pagetriage-curation/tag": "MediaWiki\\Extension\\PageTriage\\PageTriageLogFormatter",
	"pagetriage-curation/delete": "MediaWiki\\Extension\\PageTriage\\PageTriageLogFormatter",
	"pagetriage-deletion/delete": "MediaWiki\\Extension\\PageTriage\\PageTriageLogFormatter",
	"pagetriage-copyvio/insert": "LogFormatter"
},

I don't thinks its reasonable to create 2 separate log types for just 1 action each (pagetriage-deletion/delete and pagetriagecopyvio/insert)

Suggestion:
Remove all pagetriage-deletion/delete log entries, and remove the log, as a duplicate of pagetriage-curation/delete
Migrate all pagetriage-copyvio/insert log entries to pagetriage-curation/copyvio, to consolidate everything into 1 log

My proposal above can be split into 2 parts - the (more) straightforward removal of the deletion log, and the less clear migration of the copyright log entries before removing that log

DannyS712 renamed this task from Log deletion taggings only in the deletion tag log to Log deletion taggings only once.Nov 1 2019, 8:29 PM
DannyS712 updated the task description. (Show Details)