Put section-edit-summary-title back into head branch for now.

This commit is contained in:
Brion Vibber 2004-03-20 01:18:19 +00:00
parent 830b3587ea
commit f270618ee0

View file

@ -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 ) {