Daniel Friesen wrote:
An interesting idea just popped into my head, as a combination of my explorations through the dom preprocessor and my attempt at deferring editsection replacement till after parsing is done so that skins can modify the markup used in an editsection link in a skin-specific way without breaking things, and so that we can stop fragmenting the parser cache by user language just for edit section links. A postprocessor.
You're approaching the dark side, Luke. :)
And we can try to start deferring minimal processing cost things which fragment the parser cache if they aren't needed. Ideally in the future if something like {{int:asdf}} isn't used in a [[]] or in a parser function and is just a base level bit of display isolated from the rest of the WikiText we might be able to output it in a way that we don't have to fragment the cache by user lang but can still output the message in the user's lang by deferring it.
{{int: }} inside links corrupting tables is solved in 1.17. {{int:}} inside a non-taken branch is fixed, too.
I have been thinking for some time on adding a postprocessing step for stub links, though.