MediaWiki:Common.js

/* Scripts from Avatar Wiki and One Direction Wiki */ importArticles({	type: "script",	articles: [		"w:dev:ShowHide/code.js", /* Collapsible elements and tables */		"w:dev:PurgeButton/code.js", /* Add "purge" option to page controls */		"w:dev:Countdown/code.js", /* Countdown clock */		"w:avatar:Common.js/insertusername.js", /* User name replace for Template:USERNAME */		"w:avatar:Common.js/disablecommentsblogs.js", /* Disable blog comments on old blog posts */		"w:avatar:Common.js/disablecomments.js", /* Disable comments for specified pages at discretion */		"w:avatar:Common.js/wallgreetingbutton.js", /* Add a button to edit Message Wall Greeting */	] }); //edit buttons if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT ",   "tagClose": "", "sampleText": "Insert page"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c9/Button_strike.png", "speedTip": "Strike", "tagOpen": " ", "tagClose": " ", "sampleText": "Strike-through text"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/1/13/Button_enter.png", "speedTip": "Line break", "tagOpen": " ", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/7/74/Button_comment.png", "speedTip": "Comment visible only for editors", "tagOpen": "", "sampleText": "Insert comment here"};