Last modified: 2010-05-15 15:48:32 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 T10874, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8874 - only a "-" with no (CR)LF
only a "-" with no (CR)LF
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
PC Linux
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-02-04 16:49 UTC by Dan Jacobson
Modified: 2010-05-15 15:48 UTC (History)
0 users

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


Description Dan Jacobson 2007-02-04 16:49:58 UTC
Boy are you strict when a page needs just a "-" to do its special thing.

E.g., MediaWiki:Privacy. Only one byte allowed. No LF or CRLF or else
it becomes an embarrassing mess on the screen.

Not all environments/situations are sure to support producing
unterminated lines, so don't be so strict.
Comment 1 Brion Vibber 2007-02-04 17:05:23 UTC
Final whitespace is stripped from pages, so you have to *really* go out of your
way to produce such (eg invalid input and breaking the code).
Comment 2 Dan Jacobson 2007-02-08 23:31:23 UTC
Well importTextFile.php, which is what I use, preserves whitespace.

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