OpenWetWare:Software/Projects/Content Page Header

=Content Page Header=

The header is to be displayed when specific pages or pages from specifis namespaces are displayed.

Status
wjf 10:33, 19 November 2007 (CST) Ready to be enabled

Content of the header
Julius has provided the notice:

From: Julius B. Luck's Talk Page

Content:

Click here to take the OWW user survey and help improve OpenWetWare!

Extension to Display Header
The extension to display a header uses the following:

http://www.mediawiki.org/wiki/Extension:PageNotice

The extension is currently loaded on OWW. It works as follows:


 * If a specific header is available for a page to be displayed, it will use it.
 * If no page header is present, the extensions checks for a global header for all pages within a namespace.
 * I've also changed the code to only display a single header.
 * If no header is displayed for other pages.
 * I've disabled display of footers, also supported, in the extension.

Configuring Notices
To enable the extension, an entry is created for each page or namespace.

The namespace is identified via the MediaWiki numerical constant for it (see the table below for details):


 * MediaWiki:top-notice-ns-0: set a notice for the (main) namespace.
 * Click here to edit the Main namespace notice
 * MediaWiki:top-notice-ns-2: set a notice for the User namespace.
 * Click here to edit the User namespace notice
 * MediaWiki:top-notice-Main_Page: set a notice for the Main Page.
 * Click here to edit the Main Page notice

Namespace Name/Numbers
To use this function with other namespaces, the following is the list

Origin
See the following extension: OpenWetWare:Software/Extensions/HeaderFooter