43 $record[
'extra'][
'wiki'] = WikiMap::getCurrentWikiId();
45 $record[
'extra'][
'reqId'] = $telemetry->getRequestId();
46 if (
wfIsCLI() && isset( $_SERVER[
'argv'] ) ) {
47 $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.