PHP logging
EventLogging::logEvent( 'AdvancedSearchRequest', 19512287, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"AdvancedSearchRequest": 19512287
}
}
}
}
JavaScript logging
mw.track( 'event.AdvancedSearchRequest', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Logs search requests using Extension:AdvancedSearch" |
---|
properties | plain | type | "boolean" |
---|
required | true |
---|
description | "Indicates whether the field labeled by 'this word' is used." |
---|
|
---|
phrase | type | "boolean" |
---|
required | true |
---|
description | "Indicates whether the field labeled by 'exactly this text' is used." |
---|
|
---|
not | type | "boolean" |
---|
required | true |
---|
description | "Indicates whether the field labeled by 'not this word' is used." |
---|
|
---|
or | type | "boolean" |
---|
required | true |
---|
description | "Indicates whether the field labeled by 'one of these words' is used." |
---|
|
---|
intitle | type | "boolean" |
---|
required | true |
---|
description | "Indicates whether the keyword 'intitle' is used." |
---|
|
---|
hastemplate | type | "boolean" |
---|
required | true |
---|
description | "Indicates whether the keyword 'hastemplate' is used." |
---|
|
---|
filetype | type | "boolean" |
---|
required | true |
---|
description | "Indicates whether the keyword 'filetype' is used." |
---|
|
---|
subpageof | type | "boolean" |
---|
required | true |
---|
description | "Indicates whether the keyword 'subpageof' is used." |
---|
|
---|
inlanguage | type | "boolean" |
---|
description | "Indicates whether the keyword 'inlanguage' is used." |
---|
|
---|
deepcategory | type | "boolean" |
---|
required | true |
---|
description | "Indicates whether the keyword 'deepcategory' is used." |
---|
|
---|
sort | type | "boolean" |
---|
required | true |
---|
description | "Indicates whether the keyword 'sort' is used." |
---|
|
---|
|
---|