MediaWiki:Common.js: Difference between revisions

From Before I Play
Jump to navigation Jump to search
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": ...")
(No difference)

Revision as of 17:32, 21 April 2011

/* Any JavaScript here will be loaded for all users on every page load. */

if (mwCustomEditButtons) {
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images.wikia.com/central/images/7/74/Button_comment.png",
     "speedTip": "Adds Category Tag",
     "tagOpen": "[[",
     "tagClose": "]]",
     "sampleText": "Category:Games"}
  }