Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -557,7 +557,7 @@ |
558 | 558 | } |
559 | 559 | |
560 | 560 | # Truncate for whole multibyte characters. +5 bytes for ellipsis |
561 | | - $this->summary = $wgLang->truncate( $request->getText( 'wpSummary' ), 250, '' ); |
| 561 | + $this->summary = $wgLang->truncate( $request->getText( 'wpSummary' ), 250 ); |
562 | 562 | |
563 | 563 | # Remove extra headings from summaries and new sections. |
564 | 564 | $this->summary = preg_replace('/^\s*=+\s*(.*?)\s*=+\s*$/', '$1', $this->summary); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -61,6 +61,7 @@ |
62 | 62 | * (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected |
63 | 63 | pages to be queried via the API and Special:ProtectedPages, and allowing |
64 | 64 | disabling upload protection by removing it from $wgRestrictionTypes. |
| 65 | +* If an edit summary exceeds 250 bytes and is truncated, add an ellipse |
65 | 66 | |
66 | 67 | === API changes in 1.18 === |
67 | 68 | * (bug 26339) Throw warning when truncating an overlarge API result |