Last modified: 2013-03-13 16:02:57 UTC
Some of the messages, such as MediaWiki:Protectedpagetext, act like templates, and their behaviour depends on the page where they are displayed (like MediaWiki:Protectedpagetext depends on namespace). Is it OK to enable "Preview page with this template" feature for MediaWiki namespace? Or provide something similar, with a message testing sandbox/framework.
It probably wouldn't work like you want for most cases. TemplateSandbox hooks into the transclusion function in the parser, and messages are handled in a different way. For messages that change if you use the "uselang" URL parameter, you can always create a "sandbox" language (e.g. MediaWiki:Protectedpagetext/sandbox) and add "uselang=sandbox" to the URL. For messages that force a language, though, you're pretty much out of luck at the moment. I'm going to mark this as "WONTFIX" since it's almost surely not going to happen in TemplateSandbox. If someone wants to write a MessageSandbox extension, don't let this "WONTFIX" stop you.