GeoHazardWatch

Page Actions


Page Chrome Configuration

Page chrome configuration controls which pages receive the tab section and footer that normally surround page content.

Description

By default, every page on this site displays:

  • A tab section at the bottom (Comments, Referring Pages, Footnotes) injected from Template:PageTabs
  • A footer rendered from the Footer page

Certain infrastructure pages — such as LeftMenu and Footer itself — should not display these elements. Two configuration properties control which pages are excluded.

Configuration Properties

Current Configuration Value

Key: ngdpbase.page.notabs

Value:

[
  "LeftMenu",
  "Footer",
  "Template:PageTabs"
]

Current Configuration Value

Key: ngdpbase.page.nofooter

Value:

[
  "LeftMenu",
  "Footer",
  "Template:PageTabs"
]

PropertyTypeDefaultDescription
ngdpbase.page.notabsstring array["LeftMenu", "Footer", "Template:PageTabs"]Page names that do not receive the tab section
ngdpbase.page.nofooterstring array["LeftMenu", "Footer", "Template:PageTabs"]Page names that do not receive the footer

Page names are matched by title (case-sensitive). A page can appear in one list without the other — for example, a page might suppress tabs but still show a footer.

Customising the Lists

Add page names to either list in your instance configuration file (app-custom-config.json):

{
  "ngdpbase.page.notabs": ["LeftMenu", "Footer", "Template:PageTabs", "MyCustomPage"],
  "ngdpbase.page.nofooter": ["LeftMenu", "Footer", "Template:PageTabs", "MyCustomPage"]
}

Changes take effect after a server restart.

Notes

  • The tab section is also globally disabled by setting ngdpbase.tab.pagetabs to false.
  • The tab template used is configured via ngdpbase.tab.pagetabs.template (default: Template:PageTabs).
  • Pages in these lists are still fully editable and viewable — only the surrounding chrome is suppressed.

No pages currently refer to this page.

No footnotes on this page.

No comments yet.