Difference between revisions of "MediaWiki:Common.js"

From __space Wiki
Jump to: navigation, search
Line 1: Line 1:
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
addOnloadHook(function() {
 
    var editTab = document.getElementById("ca-edit");
 
    if (!editTab) return;
 
    var editURL = editTab.getElementsByTagName("a")[0].href;
 
    addPortletLink("p-cactions", editURL + "&externaledit=true", "EE", "ca-exted", "External editor", "");
 
});
 
 
//
 

Revision as of 10:24, 14 June 2017

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