User:Docu/common.js

if (mw.config.get('wgNamespaceNumber') === 14) { jQuery(document).ready(function {   'use strict';    mw.util.addPortletLink('p-cactions', 'http://toolserver.org/~magnus/catscan_rewrite.php?language=en&project=wikipedia&categories=' + encodeURIComponent( mw.config.get('wgTitle').split(" ").join("_") ) + '&show_topcats=1&show_topcats_only=1&doit=1', 'CatScan2 (parents)', 'ca-catscan4');   mw.util.addPortletLink('p-cactions', 'http://toolserver.org/~magnus/catscan_rewrite.php?language=en&project=wikipedia&categories=' + encodeURIComponent( mw.config.get('wgTitle').split(" ").join("_") ) + '&doit=1', 'CatScan2', 'ca-catscan5'); }); }