PTVInclude

Test included Page Text Variables from another page

[[#include]]
ptv1:%green%ptv1 value

(:ptv2:%green%ptv2 value:)

ptv3:%green%ptv3 value
[[#includeend]]
----
(:include PTVInclude2#include#includeend :)

ptv1:ptv1 value

ptv3:ptv3 value


ptv1:ptv1 value 2

ptv3:ptv3 value 2


The values of the PTVs are:

ptv3:ptv3 second value

* {$:ptv1}
* {$:ptv2}
* {$:ptv3}
  • ptv1 value
  • ptv2 value
  • ptv3 second value

This shows that PTVs are not included from other pages, and that the last instance of a PTV encountered is the one used.

 0: 00.00 00.00 config start
 1: 00.01 00.00 config end
 2: 00.12 00.11 MarkupToHTML begin
 3: 00.12 00.11 MarkupToHTML begin
 4: 00.13 00.13 MarkupToHTML end
 5: 00.13 00.13 MarkupToHTML begin
 6: 00.13 00.13 MarkupToHTML end
 7: 00.14 00.13 MarkupToHTML end
 8: 00.14 00.14 MarkupToHTML begin
 9: 00.15 00.14 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
10: 00.16 00.15 ReadApprovedUrls SiteAdmin.ApprovedUrls end
11: 00.16 00.15 MarkupToHTML end
12: 00.16 00.15 MarkupToHTML begin
13: 00.17 00.16 MarkupToHTML end
14: 00.17 00.16 now
Peak memory: 3,259,224 bytes