In LocalSettings.php I put

switch($wgSitename){case 'ABJ':
    trigger_error("can you believe \$wgSitename is $wgSitename and not 
ABJ?!",E_USER_WARNING);}

For each HTTP GET, I see in /var/log/apache2/error.log:

[Fri Jan 03 15:48:43.103883 2014] [:error] [pid 6608] [client 127.0.0.1:52043] 
PHP Warning:  can you believe $wgSitename is ABJ and not ABJ?! in 
/home/jidanni/mediawiki/LocalSettings.php on line 28
 PHP Warning:  can you believe $wgSitename is 0 and not ABJ?! in 
/home/jidanni/mediawiki/LocalSettings.php on line 28

So there is apparently two runs going on per each one HTTP GET.

But how in the world does it execution happen for the second run inside the 
case statement's ABJ
switch if at the same time it is 0?

Or is this some weird php/apache echoing?

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to