Difference between revisions of "Template:MW notices"

From blackwiki
Jump to navigation Jump to search
imported>Edokter
(organize)
imported>Krinkle
(Update. Putting <p> in Anonnotice is a disaster. That will cause the empty paragraph to get literally rendered for all users, including a [hide] link on ALL PAGES for that invisible notice.)
Line 2: Line 2:
 
|text=Wikipedia has five kinds of top of page messages that can be used to convey information or announcements to readers and editors.
 
|text=Wikipedia has five kinds of top of page messages that can be used to convey information or announcements to readers and editors.
 
# The "Sitenotice", found at '''[[MediaWiki:Sitenotice]]''', is displayed at the top of all pages for all logged-in users, and for anonymous users if the following message is empty.
 
# The "Sitenotice", found at '''[[MediaWiki:Sitenotice]]''', is displayed at the top of all pages for all logged-in users, and for anonymous users if the following message is empty.
# '''[[MediaWiki:Anonnotice]]''' can be used to display information only to readers, not editors.  Alternatively, by 'blanking' the anonnotice and replacing it with {{tag|p|content=}}, the sitenotice can be used as a "logged-in-notice" to display information only to editors.
+
# '''[[MediaWiki:Anonnotice]]''' can be used to display information only to readers, not editors.  Alternatively, by 'blanking' the anonnotice and replacing it with nothing (not even a space or empty paragraph!), then the sitenotice can be used as a "logged-in users only" notice to display information only to editors. When "Anonnotice" contains nothing, no notice is shown to anonymous users. When it contains "-" it disables the message in favour of Sitenotice. If it contains anything else, it will be rendered to anonymous users instead of the Sitenotice (including a "hide" button).
 
# '''[[MediaWiki:Watchlist-details]]''' is displayed at the top of [[Special:Watchlist]] for all users who use this feature.
 
# '''[[MediaWiki:Watchlist-details]]''' is displayed at the top of [[Special:Watchlist]] for all users who use this feature.
 
# The CentralNotice, found at '''[[meta:Special:CentralNotice]]''', is an extension which can display banners at the top of a select group of Wikimedia sites simultaneously.
 
# The CentralNotice, found at '''[[meta:Special:CentralNotice]]''', is an extension which can display banners at the top of a select group of Wikimedia sites simultaneously.

Revision as of 18:59, 1 July 2015