2 ms·
Wikipedia's template language was not intended to be Turing-complete. Then, through some hideous contortions of the syntax, someone managed to construct an "if
by davidgerard 11y ago
Wikipedia's template language was not intended to be Turing-complete.
Then, through some hideous contortions of the syntax, someone managed to construct an "if" statement.
This caused so much CPU load they implemented it as a function.
And then it evolved into a horrifying accidental DSL, ParserFunctions.
They're now trying to rewrite all those clever templates in Lua, having given up avoiding Turing-completeness ...
The curse of Turing-completeness is: if you have it, you will soon have to use it.