/* Zusammenstellung von Smileys (])
durch ]
für ]
<nowiki> */
// , {{Smiley|}} wird automatisch dem "tagCode" als Parameter zugefügt
var SMList = ;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
SMList=;
wikieditor.addSection_fn = function (name) {
if (typeof name == 'undefined') name = 'Emoticons';
wikieditor.addMySection(name, true);
for (var i = 0; i < SMList.length; i++) { var s = SMList;
wikieditor.addMyButton(name, '//upload.wikimedia.org/wikipedia/' + s, s, '{{subst:S|' + s + '}}', '', '');
}
};
wikieditor.addGroup_fn = function (wo, name) {
if (typeof name == 'undefined') name = 'Smileys';
if (name.charAt(0) == '#') name = 'Smileys' + name;
wikieditor.addMyGroup(wo, name.replace(/#.*$/, ''));
var pos = name.indexOf('#');
var liste = ;
if (pos > -1) {
liste = name.substr(pos + 1).split(',');
name = name.substr(0, pos);
}
for (var i = 0; i < liste.length; i++) { var s = SMList];
wikieditor.addMyButton(wo + '/' + name, '//upload.wikimedia.org/wikipedia/' + s, s, '{{subst:S|' + s + '}}', '', '');
}
};
//</nowiki>