Page MenuHomePhabricator

EditCheck may not be detecting all of the refs that are being added
Open, Needs TriagePublic

Description

These three articles were created with refs in the first version, but they didn't appear in RecentChanges when I searched for page creations with the #editcheck-newreference tag.

My goal, BTW, was to figure out how many articles are being created with refs in the first version. This tag only works for edits in the visual editor (which makes it difficult to get an overall idea), and if it's under-counting them, then I probably can't do it at all.

Event Timeline

Testing locally, the tag is added when I create a new article, and on live there are many page creations getting tagged: https://en.wikipedia.org/wiki/Special:RecentChanges?hidebots=1&hidepageedits=1&hidecategorization=1&hideWikibase=1&tagfilter=editcheck-newreference&limit=500&days=30&urlversion=2

I did notice that if I recover the document with auto-save after adding the reference, the detection doesn't work (as the "intial number of references" count is off), so that may account for a small number of missing tags.

At the moment we only have one hook that runs when the target loads on all platforms (activationComplete), and that runs after auto-save has been restored.