Last modified: 2006-06-23 18:25:15 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 T8415, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6415 - Newline character should have double quotes around it
Newline character should have double quotes around it
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-23 05:49 UTC by Ben White
Modified: 2006-06-23 18:25 UTC (History)
0 users

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


Attachments
changes single quotes to double quotes as described (716 bytes, patch)
2006-06-23 05:51 UTC, Ben White
Details

Description Ben White 2006-06-23 05:49:15 UTC
In Parser.php at line 2227 (1.6.7) / 2307 (1.7-svn), there is a newline
character (\n) with single quotes around it, when it should be double quotes.
The single quotes cause it to be interpreted as a literal backslash-n, and thus
the expression that depends on it always returns false, when it should return
true if it finds a newline.
Comment 1 Ben White 2006-06-23 05:51:20 UTC
Created attachment 2002 [details]
changes single quotes to double quotes as described

This patch fixes both REL1_6 and 1.7-svn.
Comment 2 Antoine "hashar" Musso (WMF) 2006-06-23 18:25:15 UTC
Commited in trunk (r14944) and 1.6 (r14945)

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


Navigation
Links