dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc8ac41
)
Remove recently-added insert-section-title-as-summary on section edit.
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 19 Mar 2004 22:35:46 +0000
(22:35 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 19 Mar 2004 22:35:46 +0000
(22:35 +0000)
There have been a number of complaints about this being slipped onto
the live Wikipedia, particularly to the effect that it discourages
people from filling out an actual edit summary that describes what
they wrote.
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
a568419
..
c659e6e
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-221,12
+221,6
@@
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 ) {