Timeline: Difference between revisions
From Bodhicitta
No edit summary |
(VSCode edit) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 15: | Line 15: | ||
<div class="row mt-5"> | <div class="row mt-5"> | ||
<div class="col-md-8 offset-md-2">{{#Widget:filterInput|placeholder=Filter timeline entries...}}</div> | <div class="col-md-8 offset-md-2">{{#Widget:filterInput|placeholder=Filter timeline entries...|autofocus=autofocus}}</div> | ||
</div> | </div> | ||
<div class="mt-4 filterableContent"> | <div class="mt-4 filterableContent"> | ||
{{#ask: [[Category:Timeline Entries]][[ | <!-- | ||
Entries are matched by subpage title, not by a parent-page property. | |||
This query used to read [[Has parent page::{{PAGENAME}}]], which returned | |||
nothing. That property is set on 149 pages across the wiki, but every one of | |||
them belongs to Glossary; no Timeline entry carries it at all, so the | |||
condition could never match. | |||
Matching on the subpage pattern keeps this page and its entries in sync | |||
without needing the property to be maintained. Note there are two separate | |||
entry sets on this wiki, 83 under Timeline/ and 106 under | |||
Bodhicitta Timeline/, so the pattern is anchored to this page's own title. | |||
-->{{#ask: [[Category:Timeline Entries]][[~{{FULLPAGENAME}}/*]] | |||
|?TmlnAuthorDisplay | |?TmlnAuthorDisplay | ||
|?TmlnAuthorPage | |?TmlnAuthorPage | ||
| Line 35: | Line 47: | ||
|order=asc | |order=asc | ||
|valuesep=; | |valuesep=; | ||
|@deferred | |||
}} | }} | ||
</div> | </div> | ||