41 $record[
'extra'][
'wiki'] = WikiMap::getCurrentWikiId();
43 $record[
'extra'][
'reqId'] = \MediaWiki\Request\WebRequest::getRequestId();
44 if (
wfIsCLI() && isset( $_SERVER[
'argv'] ) ) {
45 $record[
'extra'][
'cli_argv'] = implode(
' ', $_SERVER[
'argv'] );
wfIsCLI()
Check if we are running from the commandline.
const MW_VERSION
The running version of MediaWiki.
wfHostname()
Get host name of the current machine, for use in error reporting.