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
- #types
- 0-9
- 5m
- a-f0-9-
- A-M
- a-z0-9
- About ve-geology
- Access Control Lists
- Access Control Policies
- Access Denied Behaviour
- Access%20Control%20Lists.md
- ACL
- ACLManager
- action.toLowerCase()
- Admin
- admin
- Admin Dashboard configuration
- all
- another page
- API
- AttachmentManager
- authenticated
- Best Practices
- Browsing by Keyword
- Browsing Media by Year
- Common Mistakes
- Configuration
- Configuration Reference
- content
- Current Time Plugin
- CurrentTimePlugin
- design
- Docker
- ElasticsearchSearchProvider
- Embedding a Single Photo with Image or ATTACH
- Embedding Media in Pages
- Embedding Media in Pages (MediaPlugin)
- Everything We Know About You
- Examples
- Field Types
- Go to your User Profile
- guide
- History
- How Frontmatter is Used
- HTTP
- Installation Wizard
- Item Detail Page
- JSON
- Limitations
- Link Text
- Live Data from Managers
- Lucene
- Lunr
- Main Page
- Making a Private Page Public Again
- Marking a Page as Private
- Optional Fields
- Overview
- Page Name
- Page One
- Page Two
- PageName
- PageSlideshowPlugin
- POLICY
- Prefill Paths
- Prerequisites
- Privacy Policy
- Private Attachments
- project
- Public
- reference
- Related Documentation
- Required Fields
- RESTful
- Search Behaviour
- Searching Media
- Security Policy Management
- SimpleDateFormat
- Smith et al. 2023
- Smithsonian Global Volcanism Program (GVP)
- Structure and Syntax
- Supported File Formats
- System Configuration
- System Settings
- Technical Implementation
- Terms of Use
- Thumbnails
- Tips and Best Practices
- tutorial
- User Management
- User Profile
- USGS Earthquake Hazards Program
- Using ConfigAccessorPlugin
- uuid
- Washington Post
- Who Can See a Private Page
- WikiFormatting
- Wikipedia:Application_performance_management
- x
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:
104
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
- #types
- 0-9
- 5m
- a-f0-9-
- A-M
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.