Index: trunk/phase3/CREDITS |
— | — | @@ -70,6 +70,7 @@ |
71 | 71 | * Marooned |
72 | 72 | * Max Semenik |
73 | 73 | * Michael De La Rue |
| 74 | +* Michael Walsh |
74 | 75 | * Mike Horvath |
75 | 76 | * Mormegil |
76 | 77 | * Nakon |
Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -4543,7 +4543,11 @@ |
4544 | 4544 | // Output the replacement text |
4545 | 4545 | // Add two newlines on -- trailing whitespace in $newText is conventionally |
4546 | 4546 | // stripped by the editor, so we need both newlines to restore the paragraph gap |
4547 | | - $outText .= $newText . "\n\n"; |
| 4547 | + // Only add trailing whitespace if there is newText |
| 4548 | + if($newText != "") { |
| 4549 | + $outText .= $newText . "\n\n"; |
| 4550 | + } |
| 4551 | + |
4548 | 4552 | while ( $node ) { |
4549 | 4553 | $outText .= $frame->expand( $node, PPFrame::RECOVER_ORIG ); |
4550 | 4554 | $node = $node->getNextSibling(); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -127,6 +127,7 @@ |
128 | 128 | * (bug 17146) Fix for UTF-8 and short word search for some possible MySQL configs |
129 | 129 | * (bug 7480) Internationalize database error message |
130 | 130 | * (bug 16555) Number of links to mediawiki.org scaled back on post-installation |
| 131 | +* (bug 14938) Removing a section no longer leaves excess whitespace |
131 | 132 | |
132 | 133 | == API changes in 1.15 == |
133 | 134 | * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions |