Jump to content

Template:Pagemap: Difference between revisions

From Insurer Brain
Content deleted Content added
Deploy Template:Pagemap (indexed-section review via Module:PageMap)
Deploy Template:Pagemap (indexed-section review via Module:PageMap)
 
Line 1: Line 1:
<noinclude>
<noinclude>
Review surface for an indexed article: place <code>{{Pagemap}}</code> on <code>Pagemap:&lt;article title&gt;</code> and it lists every indexed section ({{Indexing}} subobject) of the article. Topics render as atomic "Name (id)" pairs — the raw id is the copy-pasteable link label — so the layout holds when a section carries several topics. Rendering is [[Module:PageMap]]'s <code>render</code> (an SMW query via Semantic Scribunto, not a page parse).
Review surface for an indexed article: place <code>{{Pagemap}}</code> on <code>Pagemap:&lt;article title&gt;</code> and it shows the article's infobox facts followed by every indexed section ({{Indexing}} subobject). Topics render as atomic "Name (id)" pairs — the raw id is the copy-pasteable link label — so the layout holds when a section carries several topics. Both parts are [[Module:PageMap]] SMW queries via Semantic Scribunto (no page parse, article size irrelevant).


SMW's cross-page query cache means this page must be purged after the article is re-indexed.
SMW's cross-page query cache means this page must be purged after the article is re-indexed.


Source of truth: tools/wiki/pages/Template-Pagemap.wikitext (deploy key: pagemap_template).
Source of truth: tools/wiki/pages/Template-Pagemap.wikitext (deploy key: pagemap_template).
</noinclude><includeonly>Indexed sections of [[{{PAGENAME}}]]:
</noinclude><includeonly>{{#invoke:PageMap|facts}}

Indexed sections of [[{{PAGENAME}}]]:


{{#invoke:PageMap|render}}</includeonly>
{{#invoke:PageMap|render}}</includeonly>

Latest revision as of 17:00, 3 July 2026

Review surface for an indexed article: place

Indexed sections of Pagemap:

No indexed sections found for Pagemap. on Pagemap:<article title> and it shows the article's infobox facts followed by every indexed section (====== {{{1}}} ======

subobject). Topics render as atomic "Name (id)" pairs — the raw id is the copy-pasteable link label — so the layout holds when a section carries several topics. Both parts are Module:PageMap SMW queries via Semantic Scribunto (no page parse, article size irrelevant).

SMW's cross-page query cache means this page must be purged after the article is re-indexed.

Source of truth: tools/wiki/pages/Template-Pagemap.wikitext (deploy key: pagemap_template).