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 emufarmers@gmail.com 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 MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l