On Tue, Jan 25, 2011 at 8:14 AM, Alex Brollo alex.brollo@gmail.com wrote:
If this would happen, I imagine that the original page could be considered an "object", t.i. a collection of "attributes" (fragments of text) and "methods" (template chunks).
Labeled Section Transclusion can be used this way, but it's not very efficient for this. Internally it uses generated regular expressions to extract sections; you can peek at its source code at http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/LabeledSectionTransclusion/lst.php?view=markup.
-- Yours cordially, Jesse (Pathoschild)