Il y a 389 articles et 19 utilisateurs inscrits (ce bandeau est défini dans MediaWiki:Sitenotice)
« Utilisateur:Groche/common.js » : différence entre les versions
Aller à la navigation
Aller à la recherche
mAucun résumé des modifications |
mAucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
$('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
'section': 'advanced', | 'section': 'advanced', | ||
| Ligne 33 : | Ligne 19 : | ||
} | } | ||
}); | }); | ||
Version du 24 avril 2012 à 15:13
$('#wpTextbox1').wikiEditor('addToToolbar', {
'section': 'advanced',
'group': 'format',
'labelMsg': 'Ajouter une catégorie',
'tools': {
'button-id': {
'label': 'Comment visible only for editors',
'type': 'button',
'icon': 'http://mw.ajlsm.com/images/c/c4/Toolbar_category.png',
'action': {
'type': 'encapsulate',
'options': {
'pre': "[[category:",
'periMsg': "catégorie à laquelle appartient l'article",
'post': "]]"
}
}
}
}
});