Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2014
2084.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 8:27 PM
2014-11-21 20:27:59 (UTC+0)
Size
554 B
Referenced Files
None
Subscribers
None
2084.diff
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1591
Default Alt Text
2084.diff (554 B)
Attached To
Mode
T4084: incorrectly typed redirect(s) and Special:Whatlinkshere
Attached
Detach File
Event Timeline
Log In to Comment