Skip to content

Some conversations have multiple actions with no parent #24

@iislucas

Description

@iislucas

In particular, there's about 1% of comments that have a section heading introduction at the same time as a comment addition (same revision & timestamp, but separated into 2 actions), e.g.

{  
   "96983583.202.24":{  
      "id":"96983583.202.24",
      "comment_type":"COMMENT_ADDING",
      "content":" From the other notes from other Wikipedia notes, I'm not the only one who questions your judgment.",
      "timestamp":"2006-12-28 19:35:53 UTC",
      "status":"just added",
      "page_title":"User talk:Jinxmchue",
      "user_text":"Sotaman",
      "parent_id":""
   },
   "96983583.24.24":{  
      "id":"96983583.24.24",
      "comment_type":"SECTION_CREATION",
      "content":" ==Bluffs? You see bluffs? I'll call your bluff==",
      "timestamp":"2006-12-28 19:35:53 UTC",
      "status":"just added",
      "page_title":"User talk:Jinxmchue",
      "user_text":"Sotaman",
      "parent_id":""
   },
   "96983583.48.24":{  
      "id":"96983583.48.24",
      "comment_type":"COMMENT_ADDING",
      "content":" Here, visit this link: [EXTERNA_LINK: http://images.google.com/images?q=bluffs&ie;=UTF-8&oe;=UTF-8&rls;=org.mozilla:en-US:official&client;=firefox-a&sa;=N&tab;=wi] Then tell me you see bluffs around Montevideo, much less (as you earlier characterized them) \"spectacular\" bluffs. Sorry if my standards for geographical features are a bit higher than what's seen in your minds eye.",
      "timestamp":"2006-12-28 19:35:53 UTC",
      "status":"just added",
      "page_title":"User talk:Jinxmchue",
      "user_text":"Sotaman",
      "parent_id":"96983583.24.24"
   },
   "97139226.240.240":{  
      "id":"97139226.240.240",
      "comment_type":"COMMENT_ADDING",
      "content":" :Higher?  More like narrower.  Bluffs are not just sheer cliffs.  As I said, check the dictionary.",
      "timestamp":"2006-12-29 14:41:34 UTC",
      "status":"just added",
      "page_title":"User talk:Jinxmchue",
      "user_text":"Jinxmchue",
      "parent_id":"96983583.202.24"
   }
},

We now handle this in the JS by inferring who should be the parent, but we might want to consider doing this in the python in future.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions