39 $record[
'extra'][
'wiki'] =
wfWikiID();
41 $record[
'extra'][
'reqId'] = \WebRequest::getRequestId();
42 if (
wfIsCLI() && isset( $_SERVER[
'argv'] ) ) {
43 $record[
'extra'][
'cli_argv'] = implode(
' ', $_SERVER[
'argv'] );
$wgVersion
MediaWiki version number.
wfHostname()
Fetch server name for use in error reporting etc.
wfIsCLI()
Check if we are running from the commandline.
wfWikiID()
Get an ASCII string identifying this wiki This is used as a prefix in memcached keys.
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))