User:Waldyrious/formatcitations.js: Difference between revisions

Content deleted Content added
code cleanup and documentation
gotta have these
Line 62:
addOnloadHook(function () {
if(document.forms.editform) {
addPortletLink('p-cactions', 'javascript:formatCitations(false)', '{{}}', 'ca-formatcitations', 'Format citations: add whitespace', '-', '');
addPortletLink('p-cactions', 'javascript:formatCitations(true)', '{{}}+', 'ca-formatcitations-vertical', 'Formats citations vertically', '-', '');
}
});