Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F8783
bug32617.r104205.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 22 2014, 12:08 AM
2014-11-22 00:08:53 (UTC+0)
Size
614 B
Referenced Files
None
Subscribers
None
bug32617.r104205.patch
View Options
Index: includes/EditPage.php
===================================================================
--- includes/EditPage.php (revision 104205)
+++ includes/EditPage.php (working copy)
@@ -1717,10 +1717,10 @@
return false;
}
if ( $this->section != '' && $this->section != 'new' ) {
$matches = array();
if ( !$this->summary && !$this->preview && !$this->diff ) {
- preg_match( "/^(=+)(.+)\\1/mi", $this->textbox1, $matches );
+ preg_match( "/^(=+)(.+)\\1/si", $this->textbox1, $matches );
if ( !empty( $matches[2] ) ) {
global $wgParser;
$this->summary = "/* " .
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8298
Default Alt Text
bug32617.r104205.patch (614 B)
Attached To
Mode
T34617: Incorrect edit summary preloading when editing section 0
Attached
Detach File
Event Timeline
Log In to Comment