Jump to content

shared

[edit] This extension allows administrators to create and edit banner campaigns across multiple wikis. Documentation can be found at Help:CentralNotice.

Please add potential notices to the CentralNotice calendar and discuss potential changes with the project sponsor prior to making them. See also the CentralNotice usage guidelines and banner guidelines.

Current cache settings: Banners: 10min server, 0min client; Geo: 0min. Note: Campaigns are not cached - rather, banners assigned to campaigns are cached.

Testing: The Afar Wikipedia (aawiki) and many others have been closed, but are still live and can be targeted from CentralNotice campaigns. Alternately you can test on test.wikipedia.org but note that it runs a completely separate instance of CentralNotice.

Emergencies: Any urgent issue regarding any ongoing campaign or live banner should be reported to #wikimedia-fundraisingconnect or jseddon(_AT_)wikimedia.org.

Banner template
 
shared_lock
Settings

Banners of a specific category share tracking variables and group settings (e.g. hide cookies and impression counts). Category names can be magic words like {{{campaign}}} or {{{banner}}} which will be automatically expanded at display time. Values must be alphanumeric.
 
 
 
 
 
 
 
Check each mixin that you want to be included during banner delivery. (See Banner mixins for more information.)
Translatable banner messages
English
Help with translations!
Hide
Show
$$1
Our Goal: $6 million
Donate Now
Support {{SITENAME}}: a non-profit project.
Learn More...
//upload.wikimedia.org/centralnotice/images/progress/p7.png
//upload.wikimedia.org/centralnotice/images/puzzle-piece.png
//upload.wikimedia.org/centralnotice/images/button-red.png
//wikimediafoundation.org/wiki/Donate/Now/en
//wikimediafoundation.org/wiki/Learn/en
$7.3M
$7.5M USD
6900000
7500000
Donor
Date
Amount
Anonymous
/* Don't use this */
<style type="text/css"> #centralNotice.collapsed .siteNoticePic { display: none; } .siteNoticePic { position: relative; border: solid 1px silver; background-color: #1e1e1e; height: 172px; background-image: url(//upload.wikimedia.org/wikipedia/meta/d/dc/Jimmy_Appeal_2009.jpg); background-position: right top; background-repeat: no-repeat; margin-bottom: 0.5em !important; } .siteNoticePic-text { overflow: visible; color: #FFFFFF; font-family: helvetica, arial, monospace; font-weight: normal; text-align: left; font-size: 2.25em; line-height: 1.125em; padding: 0.75em !important; cursor: pointer; width: 60%; background-color: transparent; } #cn-toggle-box { position: absolute; z-index: 1000; top: .2em; right: .2em; } .siteNoticePic a:hover { text-decoration: underline; color: #FFFFFF; }</style>
<style type="text/css">.notice-button { float: left; height: 28px; text-align: center; background-color: transparent; }.notice-button-start { float: left; background-image: url(//upload.wikimedia.org/centralnotice/images/2009/button-glossy.png); background-position: left top; width: 12px; height: 28px; } .notice-button-end { float: left; background-image: url(//upload.wikimedia.org/centralnotice/images/2009/button-glossy.png); background-position: right bottom; width: 12px; height: 28px; } .notice-button-label { float: left; background-image: url(//upload.wikimedia.org/centralnotice/images/2009/button-glossy.png); background-position: center center; background-repeat: repeat-x; font-family: sans-serif; font-size: 1em; font-weight: bold; color: white; line-height: 28px; height: 28px; white-space: nowrap; }</style>
Marking a language as a priority will encourage translators to translate these languages first.
Edit banner

Warning: Loading external resources into a banner can compromise user privacy.

To create a localisable message, enclose a string in three curly brackets, e.g. {{{message_name}}}. To use a localisable message from another banner, include the banner name followed by a comma, then the message name, e.g., {{{banner_name,message_name}}}.

Magic words provided by banner mixins: {{{banner}}} and {{{campaign}}}
⧼centralnotice-form-actions⧽
Banner
Delete

Front-end cache

Removes banner content stored in the front-end cache for anonymous users, for the selected language. (Banners are not cached for logged-in users.)

Campaigns using this banner

Campaign name Campaign type Projects Languages Countries and regions Starting (UTC) Ending (UTC) Enabled Priority Limit traffic Locked Archive
shared_lock No type (always shown)     All 2008-01-01 00:00 2008-02-01 00:00 normal