Page MenuHomePhabricator

VisualEditor events for PDF metadata scraping feature (L)
Closed, DeclinedPublic

Description

Context

To be able to track usage of the new PDF feature in the Citoid service, and test assumptions we will need further instrumentation in VE. We need to be able to connect general citation events, such as 'Insert', 'Edit', 'Apply changes' to the activity of adding a PDF URL into the auto ref maker.

Metrics
assumptiontracking
Imperfect citations are better than noneHow often do automatically generated citations from PDF URLs lead to a successful/unsuccessful insertion into the article (do not consider subsequent deletions upon an insertion event)? add pdf url -> genereate -> insert -> done
Contributors accept imperfectly generated citations and are kean on improving them by editing themHow often do automatically generated citation from PDF URLs lead to a sucessful insertion followed by an edit to the citation? add pdf url -> genereate -> insert -> edit -> apply changes
Notes

Other tracking will happen in Citoid's logstash and is already avaialble, there will will want to monitor:

  • A reduction in the number of status code 200 with a log level WARNING.
  • Tracking the number of times a citation is added manually via 'Add manually'.
Depends on

T427604: 1️⃣ Enable Citoid to read PDF Metadata (MVP version)

Event Timeline

WMDE-Fisch renamed this task from VisualEditor events for PDF feature to VisualEditor events for PDF metadata scraping feature.Aug 10 2026, 9:50 AM
WMDE-Fisch updated the task description. (Show Details)
WMDE-Fisch updated the task description. (Show Details)

Sorry I totally confused this ticket with something else. I'm creating a new one with what I had in mind here. 🤦 - This ticket is really about _after_ PDF metadata scraping ... as stated several times here.

MareikeHeuerWMDE renamed this task from VisualEditor events for PDF metadata scraping feature to VisualEditor events for PDF metadata scraping feature (L).Aug 21 2026, 8:05 AM

During our investigation around the availability of PDF metadata in from of PDF properties we realized that the PDF file metadata is not useful in the vast majority of the cases. It's either missing, incomplete or polluted with information that will not lead to valuable citations. So we're moving away of extracting that kind of data from PDF files. Other approaches are currently under investigation.

Other metrics are implemented in T442557: Add tracking for inserted PDF Webpage citations (M)