Hi Benjamin, Thanks so much for the quick reply.
Indeed, you are right that there is no trouble embedding magic words as you said. I hadn't realized, but the problem is actually that I have the magic word within a template. So when I use it, it references the PAGENAME of that template, rather than the page that the template is being transcluded on. Is there a way so that the PAGENAME can refer to the final page it's being transcluded on rather than just the template? Thanks again and apologies for misspecifying my problem. -Dana On Sat, Jan 21, 2012 at 11:44 PM, Benjamin Lees <[email protected]> wrote: > {{filepath}} isn't a string function: it's built in like {{PAGENAME}}. > > Anyway, {{PAGENAME}} includes a file page's extension, so you just > want {{filepath:{{PAGENAME}}}}. > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
