Template:Pagemap: Difference between revisions
Appearance
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:<article title></code> and it |
Review surface for an indexed article: place <code>{{Pagemap}}</code> on <code>Pagemap:<article title></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> |
</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).