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.00 00.00 config end
 2: 00.12 00.11 MarkupToHTML begin
 3: 00.12 00.11 MarkupToHTML begin
 4: 00.13 00.12 MarkupToHTML end
 5: 00.13 00.12 MarkupToHTML begin
 6: 00.13 00.12 MarkupToHTML end
 7: 00.14 00.13 MarkupToHTML end
 8: 00.14 00.13 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,256 bytes