PTVInclude2

Test included Page Text Variables from another page

[[#include]]
ptv1:%blue%ptv1 value 2

(:ptv2:%blue%ptv2 value 2:)

ptv3:%blue%ptv3 value 2
[[#includeend]]
----
(:include PTVInclude#include#includeend :)

ptv1:ptv1 value 2

ptv3:ptv3 value 2


ptv1:ptv1 value

ptv3:ptv3 value


The values of the PTVs are

ptv3:ptv3 second value 2

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

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