[Mediawiki-l] Hiding "subst:" syntax inside a template possible?

nakohdo Frank.Ralf at gmx.net
Fri Jan 21 16:34:28 UTC 2011

Add the following JavaScript to your wiki's MediaWiki:Common.js (or another
JS file):

if (mwCustomEditButtons) {
 mwCustomEditButtons[mwCustomEditButtons.length] = {
     "speedTip": "Substitution",
     "tagOpen": "{{subst:",
     "tagClose": "}}",
     "sampleText": 'Template to be substituted'};

(For production use please change the imageFile URL to one on your own

View this message in context: http://old.nabble.com/Hiding-%22subst%3A%22-syntax-inside-a-template-possible--tp30711149p30730341.html
Sent from the WikiMedia General mailing list archive at Nabble.com.

More information about the MediaWiki-l mailing list