Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -544,7 +544,7 @@ |
545 | 545 | $this->summary = $wgLang->truncate( $request->getText( 'wpSummary' ), 250 ); |
546 | 546 | |
547 | 547 | # Remove extra headings from summaries and new sections. |
548 | | - $this->summary = preg_replace('/^\s*=+\s*(.*?)\s*=+\s*$/', '$1$2$3', $this->summary); |
| 548 | + $this->summary = preg_replace('/^\s*=+\s*(.*?)\s*=+\s*$/', '$1', $this->summary); |
549 | 549 | |
550 | 550 | $this->edittime = $request->getVal( 'wpEdittime' ); |
551 | 551 | $this->starttime = $request->getVal( 'wpStarttime' ); |