On Sun, 06 Feb 2005 00:24:15 -0600, =James Birkholz= j.birchwood@verizon.net wrote:
I want to enclose a MW variable in extension tags and have the value passed to the extension. For example, <myExtension>{{PAGENAME}}</myExtension> to pass the name of the article to the php function hooked to "myExtension".
Is there a way to do it? As is, the text "{{PAGENAME}}" is passed. I assume that the extension handling code would have to be modified to allow variables to be parsed, instead of passing the entire contents between the extensions markup tags.
If you're writing an extension, why bother with passing the name of the page that way instead of getting it directly?