手册:$wgSiteNotice

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgSiteNotice and the translation is 42% complete.

Other languages:
English • ‎español • ‎français • ‎magyar • ‎polski • ‎македонски • ‎中文 • ‎日本語
网站个性化: $wgSiteNotice
在每个页面的顶部显示一条消息。
引进版本:1.2.0
移除版本:仍在使用
允许的值:(string)
默认值:''

细节

This string will be displayed at the top of each page if no sitenotice is defined at MediaWiki:Sitenotice. MediaWiki:Sitenotice takes precedence over this option.

In version 1.5, $wgSiteNotice could contain Wiki markup code ("WikiCode").

In version 1.6 thru 1.8, WikiCode in the SiteNotice was not rendered, the SiteNotice was treated as raw HTML. This had no effect on sitenotices added to MediaWiki:Sitenotice.

From version 1.9 on, the SiteNotice has been wikitext again.

参见