User:Aishik Rehman/common.js

////////// ★ CatMenu ★ ///////////// //©User:Yahya mw.loader.using('mediawiki.util', function {

if (mw.config.get('wgNamespaceNumber') == 14) {

var hackerbox = function($) {

var wikidata = 'https://m.wikidata.org/wiki/Special:SetSiteLink/' + mw.config.get('wgWikibaseItemId');

var wikidata2 ='https://www.wikidata.org/wiki/Special:NewItem?site=enwiki&page=' + mw.config.get('wgPageName');

$("#page-secondary-actions").append("➕") ;

$("#page-secondary-actions").append("+") ; }

}

$(document).ready(hackerbox) ;

});

/////★Cat Menu//// mw.loader.using('mediawiki.util', function {

if (mw.config.get('wgNamespaceNumber') == 0) {

var hackerbox = function($) {

var wikidata = 'https://m.wikidata.org/wiki/Special:SetSiteLink/' + mw.config.get('wgWikibaseItemId');

var wikidata2 ='https://www.wikidata.org/wiki/Special:NewItem?site=enwiki&page=' + mw.config.get('wgPageName');

var Translate = 'https://en.wikipedia.org/w/index.php?title=Special:ContentTranslation&page=' + mw.config.get('wgPageName') + '&from=en&to=bn&targettitle=' + mw.config.get('wgPageName');

$("#page-secondary-actions").append("➕") ;

$("#page-secondary-actions").append("+") ;

$("#page-secondary-actions").append("Translate") ; }

}

$(document).ready(hackerbox) ;

});

////////// ★ TempMenu ★ ///////////// // mw.loader.using('mediawiki.util', function {

if (mw.config.get('wgNamespaceNumber') == 10) {

var hackerbox = function($) {

var wikidata = 'https://m.wikidata.org/wiki/Special:SetSiteLink/' + mw.config.get('wgWikibaseItemId');

var source ='https://en.wikipedia.org/w/index.php?title=' + mw.config.get('wgPageName') + '&action=edit';

$("#page-secondary-actions").append("🆔") ;

$("#page-secondary-actions").append("✒") ; }

}

$(document).ready(hackerbox) ;

}); importScript('User:Andy_M._Wang/pageswap.js'); // Backlink: User:Andy_M._Wang/pageswap.js

scriptsToManage = { "xtools" : "//meta.wikimedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Hedonil/XTools/XTools.js", "AfC helper" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-afchelper.js", "MOSNUM dates" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Ohconfucius/script/MOSNUM dates.js", "importWatchlist" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:MusikAnimal/importWatchlist.js" }

// mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hedonil/XTools/XTools.js&action=raw&ctype=text/javascript'); // importScript('MediaWiki:Gadget-afchelper.js'); // importScript('User:Ohconfucius/script/MOSNUM dates.js'); // Backlink: User:Ohconfucius/script/MOSNUM dates.js // importScript('User:MusikAnimal/importWatchlist.js'); // Backlink: User:MusikAnimal/importWatchlist.js

importScript('User:MusikAnimal/scriptManager.js'); // Backlink: User:MusikAnimal/scriptManager.js importScript('User:Bility/statusupdate.js'); // Backlink: User:Bility/statusupdate.js importScript('User:Awesome_Aasim/CatMan.js'); // Backlink: User:Awesome_Aasim/CatMan.js