Page MenuHomePhabricator

bug32617.r104205.patch

Authored By
bzimport
Nov 22 2014, 12:08 AM
Size
614 B
Referenced Files
None
Subscribers
None

bug32617.r104205.patch

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

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8298
Default Alt Text
bug32617.r104205.patch (614 B)

Event Timeline