Derrick Farnell wrote :
I've now discovered that when the
'sampleText' to be inserted via the custom
button is changed from the example text given below to the following lines:
:*see also: {{hide|
::*link 1
::*link 2}}
then the button no longer shows. I assume this has something to do with the
symbols used. Is there any way around this? I've changed the text back to
normal text:
http://www.chainsofreason.org/wiki/MediaWiki:Common.js (see
right at the bottom) - and it works again.
Did you forget to use "" ?
"sampleText":
":*see also: {{hide|\n" +
"::*link 1\n" +
"::*link 2}}"
works for me, it inserts
:*see also: {{hide|
::*link 1
::*link 2
in my text
(BTW
http://www.chainsofreason.org/w/images/extra_buttons/link_button.png returns a
"404 not found" error, so your image seems not to be there anymore)