Difference between revisions of "MediaWiki:Common.js"

From SacredWiki
Jump to navigation Jump to search
(New page: →‎Any JavaScript here will be loaded for all users on every page load.: if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://ww...)
 
Line 9: Line 9:
 
     "tagClose": "]]",
 
     "tagClose": "]]",
 
     "sampleText": "Insert comment here"}
 
     "sampleText": "Insert comment here"}
   }
+
   };
  
 
if (mwCustomEditButtons) {
 
if (mwCustomEditButtons) {

Revision as of 19:40, 11 July 2008

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

if (mwCustomEditButtons) {
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://www.darkmatters.org/SacredWiki/images/buttons/S1internallink.jpg",
     "speedTip": "Make an Underworld internal Link",
     "tagOpen": "[[Sacred:",
     "tagClose": "]]",
     "sampleText": "Insert comment here"}
  };

if (mwCustomEditButtons) {
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://www.darkmatters.org/SacredWiki/images/buttons/S2internallink.jpg",
     "speedTip": "Make an Underworld internal Link",
     "tagOpen": "[[Sacred2:",
     "tagClose": "]]",
     "sampleText": "Insert comment here"}
  }