User:Bitomic/global.js

$(function {	var api = new mw.Api;	api.get({ action: 'query', meta: 'siteinfo', siprop: 'statistics' }).done( function(data) { $('.fandom-community-header__top-container .wiki-tools.wds-button-group').prepend( '  ' + data.query.statistics.articles + ' Páginas ' ) } )	mw.hook('dev.wds').add(function(wds) { var hrefRC = mw.config.values.wgArticlePath.replace('$1', 'Special:RecentChanges'); $('.page-side-tools').append(''); $('.pst-recent-changes').append( dev.wds.icon('calendar-small') ); });	window.NoImageLightbox = { novideo: true };	window.FCButtons = [		{			label: 'Create user page',			target: 'User:Bitomic',			content: '\n',			alwaysDisplay: true,			placement: '.global-navigation .wds-dropdown__content .wds-list',			prepend: true		}	];	importArticles({ type: 'script', articles: [ 'u:dev:MediaWiki:FastCreate.js', 'u:dev:MediaWiki:ThemeToggler.js', 'u:dev:MediaWiki:WHAM/code.2.js' ]	}); });