Page MenuHomePhabricator

Deletion summary in Special:RecentChanges is formatted incorrectly
Open, MediumPublic

Assigned To
None
Authored By
Kizule
Apr 15 2020, 6:33 PM
Referenced Files
F31760397: IMG_8882.PNG
Apr 16 2020, 11:16 PM
F31760341: IMG_8885.PNG
Apr 16 2020, 11:16 PM
F31760399: IMG_8883.PNG
Apr 16 2020, 11:16 PM
F31760389: IMG_8886.PNG
Apr 16 2020, 11:16 PM
F31758099: image.png
Apr 15 2020, 6:45 PM
F31758080: Screenshot_20200415_202955_com.android.chrome.jpg
Apr 15 2020, 6:33 PM
F31758074: Screenshot_20200415_202946_com.android.chrome.jpg
Apr 15 2020, 6:33 PM

Description

When administrator delete page and reason for deletion is very big, content goes out. See F31758074.

It isn't case with edit summary. See F31758080.

I found this bug on srwiki, for others I'm not sure. Also, I have AMC enabled.


Details about device:

  • Device: Honor 8A
  • Operating system: Android 9
  • Browser: Chrome 80.0.3987.162

Event Timeline

Restricted Application added subscribers: Petar.petkovic, Aklapper. · View Herald Transcript

On PC with enabled "mobile version" of site, looks good. Screenshot: F31758099.

This is issue on mobile devices, not on PC.

When administrator delete page and reason for deletion is very big, content goes out. See F31758074.

@Zoranzoki21: I don't think this has anything to do with "very big". Did you try with a long reason for deletion which includes whitespaces between words?

It isn't case with edit summary. See F31758080.

@Zoranzoki21: That screenshot shows no edit summary with many characters and no whitespaces in-between, so I don't know why you state "it isn't the case"?

I did some additional testing

  • enabling AMC does not have any effect on the display of super long entries
  • the text field for entering the reason for deletion (on Deletion log does not have maxlength restriction, so any amount of text can be entered there.

However, super long text if properly formatted (words separated by white spaces) will be displayed correctly:

IMG_8885.PNG (1×640 px, 147 KB)

  • the issue is present for Edit summary on Special:RecentChanges if the text does not have white spaces
    IMG_8886.PNG (1×640 px, 132 KB)
  • on the other hand, Deletion log does not have the issue. RecentChanges will display the issue even with the option "Use non-JavaScript interface".

Compare:

RecentChangesDeletion log
IMG_8882.PNG (1×640 px, 154 KB)
IMG_8883.PNG (1×640 px, 162 KB)

Thanks @Etonkovidova for testing this. You done it much better than me. I can tell you only to I agree with all above you wrote.

And I have question, should we remove AMC tag if this isn't issue with it?

@Zoranzoki21 yes, Advanced Mobile Contributions can be removed for this task - thanks!

ovasileva triaged this task as Medium priority.Apr 28 2020, 4:14 PM
ovasileva added a project: Web-Team-Backlog.
ovasileva moved this task from Incoming to Triaged but Future on the Web-Team-Backlog board.
1234qwer1234qwer4 renamed this task from Deletion summary in Special:RecentChanges is shown incorrectly to Deletion summary in Special:RecentChanges is formatted incorrectly.Sep 20 2021, 10:01 PM