Put section-edit-summary-title back into head branch for now.
This commit is contained in:
parent
830b3587ea
commit
f270618ee0
1 changed files with 6 additions and 0 deletions
|
|
@ -221,6 +221,12 @@ class EditPage {
|
|||
} else {
|
||||
$s.=wfMsg("sectionedit");
|
||||
}
|
||||
if(!$this->preview) {
|
||||
$sectitle=preg_match("/^=+(.*?)=+/mi",
|
||||
$this->textbox1,
|
||||
$matches);
|
||||
if($matches[1]) { $this->summary = "(".trim($matches[1]).")"; }
|
||||
}
|
||||
}
|
||||
$wgOut->setPageTitle( $s );
|
||||
if ( $this->oldid ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue