tweak to r32864 -- remove extra parameters from string replacement which were removed from captures
This commit is contained in:
parent
e5b76c3068
commit
0f49c7b259
1 changed files with 1 additions and 1 deletions
|
|
@ -544,7 +544,7 @@ class EditPage {
|
|||
$this->summary = $wgLang->truncate( $request->getText( 'wpSummary' ), 250 );
|
||||
|
||||
# Remove extra headings from summaries and new sections.
|
||||
$this->summary = preg_replace('/^\s*=+\s*(.*?)\s*=+\s*$/', '$1$2$3', $this->summary);
|
||||
$this->summary = preg_replace('/^\s*=+\s*(.*?)\s*=+\s*$/', '$1', $this->summary);
|
||||
|
||||
$this->edittime = $request->getVal( 'wpEdittime' );
|
||||
$this->starttime = $request->getVal( 'wpStarttime' );
|
||||
|
|
|
|||
Loading…
Reference in a new issue