Edge Rewrite
Jump to content

Module:Subject page header/doc

From Wikipedia, the free encyclopedia

This module is used from the interface message MediaWiki:Subjectpageheader-json and MediaWiki:Subjectpageheader-SecurePoll, shown at the top of pages with relevant content models.

The interface message is parsed on every page view. There is no caching (although for logged-out users Varnish caches the entire HTML before it even reaches MediaWiki). So, please ensure this module runs as fast as possible. Some tips:

  • Avoid unconditional imports of other modules. Instead, import them inside conditional blocks where they are needed.
  • Avoid unconditionally performing expensive lookups.

Usage

[edit]

{{#invoke:Subject page header|main}}