What you want to do is extending the Parser. You should take a look there.
Bryan
On 2/25/07, roman.spitzbart@liwest.at roman.spitzbart@liwest.at wrote:
Hi,
I try to write an extension for Mediawiki that allows users to influence the keywords that are added as meta tags to the HTML code:
<meta name="keywords" content="Find out which table relates to a SYS LOB Segment" />
I already figured out that these tags are written OutputPage.php and are generated by the addKeywords function. I have found the 'OutputPageParserOutput' hook, that allows me to add more keywords (unfortunately it does not allow any access to the existing keywords to remove them). What I'm not sure if how to get the keywords the user entered into the function. What I thought of was a special tag that users can use to specific keywords that override the generated keywords...
Any ideas or hints where I should start looking? Roman
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l