Manual:$wgSiteNotice
From MediaWiki.org
| Site customization: $wgSiteNotice | |
|---|---|
| A message to be displayed at the top of every page. |
|
| Introduced in version: | 1.2.0 |
| Removed in version: | still in use |
| Allowed values: | string |
| Default value: | "" |
Other settings: Alphabetical | By Function
Details [edit]
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.
See also [edit]
- Manual:Interface/Sitenotice (also gives details about the precedence of the different site notice options)
- Manual:Hooks/SiteNoticeBefore
- Manual:Hooks/SiteNoticeAfter
| Language: | English • español • français • 日本語 |
|---|