Difference between revisions of "MediaWiki:Common.js"

From __space Wiki
Jump to: navigation, search
(Undo revision 587 by Nic (talk))
 
(6 intermediate revisions by the same user not shown)
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", "");
 
});
 
 
//
 

Latest revision as of 10:49, 14 June 2017

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