Page MenuHomePhabricator

Normal looking Draft page is over 500k bytes after a one-line edit
Closed, InvalidPublic

Description

I was looking at https://en.wikipedia.org/wiki/Wikipedia:Database_reports/Long_pages/Draft and came across Draft:PromptArmor, which didn't look like the 574,376 bytes the database reported it should be. The page information view also claims the page to be this size, despite only being a few paragraphs long.

Even weirder, in the page history, it seems like there's a single edit which resulted in a +546,000 bytes change, but all the edit did was to move {{reflist}} up a single line.

When looking at the page source I can't see any reason for the page to be this large. And it seems to actually be this large because it takes a long time for it to load, at least on my computer.

Event Timeline

I copied the page contents to my userspace and it again resulted in a >500k bytes page: https://en.wikipedia.org/w/index.php?title=User:Samwalton9/bytes_test&action=history

Moving the reflist back down one line accomplished nothing.

Ah, we discovered the culprit, it was a huge amount of invisible whitespace. Removed in https://en.wikipedia.org/w/index.php?title=Draft%3APromptArmor&diff=1285196410&oldid=1285196030. It would be nice if the Diff showed that content, because it was entirely undetectable to me by looking at the diff.

Samwalton9 claimed this task.
Aklapper changed the task status from Resolved to Invalid.Apr 12 2025, 8:26 AM
Aklapper removed Samwalton9 as the assignee of this task.

Not resolved