Using UndefinedPagesPlugin
The UndefinedPagesPlugin lists all pages that are linked to on other pages (RED-LINKs) but have not yet been created.
Description
Whenever a page link points to a page that does not exist it becomes a RED-LINK — a red coloured link that takes you to the page creation editor. The UndefinedPagesPlugin scans the entire link graph and collects every such missing page in one place, making it easy to identify content gaps and prioritise which pages to create. See Plugins for a complete list of available plugins.
Syntax
[{UndefinedPagesPlugin}] renders as:
- ../config/app-default-config.json
- ../CONTRIBUTING.md#frontmatter-structure
- ../docs/managers/ValidationManager-Documentation.md
- ./docs/managers/ValidationManager-Documentation.md
- ./Page-Storage.md
- #configuration
- #related-pages
- #types
- 0-9
- 1990s
- 4
- 5
- 5m
- a-f0-9-
- A-M
- a-z0-9
- Access Control Lists
- Access Control Policies
- Access Denied Behaviour
- Access%20Control%20Lists.md
- ACL
- ACLManager
- action.toLowerCase()
- Admin
- admin
- Admin Dashboard configuration
- aircraft
- all
- Anchorage VAAC
- another page
- API
- ash
- atmosphere
- atmospheric pressure
- AttachmentManager
- authenticated
- Best Practices
- Browsing by Keyword
- Browsing Media by Year
- CAA
- climate
- cloud cover
- CME
- Common Mistakes
- Configuration
- Configuration Reference
- content
- country
- Current Time Plugin
- CurrentTimePlugin
- Darwin VAAC
- design
- Docker
- Earth
- EASA
- ElasticsearchSearchProvider
- electrons
- Embedding a Single Photo with Image or ATTACH
- Embedding Media in Pages
- Embedding Media in Pages (MediaPlugin)
- Everything We Know About You
- Examples
- FAA
- Field Types
- geographic region
- geomagnetic storm
- Go to your User Profile
- guide
- History
- How Frontmatter is Used
- HTTP
- humidity
- ICAO
- Installation Wizard
- International Civil Aviation Organization
- Item Detail Page
- JSON
- light
- Limitations
- Link Text
- Live Data from Managers
- ln
- London VAAC
- Lucene
- Lunr
- magnetic field
- Main Page
- Making a Private Page Public Again
- Marking a Page as Private
- matter
- Montreal VAAC
- Oceanic airspace
- Optional Fields
- Overview
- Page Name
- Page One
- Page Two
- PageName
- PageSlideshowPlugin
- phenomenon
- pilot
- plasma
- POLICY
- precipitation
- Prefill Paths
- Prerequisites
- Privacy Policy
- Private Attachments
- project
- protons
- Public
- radiation
- reference
- Reindex vs Rebuild
- Related Documentation
- Required Fields
- RESTful
- satellite
- Search Behaviour
- Searching Media
- Security Policy Management
- SimpleDateFormat
- Smith et al. 2023
- Smithsonian Global Volcanism Program (GVP)
- solar flares
- Structure and Syntax
- Sun
- Supported File Formats
- System Configuration
- System Settings
- Technical Implementation
- temperature
- Terms of Use
- Thumbnails
- thunderstorm
- thunderstorms
- Tips and Best Practices
- Tokyo VAAC
- tornadoes
- Toulouse VAAC
- troposphere
- tutorial
- United Nations
- United States
- User Management
- User Profile
- USGS Earthquake Hazards Program
- Using ConfigAccessorPlugin
- uuid
- Volcanic Ash Advisories (VONA)
- Washington
- Washington Post
- Washington VAAC
- Wellington VAAC
- Who Can See a Private Page
- WikiFormatting
- Wikipedia:Application_performance_management
- wind
- x
- Year 1947
Parameters
All parameters are optional:
| Parameter | Type | Default | Description |
|---|---|---|---|
max | integer | unlimited | Maximum number of results to show |
format | string | list | Output format: list, count, or table |
before | string | — | Text/markup placed before each item (list format) |
after | string | — | Text/markup placed after each item (list format) |
include | regex | — | Only show undefined pages whose title matches this pattern |
exclude | regex | — | Hide undefined pages whose title matches this pattern |
showReferring | boolean | false | Expand each entry to show the pages that link to it |
Examples
Count of undefined pages
[{UndefinedPagesPlugin format='count'}] renders as:
160
Top 10 list
[{UndefinedPagesPlugin max='10'}] renders as:
- ../config/app-default-config.json
- ../CONTRIBUTING.md#frontmatter-structure
- ../docs/managers/ValidationManager-Documentation.md
- ./docs/managers/ValidationManager-Documentation.md
- ./Page-Storage.md
- #configuration
- #related-pages
- #types
- 0-9
- 1990s
Table view
[{UndefinedPagesPlugin format='table' max='10'}] renders as:
The Referenced By column shows how many pages currently contain a link to each undefined page.
Show which pages reference each undefined page
[{UndefinedPagesPlugin showReferring='true' max='5'}] renders as:
- ../config/app-default-config.json
- ../CONTRIBUTING.md#frontmatter-structure
- ../docs/managers/ValidationManager-Documentation.md
- ./docs/managers/ValidationManager-Documentation.md
- ./Page-Storage.md
Each undefined page is shown as a red create-link with a nested list of the existing pages that link to it — useful for auditing where red links come from so you can either create the missing page or fix the links.
Filter by title pattern
[{UndefinedPagesPlugin include='^Project.*' format='count'}] renders as:
0
Output Formats
| Format | Description |
|---|---|
list | Bulleted list of red create-links (default) |
count | Plain number — total undefined pages on the platform |
table | Table showing page name and how many pages link to it |
Add showReferring='true' to any list or table result to expand the referring page information. count is unaffected.
See Using ReferringPagesPlugin to show pages that link to the current page, Using IndexPlugin for an alphabetical page index, and Plugins for the full list of available plugins.
No comments yet.