r104636 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104635‎ | r104636 | r104637 >
Date:00:37, 30 November 2011
Author:brion
Status:ok (Comments)
Tags:
Comment:
Apply the actual fix from r104635. :P
Modified paths:
  • /trunk/phase3/includes/search/SearchUpdate.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/search/SearchUpdate.php
@@ -62,7 +62,7 @@
6363 "\\1\\2 \\2 \\2\\3", $text ); # Emphasize headings
6464
6565 # Strip external URLs
66 - $uc = "A-Za-z0-9_\\/:.,~%\\-+&;#?!=()@\\xA0-\\xFF";
 66+ $uc = "A-Za-z0-9_\\/:.,~%\\-+&;#?!=()@\\x80-\\xFF";
6767 $protos = "http|https|ftp|mailto|news|gopher";
6868 $pat = "/(^|[^\\[])({$protos}):[{$uc}]+([^{$uc}]|$)/";
6969 $text = preg_replace( $pat, "\\1 \\3", $text );

Follow-up revisions

RevisionCommit summaryAuthorDate
r104637MFT r104635, r104636 - test & fix for bug 32712.brion00:41, 30 November 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r104635* (bug 32712) Fix for search indexing of pages with certain unicode chars fol...brion00:36, 30 November 2011

Comments

#Comment by MaxSem (talk | contribs)   06:16, 30 November 2011

Release notes? :P

#Comment by Brion VIBBER (talk | contribs)   07:18, 30 November 2011

I stuck those on 1.18 branch.

Status & tagging log