Page MenuHomePhabricator

Warning: preg_match(): Empty regular expression in Linker.php on line 1578
Closed, ResolvedPublic

Description

Problem: lots of the above warnings on various pages with links, when the user is logged in.
I dare not update my public wikis with such warnings.

Perhaps you can reproduce on your wiki with:
Login to your wiki (At revision 50055.)
$ wget -O z http://transgender-taiwan.org/index.php?title=推薦\&action=raw
and put the contents of z into a new wiki page on your wiki and view it, perhaps with purge=yes.
You may need $wgLanguageCode='zh-tw';

Putting var_dump( $regex, $trail, $m ) ; after line 1578 shows
string(0) "" string(3554) "推薦的:

UNIQ451a124442ded6bd-h-0--QINU 網站

*[http://intermargins.net/ 國際邊緣]及其[http://intermargins.net/repression/
deviant/transgender/trans_index.htm 跨性別頁]


Version: 1.15.x
Severity: major

Details

Reference
bz18627

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:34 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz18627.
bzimport added a subscriber: Unknown Object (MLST).

Confirmed with $wgLanguageCode set to 'zh' (no problems in 'en'), r50030 and r50055. Probably due to recent change to linktrail in zh, probably needs fix or revert.

Linktrail regression in r49831; partial revert in r50056 fixes it.