Manual:$wgSiteNotice/ru
From Linux Web Expert
<translate> Output</translate>: $wgSiteNotice | |
---|---|
A message to be displayed at the top of every page. |
|
<translate> Introduced in version:</translate> | 1.2.0 |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (string) |
<translate> Default value:</translate> | '' |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
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 and version 1.9 onwards, $wgSiteNotice can contain Wiki markup code ("WikiCode").
In version 1.6 through 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.
См. также
- Manual:Interface/Sitenotice - also gives details about the precedence of the different site notice options
- Manual:Hooks/SiteNoticeBefore
- Manual:Hooks/SiteNoticeAfter