r101283 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r101282
|
r101283
|
r101284
>
Date:
21:13, 29 October 2011
Author:
platonides
Status:
deferred
Tags:
Comment:
Revert
r87211
as
r86072
which it was mimicking was also reverted in
r96887
.
Now it passes its tests again.
I'm not reverting
r87214
although it seems it may be useless now.
Modified paths:
/trunk/extensions/NativePreprocessor/preprocesstoobj.c
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/NativePreprocessor/preprocesstoobj.c
—
—
@@ -573,7 +573,7 @@
574
574
if ( count >= rulemin ) {
575
575
// Add it to the stack
576
576
addNodeWithTags( found, count );
577
- parentNode->flags = (i == 0 || text[i-1] == '\n') /* lineStart boolean */;
577
+ parentNode->flags = (i > 0 && text[i-1] == '\n') /* lineStart boolean */;
578
578
/* close char does not need to be stored per Known rules */
579
579
parentNode->count = count;
580
580
parentNode->argIndex = 0;
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r86072
Followup to
r86064
(List with double line-breaks inside tables). Also contain...
diebuche
19:28, 14 April 2011
r87211
Update to incorporate the Preprocessor change of
r86072
of what is a lineStart
platonides
19:39, 1 May 2011
r87214
Follow up
r87211
, update the unserializeNode() and fix flag resetting which w...
platonides
20:35, 1 May 2011
r96887
Reverted
r86072
,
r86419
per CR. Lots of conflicts resolved here. Removes line...
aaron
19:16, 12 September 2011
Status & tagging log
15:25, 14 January 2012
Siebrand
(
talk
|
contribs
)
changed the
tags
for r101283
[
removed:
miscextensions]
16:30, 6 January 2012
Reedy
(
talk
|
contribs
)
changed the
status
of r101283
[
removed:
new
added:
deferred]
06:19, 5 January 2012
RobLa-WMF
(
talk
|
contribs
)
changed the
tags
for r101283
[
added:
miscextensions]