_ _    _ _____  ___   __                       
 __      _(_) | _(_)___ / ( _ ) / /_   ___ ___  _ __ ___  
 \ \ /\ / / | |/ / | |_ \ / _ \| '_ \ / __/ _ \| '_ ` _ \ 
  \ V  V /| |   <| |___) | (_) | (_) | (_| (_) | | | | | |
   \_/\_/ |_|_|\_\_|____/ \___/ \___(_)___\___/|_| |_| |_|

User:DannyS712/Edit notice.js

In this article, we are going to talk about User:DannyS712/Edit notice.js, a topic that has gained great relevance in recent years. User:DannyS712/Edit notice.js is a topic that is constantly evolving and covers various areas of interest, from science and technology to politics and society. Over the years, User:DannyS712/Edit notice.js has captured the attention of experts, academics and the general public, generating debates, research and new perspectives. In this sense, it is important to analyze in depth the importance and repercussions that User:DannyS712/Edit notice.js has on our daily lives, as well as its influence on today's world. Likewise, it is essential to reflect on the future of User:DannyS712/Edit notice.js and how it could impact our environment in the coming years.
// Install with:
// <code><nowiki>		{{subst:Iusc|User:DannyS712/Edit notice.js}}																		</nowiki></code>
// or with
// <code><nowiki>		importScript( 'User:DannyS712/Edit notice.js' ); // Backlink: ] 					</nowiki></code> 
//
// If forking this script, please note my contributions / give me credit
mw.loader.using( 'mediawiki.util' ).done( function() {
	if (mw.config.get('wgNamespaceNumber') != -1) {
		var page = 'Template:Editnotices/Page/' + mw.config.get('wgPageName');
		mw.util.addPortletLink ( 'p-views', 'https://en.wikipedia.org/w/index.php?title=' + page + '&redirect=no', 'Edit notice', 'ca-pageEditNotice', 'View edit notice');
		var get_EN = {
			action: 'query',
			prop: 'revisions',
			rvprop: 'ids',
			titles: page,
			format: 'json'
		};
		$.get( mw.config.get( 'wgScriptPath' ) + '/api.php', get_EN, function( data ) {
			// console.log( data );
			if (data && data.query && data.query.pages && data.query.pages){
				$('#ca-pageEditNotice').addClass('new');
			}
		} );
	}
});