Last modified: 2013-12-07 21:02:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31575, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29575 - Handle summaries consisting of whitespace only consistently in contributions/history <-> watchlist/recent changes
Handle summaries consisting of whitespace only consistently in contributions/...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.17.x
All All
: Low trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-25 08:20 UTC by Michael M.
Modified: 2013-12-07 21:02 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Michael M. 2011-06-25 08:20:30 UTC
If you enter just a space as summary for an edit this is handled inconsistently in different places:

In the user contributions and the page history the summary doesn't show up, there are no parentheses as for non-empty summaries. This is the behavior which is correct in my eyes.

In the watchlist and the recent changes the whitespace-summary is shown: There are parentheses with a space between them, which looks a bit ugly.

At least the summary should be treated the same in every place.
Comment 1 Mark A. Hershberger 2012-05-28 17:56:42 UTC
Lowering priority on high priority bugs that have a low severity
Comment 2 Umherirrender 2013-03-16 21:04:48 UTC
With Gerrit change #36359 more summaries are trimmed before saving to database, that means summaries with spaces will roll out of the recentchanges table and the differences are not seen anymore. Feel free to mark as fixed, if you think, that is enough.
Comment 3 Andre Klapper 2013-03-17 23:49:03 UTC
Michael: Is the patch mentioned in comment 2 sufficient?
Comment 4 Michael M. 2013-03-25 09:19:57 UTC
I used a space as summary to supress auto-summaries and warnings about missing summaries. If I understand the patch correctly, it removes this behavior, i.e. a space as summary will cause an autosummary/warning. If I'm the only one who used this, then it's ok for me, but if there are other users who used a space as summary for this, trimming the summary before everything else isn't the best way to do it.
Comment 5 Umherirrender 2013-03-25 19:36:02 UTC
Works for me, since Gerrit change #49483 the whitespace is stripped only on save, not on preview/show changes, and that is after forceeditsummary.
Comment 6 Michael M. 2013-04-10 10:48:52 UTC
(In reply to comment #3)
> Michael: Is the patch mentioned in comment 2 sufficient?

Yes, closing as fixed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links