Last modified: 2011-08-01 15:14:16 UTC
Adding "Suppress automatic operation" (or something similar) button to let users edit without automatic substitution of wiki-text
There are only a few automatic substitutions. (I was just playing with this bit of the parser, so I'll list them:) * Signatures * "Pipe trick" links ([[Foo (disambiguation)|]] is changed to [[Foo (disambiguation)|Foo]]) * Templates, parser functions, and variables that have the {{subst:}} keyword * Windows style newlines to unix style newlines Are you suggesting that it be possible to bypass these transforms when saving, are you referring to some other automatic substitution (regular templates? wikitext?) Does <nowiki> do what you want? (General/Unknown -> Parser, maybe?)
No, that's not I want. For example Template:3~, Template:4~, Template:5~ on Wikipedia has <noinclude></noinclude> between tildes to suppress automatic substitution, but I want to remove it. <nowiki>~~~~</nowiki> is useless because it, when substituted, render as ~~~~, not the signature.
Sounds like the only example you have, there's already a perfectly good way to do it. This is a rather esoteric test case where you want the ability to override the pre-save transform for a template but not when the template is substituted. If you need to have a template perform a pre-save transform when it is substituted in, either pass the input as a parameter or use noinclude tags to break it up. If you want to display the input to a pre-save transform without it being replaces, use nowiki tags. These will both inhibit the transform, one will inhibit it even after substitution, and one will cause it to be parsed on substitution. Closing worksforme.