MediaWiki:Common.js/exchangeintro.js

// ============================================================ // EDIT-INTRO FIX for Exchange articles // // This script is modified from English Wikipedia // Source: http://en.wikipedia.org/wiki/User:RockMFR/disambigeditintro.js // Function: Adds EditIntro to all Exchange pages //          when "edit this page" link is clicked // ============================================================

$(document).ready(function {	if (wgCanonicalNamespace == "Exchange") {		$editLinks = $('a#ca-edit,#ca-edit a');		$editLinks.attr('href', $editLinks.attr('href') + '&editintro=Template:GEMWHelp');	} });

// ============================================================ // End of EDIT-INTRO FIX // ============================================================