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.01 config end
 2: 00.21 00.20 MarkupToHTML begin
 3: 00.21 00.20 MarkupToHTML begin
 4: 00.21 00.21 MarkupToHTML end
 5: 00.21 00.21 MarkupToHTML begin
 6: 00.22 00.21 MarkupToHTML end
 7: 00.22 00.22 MarkupToHTML end
 8: 00.23 00.22 MarkupToHTML begin
 9: 00.23 00.23 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
10: 00.24 00.23 ReadApprovedUrls SiteAdmin.ApprovedUrls end
11: 00.24 00.24 MarkupToHTML end
12: 00.24 00.24 MarkupToHTML begin
13: 00.25 00.24 MarkupToHTML end
14: 00.25 00.24 now
Peak memory: 3,722,752 bytes