Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Gogoblender (talk | contribs) |
Gogoblender (talk | contribs) |
||
Line 20: | Line 20: | ||
"imageFile": "http://www.darkmatters.org/SacredWiki/images/buttons/indent.jpg", | "imageFile": "http://www.darkmatters.org/SacredWiki/images/buttons/indent.jpg", | ||
"speedTip": "Make a Sacred 2:Fallen Angel Internal Link", | "speedTip": "Make a Sacred 2:Fallen Angel Internal Link", | ||
− | "tagOpen": "{{Quest", | + | "tagOpen": "{{subst:Quest", |
"tagClose": "}}", | "tagClose": "}}", | ||
"sampleText": ""}; | "sampleText": ""}; | ||
} | } |
Revision as of 20:12, 19 October 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 a Sacred Underworld Internal Link", "tagOpen": "[[Sacred:", "tagClose": "|Type here what you want the link to be read as]]", "sampleText": "Page Name you are linking to"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://www.darkmatters.org/SacredWiki/images/buttons/S2internallink.jpg", "speedTip": "Make a Sacred 2:Fallen Angel Internal Link", "tagOpen": "[[Sacred 2:WikiPageName|", "tagClose": "]]", "sampleText": "Type here what you want the link to be read as..."}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://www.darkmatters.org/SacredWiki/images/buttons/indent.jpg", "speedTip": "Make a Sacred 2:Fallen Angel Internal Link", "tagOpen": "{{subst:Quest", "tagClose": "}}", "sampleText": ""}; }