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

User:DannyS712 test/shortdesc.js

In today's article, we are going to delve into the fascinating world of User:DannyS712 test/shortdesc.js. Whatever your interest or concern, we are sure that you will find relevant and useful information that will help you better understand this topic. From its origins to its evolution today, we will dive into key aspects that will allow you to gain a deeper knowledge about User:DannyS712 test/shortdesc.js. Regardless of whether you are an expert in the field or if you are just beginning to explore this topic, this article aims to provide a comprehensive and enriching vision that allows you to broaden your horizons and enrich your perspective on User:DannyS712 test/shortdesc.js. Get ready to embark on a journey of discovery and learning that will pleasantly surprise you!
if ( mw.config.get( 'wgNamespaceNumber' ) === 0 && mw.config.get( 'wgAction' ) === 'view' ) {
	mw.loader.using( 'mediawiki.api' ).then( function () {
		// Adds a page description just below the "page title"
		// Behaves a lot like the mobile version
		var wgQid = mw.config.get( 'wgWikibaseItemId' ),
			api = new mw.Api(),
			callPromise = api.get( {
				action: 'query',
				titles: mw.config.get( 'wgTitle' ),
				prop: 'description',
				formatversion: 2
			} ),
			isEditor = mw.config.get( 'wgUserGroups' ).indexOf( 'autoconfirmed' ) !== -1;

		$.when( callPromise, $.ready ).then( function ( results ) {
			var pageDescription, $description,
				response = results;
			if (
				response.query &&
				response.query.pages &&
				response.query.pages.description
			) {
				pageDescription = response.query.pages.description;
				$description = $( '<span>' )
					.addClass( 'mw-page-description' )
					.text( pageDescription );
				if ( response.query.pages.descriptionsource !== 'local' && isEditor ) {
					$description.append(
						' (',
						$( '<a>' )
							.attr( 'href', 'https://www.wikidata.orghttps://wiki386.com/en/Special:SetLabelDescriptionAliases/' + wgQid + '/' + mw.config.get( 'wgContentLanguage' ) )
							.css( 'color', 'darkorange' )
							.text( 'Wikidata' ),
						')'
					);
				}
				$description.append( '. ' );
			} else if ( isEditor ) {
				$description = $( '<span>' )
					.css( 'color', 'red' )
					.append(
						'Missing ',
						$( '<a>' )
							.attr( 'href', 'https://wiki386.com/en/Template:Short_description' )
							.text( 'page description' ),
						'. '
					);
			}
			if ( $description ) {
				$( '#contentSub' ).prepend( $description );
			}
		} );
	} );
}