Manual:Interface/Sitenotice/ms

MediaWiki:Sitenotice (Notis tapak) dipaparkan di atas tajuk laman untuk kesemua pengguna kecuali jika ia digantikan atau diambil alih oleh notis lain.

Mesej dipaparkan jika ia ditakrifkan. 'Ditakrifkan' bermaksud notis tapak mempunyai kandungan lebih daripada satu aksara tunggal '-'.

Which notice is displayed for a user is decided in this order:


 * 1) If the  extension is enabled, it is displayed (even if not defined); see below.
 * 1) If the user is anonymous, MediaWiki:Anonnotice is displayed (if defined).
 * 1) Otherwise, MediaWiki:Sitenotice is displayed (if defined).
 * 1) Otherwise, the global notice in  is displayed (if defined).
 * 1) Otherwise, no notice is displayed.

Menolak
If Extension:DismissableSiteNotice is installed, registered users can hide any site notice by clicking  on the notice. For an individual user to recover a previously dismissed site notice, they should delete the cookie  for  in their browser.

To show the site notice again, even for those who have dismissed it, sysops should increment the number in MediaWiki:Sitenotice id (this redisplays the notice for everyone regardless of whether the actual notice has been edited or not).

CentralNotice (Notis pusat)
Sambungan CentralNotice (Notis pusat) menggantikan atau mengambil alih kesemua notis yang lain. Mesejnya disunting melalui suatu antara muka pada wiki "perumah", contohnya meta:Special:CentralNotice.

Mobile
The skin (used by the  extension) only shows site notices when   is set to true (which is now the default since MediaWiki 1.36). Individual notices can be selectively hidden on mobile using the  class.

Hooks
The site notice can be modified by extensions/skins via the and  hooks.

Lihat juga

 * Laman Fundraising/2006/Sitenotice Q4 menerangkan bagaimana menyesuaikan notis tapak pada projek-projek tempatan.