This is how I tried to set up my toolbar with a customized test template. However, the button appears but tells that no templates were found. Any ideas?
$wgTinyMCESettings = array( "#wpTextbox1" => array ( "toolbar" => 'undo redo | formatselect | outdent indent | bold italic underline | bullist numlist advlist | wikilink wikiunlink table | reference template wikitext' ), "TinyMCETemplates" => array( array( "title" => 'Test-Template', "description" => 'Test-Template', "content" => 'Test-Template' ), ), );
Update: Got it.
$wgTinyMCESettings = array( "#wpTextbox1" => array ( "toolbar" => 'undo redo | formatselect | outdent indent | bold italic underline | bullist numlist advlist | wikilink wikiunlink table | reference template wikitext', "tinyMCETemplates" => array( array( 'title' => 'Test-Template', 'description' => 'Test-Template', 'content' => 'Test-Template' ), ) ), );