Extension used in a template
Is there some way to use this extension on a template and insert a template variable into the page description:
- <metadesc content="Extract from the article {{{title}}}" />
—The preceding unsigned comment was added by an unknown user on a unknown date.
I would love to know how to do this.
--Brian of London 18:00, 30 July 2008 (UTC)
Me three! Would really be very useful.
--85.225.75.179 06:11, 24 August 2008 (UTC)
See Extension:MetaDescriptionTag#Example_using_template.2C_variable_substitution. Requires upgrading to version 0.2 of the extension, as well as installing Extension:TagParser (if you're not already running MediaWiki 1.12+).
-Jlerner 15:32, 24 August 2008 (UTC)
Thank you! It's working very well
Brian of London 20:40, 5 September 2008 (UTC)