Last modified: 2013-05-22 18:38:07 UTC
Including invocation of $wgParser->parse in wfMsg*/Message, $wgOut->*WikiMsg. I really see no use case for using TOC and EDITSECTION link in messages.
Agreed, could you give an example of where you're seeing this?
NOEDITSECTION was added with/for bug 36975
*** This bug has been marked as a duplicate of bug 6411 ***