MediaWiki:Common.js

投稿日:

← Older revision Revision as of 02:35, 7 July 2022
Line 1: Line 1:
  +
var callbacks = [];
  +
var wgTitle              = mw.config.get('wgTitle');
  +
var wgIsArticle          = mw.config.get('wgIsArticle');
  +
var wgArticlePath        = mw.config.get('wgArticlePath');
  +
var wgPageName          = mw.config.get('wgPageName');
  +
var wgUserGroups        = mw.config.get('wgUserGroups');
  +
var wgScriptPath        = mw.config.get('wgScriptPath');
  +
var wgUserName          = mw.config.get('wgUserName');
  +
var wgNamespaceNumber    = mw.config.get('wgNamespaceNumber');
  +
var wgCanonicalNamespace = mw.config.get('wgCanonicalNamespace');
  +
  +
var mwCustomEditButtons = false;
  +
  +
function addOnloadHook( callback )
  +
{
  +
  callbacks.push(callback);
  +
}
  +
  +
$( function () {
  +
  callbacks.forEach(function(f){
  +
    f();
  +
  });
  +
} );
  +
 
  /** Import module *************************************************************
 
  /** Import module *************************************************************
 
   *
 
   *
Line 706: Line 730:
 
   *  Created by: [[User:Dschwen]]
 
   *  Created by: [[User:Dschwen]]
 
   */
 
   */
 
+
/*
   
     + '&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400"></script>');
 
+
*/
 
  /** IE 6 Z-index bug workaround for anonnotice **************************
 
  /** IE 6 Z-index bug workaround for anonnotice **************************
 
   *
 
   *
Line 733: Line 757:
   
 
          
 
          
/**        document.getElementById("contentSub").innerHTML +='<div style="position:absolute; z-index:100; right:100px; top:0px;" class="metadata" id="anontip"><div style="text-align:right; font-size:87%">&nbsp;<i>' + messageEdu[whichMessageEdu] + '</i>&nbsp;</div></div>';
+
/**        document.getElementById("contentSub").innerHTML +='<div style="position:absolute; z-index:100; right:100px; top:0px;" class="metadata" id="anontip"><div style="text-align:right; font-size:87%">?&nbsp;<i>' + messageEdu[whichMessageEdu] + '</i>&nbsp;?</div></div>';
 
  */
 
  */
 
     }
 
     }

Source: 日本脂質生化学会
MediaWiki:Common.js

-日本脂質生化学会

Copyright© 医学学会ニュース , 2022 AllRights Reserved Powered by AFFINGER4.