Wikia

GTA Wiki

Help:Site notice

Talk0
9,357pages on
this wiki
Revision as of 08:44, September 10, 2010 by Gta-mysteries (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Construction-cone-icon-link This page is about Monobook, a non-default skin.

The site notice can be set by admins of a wiki by editing the page Mediawiki:Sitenotice. This shows as a message at the top of all pages, and is useful for notifying the whole community of a wiki of news or a discussion. This notice is only visible to users who have JavaScript enabled on the Monobook skin.

Once a contributor has read the notice, they may prefer not to view it any more. If they have cookies enabled, they can dismiss the notice using the "dismiss" link next to the text. This will work whether they are logged in or not. As long as they don't clear the cookie, the notice will remain hidden.

To reset the notice, and make it visible again to all (for example when an admin has put up a new notice) the number in MediaWiki:Sitenotice id needs to be increased by one. If this page doesn't yet exist, it can be created with a starting number of 0. The new notice can be dismissed after reading in the same way as the last.

To clear the message, Mediawiki:Sitenotice should be reset to the default: -

The word "dismiss" can be translated at MediaWiki:Sitenotice close.

Best practices

  • Use a site notice for important or temporary messages updates only. If a site notice used too often, regular users to your wiki might begin to ignore it, which makes it harder to get the really important notices out. When not needed, clear the message as mentioned above.
  • Keep site notices short and sweet — one or two lines of text with links to more extensive information is best.
  • Keep page load times fast by avoiding images, polls, DPL, or other extensions in the site notice.
  • Consider whether to use the MediaWiki:Anonnotice, which allows you to talk only to users that are not logged in, or to show a different message to that group.
  • Use the main page, Community Portal, or sidebar for links to news, policies, or help.
  • Sitenotice messages should generally not be signed.

Bugs

The sitenotice allows most wikicode. For example, code linking to a certain page will turn into bold text on that page. However, the Sitenotice is known to sometimes cache for pages other than those it appears on. If you encounter this bug, to prevent a link to a page becoming bold text on every page, add a null anchor point. For example, instead of:

  • [[Main Page]]

Try:

  • [[Main Page#|Main Page]]


See also

m:Fundraising sitenotice 2006 Q4 for background information on this extension.

Around Wikia's network

Random Wiki