Last modified: 2006-06-23 18:25:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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