I'm running into the same problem as T20627 on one of my wikis which happens to have $wgLanguageCode = "es". This is in MediaWiki 1.35.3 and the messages are appearing in the system log on my job runner server for that wiki's runJobs.php processes, over 43,000 such messages so far in the past half hour since a recent template edit started causing lots of jobs to get created.
Description
Related Objects
Event Timeline
@Justin_C_Lloyd: Hi, for future reference, please use the bug report form linked from the top of the task creation form instead. Thanks.
@Aklapper My bad, thanks. I'm still new to using Phabricator. Should I do anything to change this? And is further information needed regarding this issue?
Hi, nothing else needed as far as I know. Crossing fingers that someone who has a clue will take a look at some point. :)
PHP Warning: preg_match(): Empty regular expression in $IP/includes/Linker.php on line 1826
https://github.com/wikimedia/mediawiki/blob/REL1_35/includes/Linker.php#L1826
Is this still an issue?
https://github.com/wikimedia/mediawiki/blob/REL1_35/languages/messages/MessagesEs.php#L308 is the regex that should be being used, but hasn't changed in for 16 years....
Release 1.35 is EOL - https://lists.wikimedia.org/hyperkitty/list/mediawiki-l@lists.wikimedia.org/thread/72B3GNSDFUJEM23W54735OW34IHCZL6F/
Please reopen if you have still problems with the regex on newer mediawiki and/or newer php versions.