Page MenuHomePhabricator

Force a magic word to apply to the included page
Closed, InvalidPublic

Description

Author: ikeb

Description:
Some magic words reveal information about specific pages e.g. {{PAGENAME}},
{{REVISIONID}}, {{REVISIONMONTH}}, {{REVISIONDAY}}, {{REVISIONYEAR}}. There
doesn't seem to be a way of having such parameters be applied against included
pages. Most flexible would be a mechanism allowing a template applied to a
target page reveal such details *when the page referencing such a template is
itself included in another page* perhaps through several template transclusions.

One application would be for outputting a digest of a number of articles on one
aggregated page of included pages. The idea would be to to allow included file
info at the aggregated page.

Perhaps some sort of parser function?


Version: unspecified
Severity: enhancement
URL: http://wiki.castlecops.com/User:Ikeb

Details

Reference
bz8982

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:33 PM
bzimport set Reference to bz8982.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to Ike Bottema from comment #0)

One application would be for outputting a digest of a number of articles on
one aggregated page of included pages. The idea would be to to allow included
file info at the aggregated page.

Ike: Could you elaborate what your intention is? What would including file info at the aggregated page help with?

I can't make sense of what's being asked for here, and this is 7 years old. Closing.

Note that you can use {{REVISIONMONTH}}, etc. on other pages by doing {{REVISIONMONTH:Whatever page name}}.