Last modified: 2011-01-07 21:49:58 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 T27101, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25101 - Trim comments before saving
Trim comments before saving
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CodeReview (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.mediawiki.org/wiki/Special...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-08 17:58 UTC by Chad H.
Modified: 2011-01-07 21:49 UTC (History)
2 users (show)

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


Attachments

Description Chad H. 2010-09-08 17:58:09 UTC
See URL. Comments aren't getting trimmed after posting, so whitespace-only comments are being saved.

Should fix this :)
Comment 1 Sam Reed (reedy) 2010-09-09 04:11:15 UTC
r72626

Trim all trailing/leading whitespace and then check it's length
Comment 2 Brion Vibber 2011-01-07 21:49:58 UTC
r72626 caused a regression, noted in bug 26619.

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


Navigation
Links