Anonymous

RECOUP/site/MediaWiki/Common.js: Difference between revisions

From OER in Education
m
Added javascript to produce extra buttons.
mNo edit summary
m (Added javascript to produce extra buttons.)
Line 14: Line 14:
}
}


addInsertButton("/resources/strike.png", "strike out", "<s>","</s>","strike out");
addInsertButton("/resources/strike.png", "strike through", "<s>","</s>","strike through");
addInsertButton("/resources/underline.png", "underline", "<u>","</u>","underline");
addInsertButton("/resources/underline.png", "underline", "<u>","</u>","underline");
addInsertButton("/resources/box.png", "box", "{"+"{box\n|text=","\n}}","box");
addInsertButton("/resources/box.png", "box", "{"+"{box\n|text=","\n}}","box");
addInsertButton("/resources/comment.png", "comment", "{"+"{comment\n|text=","\n}}","comment");
addInsertButton("/resources/comment.png", "comment", "{"+"{comment\n|text=","\n}}","comment");
<noinclude>{{RECOUP_footer|MediaWiki:Common.js}}</noinclude><noinclude>[[Category:RECOUP]]</noinclude>
<noinclude>{{RECOUP_footer|MediaWiki:Common.js}}</noinclude><noinclude>[[Category:RECOUP]]</noinclude>