Page MenuHomePhabricator

2084.diff

Authored By
bzimport
Nov 21 2014, 8:27 PM
Size
554 B
Referenced Files
None
Subscribers
None

2084.diff

Index: Title.php
===================================================================
--- Title.php (révision 31994)
+++ Title.php (copie de travail)
@@ -288,7 +288,7 @@
if( $redir->matchStart( trim($text) ) ) {
// Extract the first link and see if it's usable
$m = array();
- if( preg_match( '!\[{2}(.*?)(?:\||\]{2})!', $text, $m ) ) {
+ if( preg_match( '!\[{2}(.*?)(?:\|.*?)?\]{2}!', $text, $m ) ) {
// Strip preceding colon used to "escape" categories, etc.
// and URL-decode links
if( strpos( $m[1], '%' ) !== false ) {

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1591
Default Alt Text
2084.diff (554 B)

Event Timeline