Extract string WILDCARD_PATTERN_HTML_ELEMENT
Extract string WILDCARD_PATTERN_WIKI_ELEMENT
Refactor to use convenience methods
Refactor, eliminate duplicated code.
Remove dead code
Change scope to protected (easier to unit test)