Hi Scott, I am afraid that what you see there is a hodgepodge resulting from a half hour I spent yesterday cobbling together bits from the highlighters from XML, Markdown and a few other languages. It was a quick attempt whilst editing directly in the browser - as witnessed by the chaotic formatting and indentation - to see if I could wrap my head around what was needed to create a proper highlighting module for wikitext. It worked well enough for the code in the demo that I uploaded it, but it is otherwise not feature complete and probably rather brittle. As far as license goes, the original license
seems appropriate. If this is something you would like to work on, please do feel free.
The filter highlighting you see is a by-product of which characters the rules for conditional expressions are allowed to contain. Free form wikitext actually should not contain filters and as such they probably should not get syntax highlighting. The best approach for filters might be to write a separate language module or a mode, and then selectively import/allow that within other modes where appropriate.
I had a bit of a think about this yesterday and it would be very easy to highlight the different brackets and braces within filters. It would be nice to highlight all operator names in a different color by specifying them as reserved words, but that would require a list of all possible operator names, further complicated by the possibility of custom operators.
I first noticed it earlier this week. It is possible that this technique is not widely used across all of their documentation.