Last modified: 2009-04-29 23:03:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20627, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18627 - Warning: preg_match(): Empty regular expression in Linker.php on line 1578
Warning: preg_match(): Empty regular expression in Linker.php on line 1578
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.15.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-29 22:44 UTC by Dan Jacobson
Modified: 2009-04-29 23:03 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Jacobson 2009-04-29 22:44:03 UTC
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 跨性別頁]
Comment 1 Brion Vibber 2009-04-29 22:57:49 UTC
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.
Comment 2 Brion Vibber 2009-04-29 23:03:57 UTC
Linktrail regression in r49831; partial revert in r50056 fixes it.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links