MediaWiki:Gadget-geonotice-list.js

Nota: Depois de publicar, poderá ter de contornar a cache do seu navegador para ver as alterações.

  • Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
  • Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
  • Internet Explorer / Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5
  • Opera: Pressione Ctrl-F5.
/*  _____________________________________________________________________________
 * |                                                                             |
 * |                    === WARNING: GLOBAL GADGET FILE ===                      |
 * |                  Changes to this page affect many users.                    |
 * | Please discuss changes on the talk page or on [[WT:Gadget]] before editing. |
 * |_____________________________________________________________________________|
 *
 * Defines the list of notices to be shown to registered users based on their location
 */

window.GeoNotice = {};
/**
 * @property {Object} notices An object holding key-value pairs where
 *  the value is an object specifying the properties of a notice.
 *
 *  The month names must be in English.
 *
 *     @example
 *     nomeCurto: {
 *         begin: '01 January 2013 00:00 UTC',
 *         end: '07 January 2013 00:00 UTC',
 *         corners: [ [ 5, -75 ], [ -35, -35 ] ],
 *         text: 'Mensagem com [[link]].'
 *     }
 *
 * There also is an option to use country instead of corners. For example:
 * ID: {
 *   begin: 'date',
 *   end: 'date',
 *   country: 'US',
 *   text: 'message'
 * }
 *
 * See http://dev.maxmind.com/geoip/legacy/codes/iso3166 for full list of country codes
 *
 * - There must be commas between the notices, but not after the last one.
 * - BE SURE TO ESCAPE YOUR APOSTROPHES (put a backslash in front of it, like this: \')!
 * - Use [[meta:w:en:link|link]] format for internal links, so that they work properly
 * on the other projects where the geonotice is displayed.
 */
window.GeoNotice.notices = {
	
wikicon: {
	begin: '11 April 2024 00:00 UTC',
	end: '1 June 2024 00:00 UTC',
	country: 'BR',
	text: 'A <a href="https://docs.google.com/forms/d/e/1FAIpQLSddGr-VvZCZ0e5R5zSeYYWyhobYGgdi-IusWx1H3oROTH1pjw/viewform">pesquisa de engajamento da comunidade</a> para a <b>WikiCon Brasil 2025</b> está aberta até fim de maio. Participe e oriente os rumos da conferência brasileira de wikimedistas.'
}

/*!
 * Fim da lista.
 * Edite apenas acima da linha!
 *
 * É preciso colocar vírgulas entre os avisos, mas não deve ser colocado depois do último.
 * Use o formato [[link]] para links internos, de modo que eles funcionem adequadamente
 * nos demais projetos em que o geonotice for mostrado.
 *
 */
};