< Extension:CentralNotice

Fields

Stores details on all the campaigns known to CentralNotice.

Key Name Type Default Description
primarynot_idint NOT NULL AUTO_INCREMENT0Identifying key for the campaign.
not_namevarchar(255) NOT NULLNULLFriendly name of the campaign; displayed to the users and reported to analytics.
not_startchar(14) NOT NULLNULLMediaWiki datetime string representing when this campaign should auto-start if enabled.
not_endchar(14) NOT NULLNULLMediaWiki datetime string representing when this campaign should auto-end if enabled.
not_enabledtinyint(1) NOT NULL0Boolean value determining if the campaign is set to auto-start/end. 0 = will not auto-start/end.
not_preferredtinyint(1) NOT NULL0Priority level of the campaign. Lower numbers have higher priority.
not_throttleint NOT NULL100
not_lockedtinyint(1) NOT NULL0Boolean value indicating if editing is allowed on this campaign. 0 = editing allowed.
not_geotinyint(1) NOT NULL0Boolean value indicating if the campaign has geo-target selectors. If it does there will be a row for each country targeted in cn_notice_countries. 0 = campaign not geo-targeted.
not_bucketstinyint(1) NOT NULL1
Since: v2.1
Integer value indicating how many buckets this campaign supports. Minimum value of 1; maximum value of $wgNoticeNumberOfControllerBuckets.
not_weightint(11) NOT NULL100
Since: v2.3
Integer value indicating how much weight this campaign carries. Used for slot allocation within a priority level.
not_mobile_carriertinyint(1) NOT NULL0
Since: v2.3
Boolean value indicating if the campaign has mobile-carrier selectors. If it does there will be a row for each carrier targeted in cn_notice_mobile_carriers. 0 = campaign not carrier-targeted.
not_archivedtinyint(1) NOT NULL0
Since: v2.3
Boolean value indicating if the campaign should be shown by default on the 'campaigns' page. 0 = show by default.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.