[1] Instead of reading from an external file, think in
having it as a
message.
Good idea; I'll look into that.
[2] Your extension will have holes. You won't be
able to prevent doing
{{subst:Approved}} to a page, if you hook before substing, they can and
will still copy & paste the template content.
I'm aware of that - that's why this is not intended to be a competitor
or substitute for the existing, more complex approaches.
However, for small wikis like ours, it would most likely work just fine.
The substitution is mainly helping regular users (rather than "editors")
in that they don't have to manually edit the template call when they
edit "approved" pages.
Also, we hardly experience any vandalism on this particular wiki.
And even if some malicious person figured out how to circumvent this, it
would still reduce the overall effort for the "editors".
-- F.