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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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