Meta tag Indexing

Jump to: navigation, search

Lucene does not index Meta tags like the ones created by Extension:MetaKeywordsTag. This was mentioned before, but no solution was provided. Apparently, Lucene can be modified to index meta tags, but I have not been able to find documentation on how to do this for MediaWiki. Has anyone found a solution to this?

Reference: Meta Tags

Jlemley22:45, 19 January 2012

That would require modifying the Java code that parses the wikitext. Remember that this extension indexes raw wikitext. One workaround would be to just create an empty template Template:MetaTags, and then use it in articles {{MetaTags|meta1|meta2}}. Template parameters are indexed, even if they are ignored by the empty template.

Rainman09:46, 20 January 2012

This works perfectly - thanks for the workaround, Rainman!

Jlemley15:05, 20 January 2012
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox