MediaWiki:Gadget-calculatorNS.js: Difference between revisions

no edit summary
(Created page with "→‎* * Adds a link to the main calculators directory to every calculator namespace page * in the same place as other subpage links (creates the element if required) * * @author Gaz Lloyd: $(function () { if (mw.config.get('wgNamespaceNumber') !== 116) { return; } function init() { // duplication prevention if ($('#contentSub #mw-content-subtitle .subpages .calculatorDirectoryLink').length) return; var link = $('<a>') .attr({ href: mw.util.g...")
 
No edit summary
Tag: Reverted
Line 15:
var link = $('<a>')
.attr({
href: mw.mw.util.getUrl('Calculators'),
title: 'Calculator directory',
})