User:JJPMaster/cabal.js

// This script does not exist, for there is no cabal. // For members of the cabal, there is one.

$(document).ready(teahouseMenu); $.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function { mw.util.addPortletLink( 'p-cactions', mw.util.getUrl('#'), 'Cabal', 'Okay, we admit it, there is a cabal. Now click here to access it.', null, '#pt-preferences' ); }); function thereisnocabal { if (mw.config.get('wgNamespaceNumber') < 0 || !mw.config.get('wgArticleId')) { return; } }