In reply to this post:

fortunately page authors can write such a variant themselves, and you can do it in a single tree walk. unfortunately you have to do it yourself, and it requires a lot of bookkeeping.