PHP logging

EventLogging::logEvent( 'BookManagerv2', 13334244, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"BookManagerv2": 13334244
			}
		}
	}
}

JavaScript logging

mw.eventLog.logEvent( 'BookManagerv2', { /* ... */ } );

Schema:BookManagerv2

From Meta, a Wikimedia project coordination wiki
Revision 13334244
Jump to navigation Jump to search
description"ARCHIVED: Schema against which BookManagerv2 book blocks should be checked."
properties
title
description"Title of the work"
type"string"
requiredtrue
additionalProperties
i18n"bookmanagerv2-title-field"
alternate_titles
description"List of other titles by which the work is known"
type"array"
requiredfalse
items
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-alternate-titles-field"
authors
description"List of contributors to the work"
type"array"
requiredfalse
items
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-authors-field"
translators
description"List of translators who contributed to the work"
type"array"
requiredfalse
items
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-translators-field"
editors
description"List of editors who contributed to the work"
type"array"
requiredfalse
items
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-editors-field"
illustrators
description"List of illustrators who contributed to the work"
type"array"
requiredfalse
items
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-illustrators-field"
subtitle
description"Subtitle to the title of the work"
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-subtitle-field"
series_title
description"Title of the series of which this work is a member"
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-series-title-field"
volume
description"Volume number of the work"
type"number"
requiredfalse
additionalProperties
i18n"bookmanagerv2-volume-field"
edition
description"Edition number of the work"
type"number"
requiredfalse
additionalProperties
i18n"bookmanagerv2-edition-field"
publisher
description"Name of the publisher of this work"
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-publisher-field"
printer
description"Name of the printer of this work"
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-printer-field"
publication_year
description"Year of publication of the work"
type"integer"
requiredfalse
additionalProperties
i18n"bookmanagerv2-publication-year-field"
publication_month
description"Month of publication of the work"
type"integer"
requiredfalse
additionalProperties
i18n"bookmanagerv2-publication-month-field"
publication_day
description"Day of publication of the work"
type"integer"
requiredfalse
additionalProperties
i18n"bookmanagerv2-publication-day-field"
publication_city
description"City in which the work was published"
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-publication-city-field"
language
description"Primary language of the work"
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-language-field"
description
description"Short description of the work"
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-description-field"
source
description"Source of the work"
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-source-field"
permission
description"Licensing permission for works not created on-wiki"
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-permission-field"
other_versions
description"Lists of other versions of this work that are available on the wiki"
type"array"
requiredfalse
items
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-other-versions-field"
isbn
description"International Standard Book Number of the work"
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-isbn-field"
lccn
description"Library of Congress Control Number of the work"
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-lccn-field"
oclc
description"Online Computer Library Center identifier of the work"
type"string"
requiredfalse
additionalProperties
i18n"bookmanagerv2-oclc-field"
sections
description"List of objects representing the sections of the work"
type"array"
requiredtrue
items
type"object"
requiredfalse
properties
name
description"Name of the section"
type"string"
requiredtrue
additionalProperties
i18n"bookmanagerv2-name-field"
link
description"Name of the wiki page where this section is located"
type"string"
requiredtrue
additionalProperties
i18n"bookmanagerv2-link-field"
source
description"The source of the particular section"
requiredfalse
type"string"
additionalProperties
i18n"bookmanagerv2-source-field"
additionalPropertiesfalse
additionalProperties
i18n"bookmanagerv2-sections-field"
additionalPropertiesfalse