How does CirrusSearch handle cross-namespace transclusions like the one used on Wikisource?
If Mediawiki puts it on the page it we include it. Except things like the table of contents, the [edit] links, and the innards of <video> tags. Otherwise, it is all searchable and highlighted int he search results. We hook into Mediawiki at a really low level so we get things like transcluded categories as well.