위키를 편집할 때 편집 1회가 2회로 계산됩니다

When editing a wiki topic, the edit history notification counts 2 edits. The first edit shows nothing and the second one shows the exact edit and its reasoning.

First issue

The first issue is the one mentioned above


Second issue

When editing a title not from the pencil next to the title, but from the wiki edit, 2 notifications appear again. One notification for the title and one for the reasoning (:information_source:).

Example: I want to change the title but simultaneously let everyone know why I have changed the title. That doesn’t work though, because there are 2 different notifications and not one including everything.


I think that all the edits should appear in one history edit notification and not 2 separate ones. Again, I am not sure if it’s something expected…

2개의 좋아요

Can we repro this on Monday @osioke?

4개의 좋아요

this happens for all the posts, not only wikis. and as far as I know, it only happens when an edit takes long time to be done. i.e. when you press the edit button, and do edits, and it takes longer than 5-10 min, then you finalize the changes.

3개의 좋아요

I couldn’t repro this:

@Thomas_G can you share a screencast/video of your repro?

I could repro this consistently. Editing a wiki post title with a reason for the edit creates 2 edit notification, one for the reasoning and the other for the edit:

Before the title edit:

After the title edit:

3개의 좋아요

@osioke - Sure thing:

2개의 좋아요

Probably a bug we should assign @eviltrout?

4개의 좋아요

Hmm, it looks like the JS client is actually submitting two updates here. The edit reason being included means that the server isn’t allowed to coalesce them, so it creates two revisions instead.

5개의 좋아요

Fun bonus bug:

  • Edit a post and the title with a reason. (#6)
  • Edit just the title with a different reason. (#7)

The title change from #7 got attached to revision #6. Revision #7 was created with just the reason and no other changes.

6개의 좋아요

This would be a great one to fix @riking as it has been a pernicious thorn in our side :clap:

8개의 좋아요

PS: When editing the title, the edit history works fine. The problem is everything else :joy:

3개의 좋아요

No worries Thomas, @riking is still on this, the fix requires some deeper digging.

6개의 좋아요