I thought I had this sorted by I've looked and again my log file is huge. I'm on PHP 5.2.5. Is this a real bug?
On Wed, Aug 6, 2008 at 1:41 PM, Daniel Friesen dan_the_man@telus.netwrote:
You're sure that was the issue?
I have a feeling that your issue is actually related to the linkTrail. There's a bugzilla entry on it right now. Apparently PHP 5.0 doesn't support \p (unicode characters), awhile back I switched the unreliable [a-z] to use the unicode \p{L&} to match the unicode alpha characters. The debate now would be whether we undo a linktrail improvement (I haven't seen any bugs come in against the use of \p, only the ' there which has already been removed). Or just change the update page to say that PHP 5.1.0+ is required. The latter may actually be the better option, there are some known issues with using PHP 5.0.
Though, if we really, really, need to support 5.0 desperately it could be possible to use a version_test to use [a-z] before 5.1.0 and \p{L&} from 5.1.0 on.
But even if the error disappeared for you it may be a good idea to update your version of PHP.
~Daniel Friesen(Dantman, Nadir-Seen-Fire) of: -The Nadir-Point Group (http://nadir-point.com) --It's Wiki-Tools subgroup (http://wiki-tools.com) --The ElectronicMe project (http://electronic-me.org) --Games-G.P.S. (http://ggps.org) -And Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) --Animepedia (http://anime.wikia.com) --Narutopedia (http://naruto.wikia.com)
The Gadget Doctor wrote:
I'll answer my own post. My problem was in ParserFunctions. For some reason the SVN was pointing
to a
branch of extensions below the 1_13 release instead of:
http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/ParserFunctions
Switching SVN to that version of ParserFunctions seems to have removed
the
error.
Hope that helps someone else.
On Wed, Aug 6, 2008 at 12:22 PM, The Gadget Doctor < mediawiki@thegadgetdoctor.com> wrote:
I'm wondering if anyone else has this. It took me a few days to spot
this
as I forgot to check my error logs but now I see I've had 16meg of
errors
over a weekend on a development site that gets very little traffic. Since upgrading (with svn) my logs are full of:
[Fri Aug 01 12:38:01 2008] [error] [client 67.90.55.2] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U,
\u,
or \X at offset 3 in /var/www/vhosts/ adv01.mysite.com/httpdocs/w/includes/Linker.php on line 1364, referer:
http://adv01.mysite.com/w/index.php?title=Fitzgerald:_Second-class_citizens%...
Problem?
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l