Page MenuHomePhabricator

page-links-change stream is firing events related to transcluded template caches
Open, NormalPublic

Description

The EventStream appears to be firing events related to template cache updates and assigning them to the last editor to make an edit to the page, implying that an editor made an edit which added or removed links when all that happened was a template update propagated to a page.

One such example is below:

event: message
id: [{"topic":"eqiad.mediawiki.page-links-change","partition":0,"timestamp":1550573806001},{"offset":-1,"partition":0,"topic":"codfw.mediawiki.page-links-change"}]
data: {"added_links":[{"external":false,"link":"/wiki/Edge_(video_game)"},{"external":false,"link":"/wiki/Talk:Edge_(video_game)/GA1"}],"database":"enwiki","meta":{"domain":"en.wikipedia.org","dt":"2019-02-19T10:56:46+00:00","id":"0c8d2b30-3435-11e9-b0e4-1866da993d2e","request_id":"XGl-pQpAAEIAAA4B8rcAAACJ","schema_uri":"mediawiki/page/links-change/1","topic":"eqiad.mediawiki.page-links-change","uri":"https://en.wikipedia.org/wiki/Talk:Tampon_Run","partition":0,"offset":5705026},"page_id":45403409,"page_is_redirect":false,"page_namespace":1,"page_title":"Talk:Tampon_Run","performer":{"user_edit_count":20912,"user_groups":["abusefilter","sysop","*","user","autoconfirmed"],"user_id":15991542,"user_is_bot":false,"user_registration_dt":"2011-12-29T02:44:39Z","user_text":"Samwalton9"},"removed_links":[{"external":false,"link":"/wiki/Amy_Rose"},{"external":false,"link":"/wiki/Deus_Ex:_Mankind_Divided"},{"external":false,"link":"/wiki/List_of_Sonic_the_Hedgehog_characters"},{"external":false,"link":"/wiki/Talk:Deus_Ex:_Mankind_Divided/GA1"},{"external":false,"link":"/wiki/Talk:List_of_Sonic_the_Hedgehog_characters"}],"rev_id":648195620}

This event relates to a page I created (https://en.wikipedia.org/wiki/Talk:Tampon_Run), but it has received no edits since 2015. The rev_id relates to the last edit I made there (https://en.wikipedia.org/w/index.php?diff=648195620). There are no RecentChangesLinked for that timestamp, and a cursory glance through RecentChanges didn't find anything around that timestamp that would correspond to the edit. I take it, therefore, that this has something to do with the cache of the WikiProject:Video games template on that page. Indeed, some of the data in that event corresponds to a recent edit to Template:WPVG announcements, which is transcluded in the WP:VG banner (https://en.wikipedia.org/w/index.php?title=Template%3AWPVG_announcements&type=revision&diff=883776243&oldid=882982540).

I haven't yet been able to reproduce an event like this in my sandbox.

EDIT: Just had another one of those events show up. I purged the cache on this page a few minutes ago attempting to reproduce the event above on a different (similarly low traffic) page. Again, the rev_id corresponds to my last edit to the page (https://en.wikipedia.org/w/index.php?diff=655548868):

{'added_links': [{'external': False, 'link': '/wiki/Edge_(video_game)'}, {'external': False, 'link': '/wiki/Talk:Edge_(video_game)/GA1'}], 'database': 'enwiki', 'meta': {'domain': 'en.wikipedia.org', 'dt': '2019-02-19T11:20:48+00:00', 'id': '680cfb1a-3438-11e9-b6ea-1866da994975', 'request_id': 'XGl-pQpAAEIAAA4B8rcAAACJ', 'schema_uri': 'mediawiki/page/links-change/1', 'topic': 'eqiad.mediawiki.page-links-change', 'uri': 'https://en.wikipedia.org/wiki/Talk:Robot_Roller-Derby_Disco_Dodgeball', 'partition': 0, 'offset': 5723202}, 'page_id': 46354530, 'page_is_redirect': False, 'page_namespace': 1, 'page_title': 'Talk:Robot_Roller-Derby_Disco_Dodgeball', 'performer': {'user_edit_count': 20917, 'user_groups': ['abusefilter', 'sysop', '*', 'user', 'autoconfirmed'], 'user_id': 15991542, 'user_is_bot': False, 'user_registration_dt': '2011-12-29T02:44:39Z', 'user_text': 'Samwalton9'}, 'removed_links': [{'external': False, 'link': '/wiki/Amy_Rose'}, {'external': False, 'link': '/wiki/Deus_Ex:_Mankind_Divided'}, {'external': False, 'link': '/wiki/List_of_Sonic_the_Hedgehog_characters'}, {'external': False, 'link': '/wiki/Talk:Deus_Ex:_Mankind_Divided/GA1'}, {'external': False, 'link': '/wiki/Talk:List_of_Sonic_the_Hedgehog_characters'}], 'rev_id': 655548868}

Event Timeline

Samwalton9 triaged this task as Normal priority.
Samwalton9 updated the task description. (Show Details)Feb 19 2019, 5:23 PM
Samwalton9 updated the task description. (Show Details)Feb 21 2019, 3:58 PM
awight removed a subscriber: awight.Mar 21 2019, 4:06 PM
Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptMar 21 2019, 4:06 PM
bmansurov removed bmansurov as the assignee of this task.Tue, Apr 9, 3:01 PM

No bandwidth to work on this task.