DF> You can test whether it is or isn't by adding an mt_rand() call to your log 
test.
You would have to tell me how. But anyway I've isolated the problem:
$ cat n.php
<?php
$wgSitename='ABJ';
$wgSitename=0;
switch($wgSitename){case 'ABJ':trigger_error("can you believe \$wgSitename is 
$wgSitename and not ABJ?!",E_USER_WARNING);}
$wgSitename=0;
$wgSitename='ABJ';
switch($wgSitename){case 0:trigger_error("can you believe \$wgSitename is 
$wgSitename and not 0?!",E_USER_WARNING);}
$ php n.php
PHP Warning:  can you believe $wgSitename is 0 and not ABJ?! in 
/mnt/usb/cf/n.php on line 4
PHP Warning:  can you believe $wgSitename is ABJ and not 0?! in 
/mnt/usb/cf/n.php on line 7

What in the world is going on? Thank you. PHP 5.5.7-2.

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to