On Monday, June 4, 2018, Daniel Kinzler <daniel.kinz...@wikimedia.de> wrote:
> Am 04.06.2018 um 20:54 schrieb Leon Ziemba:
>>> ... the size differences shown on the history and contributions pages,
>> which is the only thing that rev_parent_id is used for
>>
>> This may be true in MediaWiki but not so much for external tools. I just
>> wanted to preemptively say this. I'll be joining the IRC discussion to
>> share more :)
>
> Excellent, thank you! It would be particularly interesting to know what
> assumptions you make about the semantics of rev_parent_id. E.g. there are
three
> revisions, A, B, and C, and revision B gets romoved - what should
revision C's
> parent be?
>
> Similarly, when revision X gets imported and inserted between A and B,
what
> should revision B's parent be?
>
> --
> Daniel Kinzler
> Principal Platform Engineer
>
> Wikimedia Deutschland
> Gesellschaft zur Förderung Freien Wissens e.V.
>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

I think in such a case, revision C's parent should benull or 0. Similarly
for revision X.

I dont view the parent as what revision came first but what revision was
edited to make this revision (i.e. where the current revision was "forked"
off from)
--
Brian
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to