PrayTimes.org

MediaWiki:Common.js

From Pray Times

(Difference between revisions)
(New page: - Any JavaScript here will be loaded for all users on every page load.: if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://ima...)
m
 
(One intermediate revision not shown)
Line 4: Line 4:
   mwCustomEditButtons[mwCustomEditButtons.length] = {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
-
     "imageFile": "http://images.wikia.com/central/images/c/c9/Button_strike.png",
+
     "imageFile": "http://praytimes.org/w/skins/common/images/button_code.png",
     "speedTip": "Code",
     "speedTip": "Code",
     "tagOpen": "<code>",
     "tagOpen": "<code>",
     "tagClose": "</code>",
     "tagClose": "</code>",
     "sampleText": "code"};
     "sampleText": "code"};
 +
 +
  mwCustomEditButtons[mwCustomEditButtons.length] = {
 +
    "imageFile": "http://praytimes.org/w/skins/common/images/button_quote.png",
 +
    "speedTip": "Blockquote",
 +
    "tagOpen": "<blockquote>",
 +
    "tagClose": "</blockquote>",
 +
    "sampleText": "Quote"};
}
}

Latest revision as of 06:29, 18 August 2010

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

if (mwCustomEditButtons) {

   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://praytimes.org/w/skins/common/images/button_code.png",
     "speedTip": "Code",
     "tagOpen": "<code>",
     "tagClose": "</code>",
     "sampleText": "code"};

   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://praytimes.org/w/skins/common/images/button_quote.png",
     "speedTip": "Blockquote",
     "tagOpen": "<blockquote>",
     "tagClose": "</blockquote>",
     "sampleText": "Quote"};
}
Personal tools