Community
Participate
Working Groups
Build Identifier: 1.4.0.I20100805-0500-e3x When an implementation of org.eclipse.mylyn.wikitext.mediawiki.core.TemplateResolver is called to resolve a template, the template name is lowercased before passed to resolveTemplate method. When the original case of the template is lost, this causes problems with e.g. 1. Magic words [1] cannot be detected, as they are case-sensitive 2. Templates with camel-case names cannot be correctly processed. E.g. When the template name is SeeAlso, if one tries to resolve it with org.eclipse.mylyn.internal.wikitext.mediawiki.core.WikiTemplateResolver, wiki server is queried with "seealso" which in turn is normalized to "Seealso", and will result in page not found. Thus TemplateResolver#resolveTemplate method should receive the template name with the original case. The template resolver can then lowercase the template name internally for map lookup if needed. [1] http://www.mediawiki.org/wiki/Help:Magic_words Reproducible: Always
I've committed a fix to CVS. Please git it a try and verify that it works as expected.
Created attachment 177962 [details] mylyn/context/zip
Fixed. Please reopen this bug if needed